platform_build_soong/cc
Jooyung Han 91f9203af4 VNDK libs use "unique" APEX variants
In case there are two vendor apexes(one with "use_vndk_as_stable:true",
and the other with "use_vndk_as_stable:false") a VNDK lib used by both
will have "APEX" variant and the former APEX will use "apex" variation.

For example,

 apex1(use_vndk_as_stable) -> foo -> libvndk
 apex2 -> bar -> libvndk

Since foo, bar and libvndk are mutated into two APEX variations("",
"apex10000"), foo will use the apex variation of libvndk.

To fix this, VNDK libs can use "unique" APEX variations. Then, in the
above example, foo will have "myapex1" variation and libvndk will have
two APEX variations("" and "apex2"). So foo will link to ""(non-APEX)
variation as fallback.

Bug: 216847402
Test: m nothing (soong tests)
Change-Id: I116932860ef79e22dc338a58b251e3ca693ab4f3
2022-02-04 13:07:14 +09:00
..
config Merge "Reland "Make DWARF v5 the default debug information format."" 2022-01-22 03:32:43 +00:00
libbuildversion Add vendor_available: true to libbuildverison 2021-12-06 22:08:40 -08:00
ndk_api_coverage_parser Apply pylint to build/soong/cc/ndk_api_coverage_parser 2021-08-18 17:17:47 +00:00
ndkstubgen Add test for empty stub generation. 2021-06-28 15:50:55 -07:00
symbolfile Revert "Revert "Apply pylint to cc/symbolfile"" 2021-08-19 19:31:54 +00:00
afdo.go Allow static binaries to enable AFDO 2022-01-25 05:22:01 +00:00
afdo_test.go Add tests for afdo.go 2022-01-26 17:46:33 +08:00
Android.bp Add tests for afdo.go 2022-01-26 17:46:33 +08:00
androidmk.go Merge "Delete toolchain_library" 2022-01-24 21:45:36 +00:00
api_level.go
binary.go redundant statement 2022-01-29 06:37:10 +00:00
binary_sdk_member.go Refactor SdkMemberType.AddDependencies() 2021-08-31 17:07:07 +01:00
bp2build.go Implement stubs.symbol_file and stubs.versions for cc_library_shared bp2build. 2022-01-17 13:03:12 +00:00
builder.go Merge "[NFCI] Change llvm-ar '-format' to be '--format'." 2022-01-26 00:53:36 +00:00
cc.go VNDK libs use "unique" APEX variants 2022-02-04 13:07:14 +09:00
cc_test.go Add -std user flags to cc test to ensure order 2021-12-16 11:38:50 -05:00
ccdeps.go Dump deps for native and java to json files. 2021-11-05 12:06:15 +08:00
cflag_artifacts.go
check.go
cmakelists.go [cc] Switch to -fsanitize-ignorelist 2021-08-27 15:12:56 -07:00
compdb.go
compiler.go Generate tidy-* rules unless tidy is disabled 2022-01-12 16:48:40 -08:00
compiler_test.go Conditionally apply rustdoc flags to third party crates 2021-08-02 11:50:34 -07:00
coverage.go [cc/coverage] Override/disable -Wframe-larger-than 2022-01-27 10:47:55 -08:00
fuzz.go Use one mutator for all bp2build conversion. 2021-12-14 09:37:45 -05:00
gen.go remove support for *.mc files 2021-10-26 11:38:37 -07:00
gen_test.go
genrule.go Add environment variables to cc_genrule commands 2021-09-27 15:56:23 -07:00
genrule_test.go Add environment variables to cc_genrule commands 2021-09-27 15:56:23 -07:00
image.go Separate snapshot definition 2021-07-19 11:42:32 +09:00
image_sdk_traits.go Add ramdisk image sdk trait to cc_library_headers 2021-09-25 10:17:31 +01:00
installer.go Allow for the installation of binaries in xbin 2021-10-19 19:44:13 +00:00
kernel_headers.go
library.go Implement stubs.symbol_file and stubs.versions for cc_library_shared bp2build. 2022-01-17 13:03:12 +00:00
library_headers.go Revert "Revert "bp2build: convert host & prebuilt header libraries"" 2022-01-11 16:02:50 +00:00
library_headers_test.go Fix prebuilt header files to produce proper AndroidMk entries. 2021-12-02 10:54:45 +00:00
library_sdk_member.go Add ramdisk image sdk trait to cc_library_headers 2021-09-25 10:17:31 +01:00
library_test.go Propagate headers from bazel to mixed builds 2021-12-07 10:25:11 -05:00
linkable.go Propagate headers from bazel to mixed builds 2021-12-07 10:25:11 -05:00
linker.go Delete toolchain_library 2022-01-14 12:52:59 -05:00
llndk_library.go Remove obsolete llndk_library 2021-04-26 18:41:00 -07:00
lto.go Revert "Do not build tests with ThinLTO" 2021-10-29 17:53:27 +00:00
makevars.go Add noOverrideExternalGlobalCflags support to Soong 2021-12-15 03:14:26 -08:00
native_bridge_sdk_trait.go Add support for native bridge trait 2021-09-23 11:37:57 +01:00
ndk_abi.go Disable ABI dumps on Darwin. 2021-06-07 13:22:30 -07:00
ndk_headers.go
ndk_library.go Export stub library compiler flags to soong_injection. 2022-01-21 01:43:13 +00:00
ndk_prebuilt.go Only store what's used in SharedLibraryInfo 2021-06-08 16:44:23 -04:00
ndk_sysroot.go object files depend only on NDK headers 2021-12-05 18:10:13 -08:00
object.go Handle the 'enabled' property in bp2build 2021-12-21 16:37:32 -05:00
object_test.go crt objects for APEX and vendor variants have correct target API levels 2021-08-25 16:26:47 +09:00
OWNERS [cc] Add per-file OWNERS for cc/coverage.go 2022-01-27 10:49:13 -08:00
pgo.go Sampling PGO deprecation 2022-01-26 02:34:34 +08:00
prebuilt.go libclang_rt_prebuilt_library_shared mixed builds 2022-01-20 12:03:18 -05:00
prebuilt_test.go libclang_rt_prebuilt_library_shared mixed builds 2022-01-20 12:03:18 -05:00
proto.go bp2build: support full/lite protos in cc libs 2021-12-02 11:00:46 -05:00
proto_test.go Replace android.BuildOs with Config.BuildOS 2021-07-20 12:46:48 -07:00
pylintrc
rs.go remove target from every intermediate depFile 2021-07-30 09:47:07 -07:00
sabi.go Remove Fuchsia support from Soong 2021-07-21 20:37:46 -07:00
sanitize.go Revert "Reland "Enable hwasan use after scope detection."" 2022-01-27 03:31:28 +00:00
sanitize_test.go Update memtag code behavior to match comment. 2021-07-08 11:19:15 -04:00
sdk.go Separate snapshot definition 2021-07-19 11:42:32 +09:00
sdk_test.go
snapshot_prebuilt.go Don't install static snapshot to device 2022-01-21 18:49:07 +09:00
snapshot_utils.go Support for rust recovery snapshot. 2021-11-09 08:40:50 -08:00
stl.go Remove Fuchsia support from Soong 2021-07-21 20:37:46 -07:00
strip.go bp2build: support strip properties. 2021-06-10 05:22:50 +00:00
stub_library.go Export SOONG_CC_API_XML to Make outside androidmk 2021-09-30 13:11:48 -07:00
sysprop.go
test.go Use one mutator for all bp2build conversion. 2021-12-14 09:37:45 -05:00
test_data_test.go Do not modules in files called "Blueprints". 2021-09-02 11:46:24 +02:00
testing.go Delete toolchain_library 2022-01-14 12:52:59 -05:00
tidy.go [cc/tidy] Disable cert-err33-c 2022-01-25 15:45:06 -08:00
util.go Generate tidy-* rules unless tidy is disabled 2022-01-12 16:48:40 -08:00
vendor_public_library.go Remove global state from vendor public libraries 2021-04-27 16:26:00 -07:00
vendor_public_library_test.go Export cc vendor functions for usage by rust. 2021-06-03 08:31:55 -04:00
vendor_snapshot.go Add module based host-tools snapshot 2021-09-13 21:29:14 +00:00
vendor_snapshot_test.go Delete toolchain_library 2022-01-14 12:52:59 -05:00
vndk.go Mark vndkLibrariesTxt modules as device modules 2021-11-12 09:12:22 -08:00
vndk_prebuilt.go rust: Emit toc files for cdylibs 2021-11-03 15:34:50 -04:00