platform_build_soong/cc
Paul Duffin 08385bf9ac Retry: Detect invalid arch specific properties in snapshot
Previously, the snapshot code did not know whether a specific property
could be arch specific or not and assumed that they all were which
meant that it could generate snapshots containing arch specific values
for properties that are not arch specific and so would fail when
unpacked.

This change requires arch specific fields in SdkMemberProperties to be
tagged as such using `android:"arch_variant"` (just as in module input
property structures). Any property without that must have properties
that are common across all variants.

Bug: 155628860
Test: m nothing
Merged-In: I3df60f0b53ba02ec2c55a80c7da058eac5909d26
Change-Id: I3df60f0b53ba02ec2c55a80c7da058eac5909d26
(cherry picked from commit 864e1b45db)
2020-05-10 23:56:18 +01:00
..
config Switch to clang-r383902 (11.0.1). 2020-05-01 11:36:21 -07:00
libbuildversion Set apex_available property 2020-04-28 21:08:58 +09:00
androidmk.go Add sdk mutator for native modules 2020-04-27 14:45:05 -07:00
binary.go Add support for cc_binary in module_exports 2020-02-18 16:17:35 +00:00
binary_sdk_member.go Improve error messages when output file is invalid 2020-05-06 08:21:22 +01:00
builder.go Allow remote execution of link actions. 2020-04-23 08:23:21 -07:00
cc.go Introduce min_sdk_version to deps info. 2020-05-06 15:01:14 +00:00
cc_test.go Enforce min_sdk_version of apex(use_vendor:true) 2020-03-25 10:40:41 +09: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 Pass min_sdk_version to cc __ANDROID_SDK_VERSION__ 2020-03-25 23:23:26 +00:00
compiler_test.go Expand ClangExtraExternalCflags to non-Google vendor projects 2019-11-11 13:24:39 -08:00
coverage.go Only package gcno files for gcov coverage builds. 2020-04-21 12:40:27 -07: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 sdk_version property to cc_genrule 2020-04-24 13:52:16 -07:00
genrule_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
installer.go Disable installation for sdk snapshot versioned prebuilts 2020-04-22 12:51:36 +01:00
kernel_headers.go Change exportedDirs and exportedSystemDirs from []string to android.Paths 2019-10-25 09:52:08 +09:00
library.go Do not propagate the stub symbol file to prebuilts. 2020-05-06 08:18:49 +01:00
library_headers.go Add SDK member support for cc_object. 2020-05-06 08:17:10 +01:00
library_headers_test.go Add cc_prebuilt_library_headers 2020-04-22 12:51:24 +01:00
library_sdk_member.go Retry: Detect invalid arch specific properties in snapshot 2020-05-10 23:56:18 +01:00
library_test.go Apex: support codenames for min_sdk_version 2020-04-02 23:26:41 +09:00
linkable.go Add sdk mutator for native modules 2020-04-27 14:45:05 -07:00
linker.go Propagate empty vs unspecified system_shared_libs correctly. 2020-05-06 08:17:57 +01:00
llndk_library.go Remove PLATFORM_VERSION_FUTURE_CODENAMES 2020-04-08 09:25:20 +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 Add sdk mutator for native modules 2020-04-27 14:45:05 -07:00
ndk_prebuilt.go Add sdk mutator for native modules 2020-04-27 14:45:05 -07:00
ndk_sysroot.go Expose some factories for aidl_test.go 2019-12-09 18:21:48 +09:00
object.go Add SDK member support for cc_object. 2020-05-06 08:17:10 +01:00
object_test.go
pgo.go Add platform-wide sampling PGO option 2020-04-03 12:00:04 +00:00
prebuilt.go Add cc_prebuilt_object. 2020-05-06 08:16:53 +01:00
prebuilt_test.go Add cc_prebuilt_object. 2020-05-06 08:16:53 +01: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 Don't tell make about modules in other namespaces 2020-05-03 21:30:43 -07:00
sdk.go Add sdk mutator for native modules 2020-04-27 14:45:05 -07:00
sdk_test.go Add sdk mutator for native modules 2020-04-27 14:45:05 -07:00
snapshot_utils.go Capture snapshot headers in parallel 2020-03-05 09:36:31 +09:00
stl.go Add sdk mutator for native modules 2020-04-27 14:45:05 -07:00
strip.go Remove use_gnu_strip option 2019-09-13 12:18:47 -07:00
sysprop.go
test.go Add test_for property 2020-04-28 21:35:40 +09: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 Move prebuilts mutators after defaults have been applied 2020-05-07 11:36:44 +01:00
tidy.go Switch to clang-r383902 (11.0.1). 2020-05-01 11:36:21 -07:00
toolchain_library.go Add sdk mutator for native modules 2020-04-27 14:45:05 -07:00
util.go Only package gcno files for gcov coverage builds. 2020-04-21 12:40:27 -07:00
vendor_public_library.go Split local and global cflags 2019-11-07 15:27:58 -08:00
vendor_snapshot.go Capture snapshot headers in parallel 2020-03-05 09:36:31 +09:00
vndk.go Don't allow a lib having stubs to become a member of VNDK 2020-04-13 13:08:16 +09:00
vndk_prebuilt.go Do not hide VNDK prebuilts from make 2020-02-17 19:01:13 +09:00