platform_build_soong/cc
Jiyong Park a622de8498 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 1e7495d973)
2017-08-14 11:46:42 +09:00
..
config List of VNDK-related libs are exported to make 2017-08-10 14:15:39 +09:00
androidmk.go Allow AndroidMkData.Custom handlers to extend normal values 2017-08-11 15:24:11 -07:00
binary.go Refactor factories 2017-06-30 21:08:36 +00:00
builder.go Add header-abi-linker dependency on so file. 2017-06-27 11:19:10 -07:00
cc.go List of VNDK-related libs are exported to make 2017-08-10 14:15:39 +09:00
cc_test.go Dedup exported flags from dependencies 2017-05-17 14:22:22 -07:00
check.go Ban --coverage now that we have native coverage 2017-02-14 13:05:48 -08:00
cmakelists.go Run gofmt 2017-05-09 13:44:49 -07:00
compiler.go cflags for vendor variants 2017-08-14 11:46:42 +09:00
coverage.go Refactor factories 2017-06-30 21:08:36 +00:00
gen.go Prettify soong ninja build descriptions 2017-05-10 11:04:16 -07:00
gen_stub_libs.py Add support for weak symbols in the NDK stubs. 2017-07-28 11:00:22 -07:00
installer.go Install VNDK libs in /system instead of /vendor 2017-07-18 14:48:29 +09:00
kernel_headers.go Fix kernel_headers module registration 2017-07-10 12:30:35 -07:00
library.go List of VNDK-related libs are exported to make 2017-08-10 14:15:39 +09:00
linker.go a shared lib header is not exported to vendors if it is in exclude_shared_libs 2017-08-14 11:40:54 +09:00
llndk_library.go Add to cflags in compilerFlags() 2017-07-19 11:53:54 -07:00
makevars.go List of VNDK-related libs are exported to make 2017-08-10 14:15:39 +09:00
ndk_headers.go Refactor factories 2017-06-30 21:08:36 +00:00
ndk_library.go Adapt to PLATFORM_VERSION_FUTURE_CODENAMES. 2017-08-02 17:14:10 -07:00
ndk_prebuilt.go Refactor factories 2017-06-30 21:08:36 +00:00
ndk_sysroot.go Prettify soong ninja build descriptions 2017-05-10 11:04:16 -07:00
object.go Refactor factories 2017-06-30 21:08:36 +00:00
prebuilt.go Rename java_prebuilt_library to java_import 2017-08-11 15:24:11 -07:00
proto.go Prettify soong ninja build descriptions 2017-05-10 11:04:16 -07:00
pylintrc Don't warn for TODOish comments. 2016-08-01 14:36:22 -07:00
relocation_packer.go Prettify soong ninja build descriptions 2017-05-10 11:04:16 -07:00
rs.go Prettify soong ninja build descriptions 2017-05-10 11:04:16 -07:00
sabi.go List of VNDK-related libs are exported to make 2017-08-10 14:15:39 +09:00
sanitize.go Remove error from AndroidMkData.Extra 2017-08-11 15:24:11 -07:00
stl.go Allow arch-specific stl selection 2017-07-20 16:59:26 -07:00
strip.go Separate cc.go 2016-07-29 15:17:58 -07:00
test.go Add support for data field in cc_benchmark. 2017-07-17 14:42:58 -07:00
test_data_test.go Add integration testing infrastructure 2017-07-14 14:19:51 -07:00
test_gen_stub_libs.py Add support for weak symbols in the NDK stubs. 2017-07-28 11:00:22 -07:00
tidy.go soong: add __clang_analyzer__ to clang-tidy 2017-05-04 01:19:02 +00:00
toolchain_library.go Refactor factories 2017-06-30 21:08:36 +00:00
util.go List of VNDK-related libs are exported to make 2017-08-10 14:15:39 +09:00
vndk.go List of VNDK-related libs are exported to make 2017-08-10 14:15:39 +09:00