platform_build_soong/cc
Justin Yun 98df0d1c63 Enable vndk-ext for product variants
To build vndk-ext for product variants use `vndk.extends` property
with `product_specific: true` as for the vndk-ext for vendor
variants. For example:
cc_library {
    name: "libvndk_ext_product",
    product_specific: true,
    vndk: {
        enabled: true,
        extends: "libvndk",
    },
}

It will install the vndk-ext libs for product variants in
product/lib[64]/vndk/

Test: m nothing
Bug: 147778025
Change-Id: If1ee5be93c579abad302f44f18e6316f27e70019
Merged-In: If1ee5be93c579abad302f44f18e6316f27e70019
(cherry picked from commit 0ecf0b223f)
2020-03-04 04:37:02 +00:00
..
config Add -z separate-code to default ARM64 device flags 2020-03-03 14:39:35 -05:00
libbuildversion Add dist support to Soong 2018-11-19 15:26:14 -08:00
androidmk.go Merge "Do not hide VNDK prebuilts from make" 2020-02-20 00:02:40 +00:00
binary.go Add support for cc_binary in module_exports 2020-02-18 16:17:35 +00:00
binary_sdk_member.go Add support for cc_binary in module_exports 2020-02-18 16:17:35 +00:00
builder.go Do not add ccWrapper to ccNoDeps rule 2020-02-18 08:00:17 -08:00
cc.go Enable vndk-ext for product variants 2020-03-04 04:37:02 +00:00
cc_test.go Enable vndk-ext for product variants 2020-03-04 04:37:02 +00:00
ccdeps.go Fix writing module_bp_cc_deps.json 2020-01-31 18:12:41 +00:00
cflag_artifacts.go Simple refactoring of prefix related functions. 2020-02-14 14:33:49 -08:00
check.go Forbid -Weverything 2019-11-12 15:55:03 -08:00
cmakelists.go Sandbox soong_build by changing to root directory 2020-01-11 01:11:46 +00:00
compdb.go Sandbox soong_build by changing to root directory 2020-01-11 01:11:46 +00:00
compiler.go Simple refactoring of prefix related functions. 2020-02-14 14:33:49 -08:00
compiler_test.go Expand ClangExtraExternalCflags to non-Google vendor projects 2019-11-11 13:24:39 -08:00
coverage.go Merge "Add coverage flags for Clang coverage builds." 2020-01-22 22:34:35 +00:00
fuzz.go Add ramdisk image. 2020-01-22 16:54:18 -08:00
gen.go Fix header deps of sysprop_library 2020-02-19 15:30:02 +09:00
gen_stub_libs.py Rename # vndk tag to # llndk 2019-11-13 05:50:27 +00:00
gen_test.go Use empty string for core image variant 2019-12-13 20:44:36 -08:00
genrule.go Add ramdisk image. 2020-01-22 16:54:18 -08:00
genrule_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
installer.go Create product variant for product partition 2019-12-20 17:56:08 +09:00
kernel_headers.go Change exportedDirs and exportedSystemDirs from []string to android.Paths 2019-10-25 09:52:08 +09:00
library.go Simple refactoring of prefix related functions. 2020-02-14 14:33:49 -08:00
library_sdk_member.go Ensure consistent handling of generated headers/dirs 2020-02-20 21:52:02 +00:00
library_test.go Use empty string for core image variant 2019-12-13 20:44:36 -08:00
linkable.go <apex_name>-deps-info correctly tracks dependencies 2020-02-07 18:53:12 +09:00
linker.go Merge "Add static_libs field to target.vendor" 2020-02-21 03:57:05 +00:00
llndk_library.go Create product variant for product partition 2019-12-20 17:56:08 +09:00
lto.go Split local and global cflags 2019-11-07 15:27:58 -08:00
makevars.go Exclude dirs from binder interface whitelisting 2019-12-04 09:10:21 -08:00
ndk_headers.go Sandbox soong_build by changing to root directory 2020-01-11 01:11:46 +00:00
ndk_library.go Revert "Revert "soong: upgrade Android platform to clang-r370808"" 2019-12-13 13:13:06 -08:00
ndk_prebuilt.go Expose some factories for aidl_test.go 2019-12-09 18:21:48 +09:00
ndk_sysroot.go Expose some factories for aidl_test.go 2019-12-09 18:21:48 +09:00
object.go Split local and global cflags 2019-11-07 15:27:58 -08:00
object_test.go Allow linker scripts when building objects. 2019-08-22 13:21:37 -07:00
pgo.go Disable PGO profile use in Clang-based coverage builds 2020-02-12 15:12:07 -08:00
prebuilt.go Dedup cc prebuilts module type registration 2019-12-19 19:19:40 +00:00
prebuilt_test.go Improve cc tests by adding sanitizer mutators 2019-12-19 19:19:40 +00:00
proto.go Split local and global cflags 2019-11-07 15:27:58 -08:00
proto_test.go Use empty string for core image variant 2019-12-13 20:44:36 -08:00
pylintrc
rs.go Move/dedupe some host path functions in package_ctx.go. 2019-12-09 22:04:21 +00:00
sabi.go Revert "Also package recursive jni_libs deps of android_apps as well as direct deps." 2019-12-18 00:15:07 +00:00
sanitize.go Allow Linux hosts to use ubsan runtime sanitizers. 2020-02-20 20:27:35 +00:00
snapshot_utils.go Add vendor snapshot modules 2020-02-07 02:59:24 +09:00
stl.go Statically link the unwinder into binaries packaged into an unbundled APEX with legacy_android10_support: true. 2020-02-13 22:29:44 -08:00
strip.go Remove use_gnu_strip option 2019-09-13 12:18:47 -07:00
sysprop.go Implement sysprop_library API stability check 2019-08-23 06:28:34 +00:00
test.go Split local and global cflags 2019-11-07 15:27:58 -08:00
test_data_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
test_gen_stub_libs.py Rename # vndk tag to # llndk 2019-11-13 05:50:27 +00:00
testing.go Make apex use cc.GatherRequiredDepsForTests 2020-02-19 19:07:11 -08:00
tidy.go Add support for clang-tidy -warnings-as-errors in Android.bp files 2019-03-26 20:47:08 +00:00
toolchain_library.go Repack libgcc.a to only include required objects 2019-10-24 16:34:54 -07:00
util.go Reorder local and global flags 2019-11-07 15:27:58 -08:00
vendor_public_library.go Split local and global cflags 2019-11-07 15:27:58 -08:00
vendor_snapshot.go Fix .vendor suffix for snapshots 2020-02-19 13:49:44 +09:00
vndk.go Implement vendor snapshot 2020-02-07 02:58:29 +09:00
vndk_prebuilt.go Do not hide VNDK prebuilts from make 2020-02-17 19:01:13 +09:00