platform_build_soong/cc
Chris Parsons 7123cc5370 Dont write data attrs for cc lib rules
The data attributes for cc library rules is dropped by their starlark
macros, so serves no real purpose. Furthermore, this unused dependency
proves problematic for allowlist v2, as there are many cases at HEAD
where the corner-case "requires" dependency would otherwise mark a module
as unconvertible.

Fixes: 303307456
Test: New unit test
Test: Manual verification to unblock allowlist v2 `bp2build.sh` runs in
AOSP

Change-Id: I6ca6104b958d2b428fc2ca5b3fa794106571acca
2023-10-05 22:07:28 +00:00
..
config Merge "Remove -Wsign-promo." into main 2023-10-02 23:14:26 +00:00
libbuildversion Set the dist dir for musl targets of build_version_test 2022-04-28 14:18:59 +00:00
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 Add --no-ndk to ndkstubgen 2022-10-05 09:06:49 +09:00
symbolfile Add riscv64. 2022-10-10 15:33:50 +00:00
afdo.go Do not enable AFDO if the option is off, even if there is a profile file 2023-07-27 14:04:05 +09:00
afdo_test.go Enable -funique-internal-linkage-names when afdo=true 2023-04-21 14:41:55 -07:00
Android.bp Revert "Block CFI on static libraries" 2023-09-21 17:04:43 +00:00
androidmk.go rust: Rust sanitized snapshots variations 2023-08-25 12:54:56 -04:00
api_level.go Revert "Revert "Set VIC as minimum SDK version for riscv64"" 2023-07-26 09:47:10 -07:00
binary.go Have ConvertWBp2build use Bp2buildMutatorContext 2023-09-20 14:49:35 +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 create, but dont register, bp2build_deps mutator 2023-10-03 00:16:30 +00:00
builder.go Fix addrsig warnings 2023-04-14 14:31:14 -07:00
cc.go Generate product variants by default 2023-09-27 16:36:40 +09:00
cc_test.go Generate product variants by default 2023-09-27 16:36:40 +09:00
ccdeps.go Parallelize singleton execution 2023-05-19 20:31:32 +00:00
check.go Allow "-mllvm foo" cflags 2023-03-12 16:31:10 +09:00
cmakelists.go Parallelize singleton execution 2023-05-19 20:31:32 +00:00
compdb.go Parallelize singleton execution 2023-05-19 20:31:32 +00:00
compiler.go Allow ramdisk targets to set cflags/exclude_srcs. 2023-07-27 17:06:46 -07:00
compiler_test.go
coverage.go Convert coverage libs as alwayslink 2023-07-26 19:24:23 +00:00
fdo_profile.go Change bp2build to switch to using custom fdo_profile macro 2023-09-27 11:10:58 -04:00
fuzz.go Merge "Added haiku presubmit packaging" into main 2023-07-20 17:00:05 +00:00
gen.go Sandbox inputs to aidl rule in cc 2023-05-23 15:53:10 -04:00
gen_test.go Write Soong tests to confirm Sysprop directories 2022-08-29 18:46:50 +00:00
generated_cc_library.go Convert cc_aconfig_library to bazel. 2023-09-20 17:46:46 -07:00
genrule.go Generate product variants by default 2023-09-27 16:36:40 +09:00
genrule_test.go Make cc_genrule.srcs configurable. 2022-10-19 12:35:26 -07:00
image.go Generate product variants by default 2023-09-27 16:36:40 +09:00
image_sdk_traits.go
installer.go Revert "Use installExecutable for cc binaries" 2023-06-14 07:38:44 +00:00
kernel_headers.go
library.go Dont write data attrs for cc lib rules 2023-10-05 22:07:28 +00:00
library_headers.go Switch bp2build mutator to bottom up 2023-09-22 19:19:22 +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 rust: Rust sanitized snapshots variations 2023-08-25 12:54:56 -04:00
linker.go Supporting changes for CFI toolchain features 2023-03-27 18:07:40 +00:00
llndk_library.go
lto.go Revert "Disable Global ThinLTO by default" 2023-09-01 17:22:58 +00:00
lto_test.go Add GLOBAL_THINLTO env fixture to lto_test 2023-06-14 14:28:30 +08:00
makevars.go Add noOverride64GlobalCflags support to Soong 2023-01-25 04:02:29 +00:00
native_bridge_sdk_trait.go
ndk_abi.go Parallelize singleton execution 2023-05-19 20:31:32 +00:00
ndk_headers.go Create bp2build converter for versioned_ndk_headers 2023-10-02 17:35:55 +00:00
ndk_library.go Add more information to the ABI error message. 2023-10-04 23:46:38 +00:00
ndk_prebuilt.go Have ConvertWBp2build use Bp2buildMutatorContext 2023-09-20 14:49:35 +00:00
ndk_sysroot.go Create bp2build converter for versioned_ndk_headers 2023-10-02 17:35:55 +00:00
ndk_test.go Add a property in ndk_library for header contributions 2022-08-30 18:24:40 +00:00
object.go Have ConvertWBp2build use Bp2buildMutatorContext 2023-09-20 14:49:35 +00:00
object_test.go Include NDK CRT object variants in the sysroot. 2023-04-04 23:27:15 +00:00
orderfile.go Removed order file use flags from being passed to cflags 2023-08-11 23:28:46 +00:00
orderfile_test.go Removed order file use flags from being passed to cflags 2023-08-11 23:28:46 +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 Remove sampling profile support from pgo rule 2022-06-07 15:23:08 +08:00
prebuilt.go Have ConvertWBp2build use Bp2buildMutatorContext 2023-09-20 14:49:35 +00:00
prebuilt_test.go Do not install prebuilt stubs from module_sdk 2023-03-28 18:19:04 +09:00
proto.go Switch bp2build mutator to bottom up 2023-09-22 19:19:22 +00:00
proto_test.go
pylintrc
rs.go Convert preview sdkVersion to int for target-api 2023-07-29 11:44:33 -07:00
sabi.go Add header_abi_checker properties for vendor, product, and platform 2022-12-28 18:50:38 +08:00
sanitize.go Fix for ndk having sanitizers 2023-09-26 17:06:33 -04:00
sanitize_test.go Fix for ndk having sanitizers 2023-09-26 17:06:33 -04:00
sdk.go Install sdk variants in unbundled builds and package uninstallable variants 2023-05-02 15:37:26 +00:00
sdk_test.go Install sdk variants in unbundled builds and package uninstallable variants 2023-05-02 15:37:26 +00:00
snapshot_prebuilt.go rust: Rust sanitized snapshots variations 2023-08-25 12:54:56 -04:00
snapshot_utils.go rust: Add vendor and recovery dylib support. 2023-07-14 12:43:09 -04:00
stl.go Use ndk_system STL header library 2023-09-06 19:55:42 +00:00
strip.go Revert "Disable stripping for riscv64" 2022-11-11 00:59:14 +00:00
stub_library.go Parallelize singleton execution 2023-05-19 20:31:32 +00:00
sysprop.go Switch bp2build mutator to bottom up 2023-09-22 19:19:22 +00:00
test.go create, but dont register, bp2build_deps mutator 2023-10-03 00:16:30 +00:00
test_data_test.go
testing.go Revert^4 "add rust_toolchain_rustc_prebuilt module type" 2023-09-25 12:13:17 +00:00
tidy.go Parallelize singleton execution 2023-05-19 20:31:32 +00:00
tidy_test.go Prepare to obsolete -warnings-as-errors in tidy_flags 2022-06-12 20:25:43 -07:00
util.go make android.InList generic 2023-07-18 15:07:24 -04:00
vendor_public_library.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
vendor_public_library_test.go
vendor_snapshot.go Skip snapshot for sanitizer variants with both cfi and hwasan 2023-09-25 23:07:49 +09:00
vendor_snapshot_test.go APEX can use any Prebuilt libraries 2023-05-08 22:33:35 +09:00
vndk.go Use vndk snapshot libraries txt files if exist 2023-08-22 10:11:52 +09:00
vndk_prebuilt.go Ignore some prebuilt vndk libs for trunk-stable next 2023-08-18 18:01:08 +09:00