aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2017-08-10 13:33:27 +0900
committerJiyong Park <jiyong@google.com>2017-08-10 13:41:53 +0900
commit1e7495d973f8fb846d82025be11853031ab1057b (patch)
treed37520237491526f9d03b2c2e73ba30bf1267741 /scripts
parent88e6f14a6bcc1e755809b07d0a919443fb32a41c (diff)
downloadbuild_soong-1e7495d973f8fb846d82025be11853031ab1057b.tar.gz
build_soong-1e7495d973f8fb846d82025be11853031ab1057b.tar.bz2
build_soong-1e7495d973f8fb846d82025be11853031ab1057b.zip
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 Change-Id: Ib484b5b12e14ab776276a30ed2763dffadc9d642
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions