diff options
| author | 2017-08-10 13:33:27 +0900 | |
|---|---|---|
| committer | 2017-08-14 11:46:42 +0900 | |
| commit | a622de84986c00a61717e43e4572b53490b35768 (patch) | |
| tree | 94471fe68c9a60933bd1ccb54bcca2185e3c2806 /java/java_test.go | |
| parent | 7447228e647842a96b3d96a92017619252d8b198 (diff) | |
cflags for vendor variants
cflags that are only applied when building the vendor variant of a lib
is now supported. This will be particularily useful when existing macro
should be turned off for the vendor variant:
cflags: ["-DENABLE_FEATURE_X"],
target: {
vendor: {
cflags: ["-UENABLE_FEATURE_X"],
},
},
Without this, the library author has to undef the macro inside the
source code using __ANDROID_VNDK__, which is not desired especially for
external projects.
Bug: 64514237
Test: BOARD_VNDK_VERSION=current m -j libsqlite libsqlite.vendor
Merged-In: Ib484b5b12e14ab776276a30ed2763dffadc9d642
Change-Id: Ib484b5b12e14ab776276a30ed2763dffadc9d642
(cherry picked from commit 1e7495d973f8fb846d82025be11853031ab1057b)
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions