Closed rsmckinney closed 3 years ago
Add an SPI to provide symbols to the preprocessor dynamically e.g., to support android build variant/flavors.
The SPI will look something like this:
public interface SymbolProvider { boolean isDefined(IFile sourceFileContext, String symbol); String getValue(IFile sourceFileContext, String symbol); }
This interface generalizes symbol lookup so that it can be done dynamically, as opposed to providing a Map.
Feature available with release 2021.1.33. See docs for manifold-preprocessor-android-syms, also see additional docs for manifold-preprocessor.
Add an SPI to provide symbols to the preprocessor dynamically e.g., to support android build variant/flavors.
The SPI will look something like this:
This interface generalizes symbol lookup so that it can be done dynamically, as opposed to providing a Map.