platform_build_soong/cc
Colin Cross 8ca61c1820 Move checking of minApiForArch for apex into cc
I49220cbec628f1508709741dc56b62aaac7786d9 attempted to allow
apexes to depend on native code whose min_sdk_version had been
increased to meet the minimum supported API level for a new
architecture.  It wasn't quite right, as it assumed that the
primary architecture of the apex would be the newest, and
it applied to all dependencies, not just ones that were
specfiic to the new architecture.  Move the checking into
cc.ShouldSupportSdkVersion, where it can be specific to an
individual architecture variant.

Bug: 250918230
Test: TestApexMinSdkVersion_MinApiForArch
Change-Id: I303cf485ba54b4c6bf63a9f9b49286ff9b2c9c83
2022-10-07 16:04:50 -07:00
..
config Remove flags rejected by RBE input processor 2022-10-04 16:52:36 -07: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 Distinguish # apex and # systemapi symbols 2022-07-19 13:47:19 +09:00
ndkstubgen Add --no-ndk to ndkstubgen 2022-10-05 09:06:49 +09:00
symbolfile Add --no-ndk to ndkstubgen 2022-10-05 09:06:49 +09:00
afdo.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
afdo_test.go Add tests for afdo.go 2022-01-26 17:46:33 +08:00
Android.bp Enable bp2build for cc modules relying on sysprop 2022-09-19 23:38:33 +00:00
androidmk.go Add overrides support for snapshots 2022-10-04 14:42:02 +09:00
api_level.go Move checking of minApiForArch for apex into cc 2022-10-07 16:04:50 -07:00
binary.go Add overrides support for snapshots 2022-10-04 14:42:02 +09:00
binary_sdk_member.go
binary_test.go Fix test compilation error 2022-05-09 19:36:04 +01:00
bp2build.go Merge "Add additionalLinkerInputs for both version_script" 2022-09-28 16:01:36 +00:00
builder.go Remove flags rejected by RBE input processor 2022-10-04 16:52:36 -07:00
cc.go Move checking of minApiForArch for apex into cc 2022-10-07 16:04:50 -07:00
cc_test.go Add tests verifying link actions for cc libraries 2022-09-30 12:57:00 -04:00
ccdeps.go
cflag_artifacts.go
check.go Add linker_scripts property 2022-05-05 16:36:56 +01:00
cmakelists.go
compdb.go
compiler.go Revert^2 "deletion of clang_cflags & clang_asflags from Soong" 2022-09-14 19:10:51 +00:00
compiler_test.go
coverage.go Memory mapped coverage (take 2) 2022-03-04 14:07:53 -08:00
fuzz.go Move fuzzer's CollectAllSharedDependencies into GenerateAndroidBuildActions 2022-10-04 19:15:45 -07:00
gen.go Enable bp2build for cc modules relying on sysprop 2022-09-19 23:38:33 +00:00
gen_test.go Write Soong tests to confirm Sysprop directories 2022-08-29 18:46:50 +00:00
genrule.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
genrule_test.go
image.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
image_sdk_traits.go
installer.go Fix typo in installer.go 2022-05-05 16:36:56 +01:00
kernel_headers.go
library.go Merge "Add overrides support for snapshots" 2022-10-05 23:43:00 +00:00
library_headers.go Reexport whole_static_libs in cc_library_headers 2022-08-18 15:53:00 +00:00
library_headers_test.go
library_sdk_member.go Handle multiple linkages in sdk snapshots 2022-05-23 10:51:22 -04:00
library_stub.go Define cc_api_headers module 2022-09-01 11:24:35 +09:00
library_stub_test.go Define cc_api_headers module 2022-09-01 11:24:35 +09:00
library_test.go Fix transitive whole_static_libs on prebuilt static libraries 2022-02-11 13:51:41 -08:00
linkable.go Specify jnilib partition in Android-<target>.mk 2022-10-04 03:26:05 +00:00
linker.go Use LLD for Darwin host binaries 2022-06-24 13:45:32 +00:00
llndk_library.go
lto.go Refactor lto mutator to not alter user-input props 2022-09-26 11:03:14 -04:00
lto_test.go Add test to verify lto mutators 2022-09-16 12:41:47 -04:00
makevars.go Removed unused GCC references 2022-09-30 19:32:48 -07:00
native_bridge_sdk_trait.go
ndk_abi.go Disable ABI dumping for hwasan builds. 2022-04-19 22:01:43 +00:00
ndk_headers.go Move API providing modules from bp2build to api_bp2build workspace 2022-10-04 17:33:32 +00:00
ndk_library.go Multi-tree API bp2build converter for ndk_library 2022-09-21 19:49:46 +00:00
ndk_prebuilt.go
ndk_sysroot.go bp2build for ndk_headers 2022-08-31 19:40:22 +00:00
ndk_test.go Add a property in ndk_library for header contributions 2022-08-30 18:24:40 +00:00
object.go Copy cc_object output files to a name that matches the module 2022-09-16 10:34:09 -07:00
object_test.go Copy cc_object output files to a name that matches the module 2022-09-16 10:34:09 -07:00
OWNERS add ALLOW_LOCAL_TIDY_TRUE and some tests 2022-04-26 13:30:32 -07:00
pgo.go Remove sampling profile support from pgo rule 2022-06-07 15:23:08 +08:00
prebuilt.go Merge "Support prefix_symbols for prebuilt libraries" 2022-08-22 07:44:42 +00:00
prebuilt_test.go Add Soong tests for cc_prebuilt_binary for bad srcs 2022-10-06 14:10:49 +00:00
proto.go Support proto modules with external references. 2022-09-14 13:02:53 -07:00
proto_test.go
pylintrc
rs.go
sabi.go
sanitize.go [MTE] unset colliding sanitizers for mutators 2022-09-29 15:49:46 -07:00
sanitize_test.go Revert "Revert "[soong] Add memtag-stack sanitizer, switch to li..." 2022-08-31 15:20:25 -07:00
sdk.go
sdk_test.go
snapshot_prebuilt.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
snapshot_utils.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
stl.go Remove alternative stl names in bp2build 2022-06-27 17:20:17 -04:00
strip.go
stub_library.go
sysprop.go Enable bp2build for cc modules relying on sysprop 2022-09-19 23:38:33 +00:00
test.go bp2build: Convert cc_test.test_options.tags to cc_test.tags 2022-09-16 02:32:03 +00:00
test_data_test.go
testing.go Fix Errorf format string for error 2022-10-06 15:24:11 +00:00
tidy.go Add TIDY_EXTERNAL_VENDOR 2022-10-05 16:10:40 -07:00
tidy_test.go Prepare to obsolete -warnings-as-errors in tidy_flags 2022-06-12 20:25:43 -07:00
util.go Delete some unused functions. 2022-04-25 16:00:17 -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 Add overrides support for snapshots 2022-10-04 14:42:02 +09:00
vendor_snapshot_test.go Add overrides support for snapshots 2022-10-04 14:42:02 +09:00
vndk.go Remove obsolete notice property. 2022-07-29 17:54:40 +00:00
vndk_prebuilt.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00