platform_build_soong/cc
Spandan Das 20fce2d340 Enforce stub libraries should have a single apex_available
If a library contributes to an API surface, it will have only a single
copy on device. Therefore, we should disallow installation to muliple
apexes/platform.

There are some exceptions to this rule today, and they have been relaxed
using allowlists.

Bug: 277651159
Test: go test ./apex
Change-Id: Ice3023ecd28412a2610d8b98628cb727b58c5c3b
2023-04-27 23:24:55 +00:00
..
config Update clang version to clang-r487747b 2023-04-26 15:11:43 +09:00
libbuildversion
ndk_api_coverage_parser Remove OWNERS access for non-build team people to core build system 2023-02-28 19:29:47 -08:00
ndkstubgen
symbolfile Add riscv64. 2022-10-10 15:33:50 +00:00
afdo.go Enable -funique-internal-linkage-names when afdo=true 2023-04-21 14:41:55 -07:00
afdo_test.go Enable -funique-internal-linkage-names when afdo=true 2023-04-21 14:41:55 -07:00
Android.bp Implement fdo_profile module type 2023-03-31 17:52:01 -04:00
androidmk.go Prevent sdk variants from install 2023-02-22 13:45:49 +09:00
api_level.go Disable VNDK apexes for unsupported API levels 2023-01-27 19:49:38 +00:00
binary.go Ignore test apexes from bp2build generated tags 2023-04-27 23:24:49 +00:00
binary_sdk_member.go
binary_test.go Export Soong module type to LOCAL_SOONG_MODULE_TYPE to Make for SBOM generation. 2023-03-06 22:51:03 +00:00
bp2build.go Ignore test apexes from bp2build generated tags 2023-04-27 23:24:49 +00:00
builder.go Add noOverride64GlobalCflags support to Soong 2023-01-25 04:02:29 +00:00
cc.go Enforce stub libraries should have a single apex_available 2023-04-27 23:24:55 +00:00
cc_test.go Refactor MixedBuildsEnabled and add --ensure-allowlist-integrity. 2023-04-25 20:55:07 +00:00
ccdeps.go
check.go Allow "-mllvm foo" cflags 2023-03-12 16:31:10 +09:00
cmakelists.go
compdb.go
compiler.go Delete __ANDROID_APEX_MIN_SDK_VERSION__ from Soong 2023-01-20 00:14:48 -05:00
compiler_test.go
coverage.go Make filesystem aware of coverage 2023-03-16 13:11:17 +09:00
fdo_profile.go Reimplement afdo support for rust 2023-03-31 17:55:16 -04:00
fuzz.go Copy Rust fuzzer dependencies to /data. 2023-02-06 13:48:23 -05:00
gen.go
gen_test.go
genrule.go soong: add os name to cc_genrule 2022-12-01 20:01:03 +00:00
genrule_test.go Make cc_genrule.srcs configurable. 2022-10-19 12:35:26 -07:00
image.go
image_sdk_traits.go
installer.go Use installExecutable for cc binaries 2023-03-21 01:42:59 +00:00
kernel_headers.go
library.go Ignore test apexes from bp2build generated tags 2023-04-27 01:43:00 +00:00
library_headers.go Ignore test apexes from bp2build generated tags 2023-04-27 23:24:49 +00:00
library_headers_test.go Make more cc tests parallel 2022-12-05 13:43:29 -05:00
library_sdk_member.go Replace SortedStringKeys with SortedKeys 2023-02-28 16:51:32 -08:00
library_stub.go Implement API surface import with APEX stub 2023-02-27 12:57:30 +09:00
library_stub_test.go Implement API surface import with APEX stub 2023-02-27 12:57:30 +09:00
library_test.go Export Soong module type to LOCAL_SOONG_MODULE_TYPE to Make for SBOM generation. 2023-03-06 22:51:03 +00:00
linkable.go Copy Rust fuzzer dependencies to /data. 2023-02-06 13:48:23 -05:00
linker.go Supporting changes for CFI toolchain features 2023-03-27 18:07:40 +00:00
llndk_library.go
lto.go Revert "Build riscv64 with thin LTO" 2023-02-15 01:32:22 +00:00
lto_test.go Add test that LTO isn't propagated to runtime_libs 2023-02-10 20:29:20 +00:00
makevars.go Add noOverride64GlobalCflags support to Soong 2023-01-25 04:02:29 +00:00
native_bridge_sdk_trait.go
ndk_abi.go
ndk_headers.go
ndk_library.go Flag off abidw tasks. 2023-04-20 17:38:29 +00:00
ndk_prebuilt.go Remove dead code. 2023-03-28 23:13:16 +00:00
ndk_sysroot.go Include NDK CRT object variants in the sysroot. 2023-04-04 23:27:15 +00:00
ndk_test.go
object.go Ignore test apexes from bp2build generated tags 2023-04-27 23:24:49 +00:00
object_test.go Include NDK CRT object variants in the sysroot. 2023-04-04 23:27:15 +00:00
OWNERS Remove OWNERS access for non-build team people to core build system 2023-02-28 19:29:47 -08:00
pgo.go
prebuilt.go Ignore test apexes from bp2build generated tags 2023-04-27 23:24:49 +00:00
prebuilt_test.go Do not install prebuilt stubs from module_sdk 2023-03-28 18:19:04 +09:00
proto.go Ignore test apexes from bp2build generated tags 2023-04-27 23:24:49 +00:00
proto_test.go
pylintrc
rs.go
sabi.go Add header_abi_checker properties for vendor, product, and platform 2022-12-28 18:50:38 +08:00
sanitize.go Merge "Add handling for libc_hwasan to Soong" 2023-04-14 23:27:57 +00:00
sanitize_test.go New test for propagation of CFI 2023-04-13 14:46:40 +00:00
sdk.go Implement API surface import with APEX stub 2023-02-27 12:57:30 +09:00
sdk_test.go Prevent sdk variants from install 2023-02-22 13:45:49 +09:00
snapshot_prebuilt.go Fix the make name of rust snapshots 2023-03-16 11:05:41 +09:00
snapshot_utils.go
stl.go Use platform libc++ for riscv64 sdk variants 2023-01-26 15:40:58 -08:00
strip.go Revert "Disable stripping for riscv64" 2022-11-11 00:59:14 +00:00
stub_library.go Replace SortedStringKeys with SortedKeys 2023-02-28 16:51:32 -08:00
sysprop.go Ignore test apexes from bp2build generated tags 2023-04-27 23:24:49 +00:00
test.go mixed build targets need transitive tidy files 2023-02-07 16:50:30 -05:00
test_data_test.go
testing.go Reimplement afdo support for rust 2023-03-31 17:55:16 -04:00
tidy.go export clang-tidy extraArgFlags to Bazel 2022-11-10 14:35:23 -05:00
tidy_test.go
util.go Include license information for vendor and host snapshots 2023-04-25 18:03:32 +09:00
vendor_public_library.go
vendor_public_library_test.go
vendor_snapshot.go Include license information for vendor and host snapshots 2023-04-25 18:03:32 +09:00
vendor_snapshot_test.go Disable sanitizer for vendor_snapshot_object modules 2022-12-19 23:04:08 +09:00
vndk.go Add min_sdk_version prop to snapshots 2023-04-18 11:30:22 +09:00
vndk_prebuilt.go