platform_build_soong/android
Martin Stjernholm 89238f4703 Add compile_multilib properties to all native prebuilts (reland).
There was a special case in cc_prebuilt_binary only, which resulted in
prebuilt libraries getting both 32 and 64 bit variants even when their
sources only had one of them, and the other variant would be defunct
since it wouldn't get any prebuilt artefact.

This moves the handling of compile_multilib completely to the common
update code, so that SDK members don't need to deal with it. It doesn't
take SDK member defaults into account, which means a bit more
boilerplate in the snapshots, but it's simpler and less error prone
(different SDK member types have different defaults).

This relands https://r.android.com/1359962 after disabling the SDK
tests on mac once and for all.

Bug: 151303681
Test: `go test -v ./sdk` in build/soong on mac and linux
Change-Id: I05f6603b2ac9b8676b25c3e297165ca23284e9cc
2020-07-17 14:32:15 +01:00
..
soongconfig Soong package structure refactoring 2020-06-01 13:44:48 -07:00
Android.bp Add DepSets 2020-07-16 12:50:11 -07:00
android_test.go Share buildDir for android/soong/android tests 2019-06-10 15:51:06 -07:00
androidmk.go Build a zip of transitive lint reports for apps 2020-07-16 12:51:42 -07:00
androidmk_test.go Support multiple dists per Android.bp module, and dist output selection. 2020-06-25 12:42:07 +00:00
apex.go apex/apk: enforce min_sdk_version of all deps 2020-06-24 02:00:33 +09:00
api_levels.go Merge "Apex: support codenames for min_sdk_version" 2020-04-25 04:41:44 +00:00
arch.go Merge "Remove TARGET_PREFER_32_BIT support." 2020-06-10 18:07:06 +00:00
arch_test.go Make it possible to specify separate rules for native_bridge case 2020-06-09 13:31:37 +02:00
config.go Handle empty / undefined slice-type product variables uniformly. 2020-07-09 17:22:31 +01:00
config_test.go Fix go vet issues 2018-07-22 21:18:45 -07:00
csuite_config.go Create C-Suite config module 2019-10-18 18:28:00 +00:00
csuite_config_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
defaults.go Add hook to be called after defaults have been applied 2020-05-06 08:55:19 +01:00
defaults_test.go Fix product variables in defaults modules 2020-02-06 17:43:29 -08:00
defs.go Fix RuleBuilder remoteable actions running in the local pool. 2020-03-31 22:18:40 -04:00
depset.go Add DepSets 2020-07-16 12:50:11 -07:00
depset_test.go Add DepSets 2020-07-16 12:50:11 -07:00
env.go Call Delve using exec() instead of "dlv attach". 2020-05-18 09:50:18 +02:00
expand.go Fix android.Expand and ninja escaping 2019-07-11 14:52:17 -07:00
expand_test.go Fix android.Expand and ninja escaping 2019-07-11 14:52:17 -07:00
filegroup.go Replace ctx.ExpandSources with android.PathsForModuleSrc 2019-03-20 19:36:13 +00:00
hooks.go Add SrcPath to InstallHookContext 2020-06-04 01:26:16 +01:00
image.go Add ramdisk image. 2020-01-22 16:54:18 -08:00
makevars.go Add DistForGoal to MakeVarsContext 2020-06-09 14:38:51 -07:00
metrics.go Collect metrics from inside soong_build 2020-02-25 20:50:00 +00:00
module.go Stop java_sdk_library_import from depending on source modules 2020-07-08 16:46:16 +01:00
module_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
mutator.go Restrict replacements of source dependencies with prebuilts 2020-07-08 16:46:16 +01:00
mutator_test.go Add FinalDeps mutator phase, where CreateVariations is disallowed. 2020-01-21 11:40:02 +00:00
namespace.go Simplify vendor conditionals 2020-01-24 16:43:40 -08:00
namespace_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
neverallow.go Add "art/test" to the list of Core Library projects. 2020-06-27 16:20:00 +01:00
neverallow_test.go Use inclusive language in build/soong 2020-06-11 15:33:16 -07:00
notices.go Make a soong-only copy of generate-notice-files.py 2020-03-03 13:50:53 -08:00
onceper.go Convert droidstubs to android.RuleBuilder 2019-07-18 14:28:14 -07:00
onceper_test.go Prevent hangs in OncePer when the callback panics 2019-05-14 18:40:13 +00:00
override_module.go Fix out/soong/Android-<>.mk reproducibility 2020-07-01 15:13:58 -07:00
package.go Simplify package by using LoadHook instead of mutators 2020-05-05 20:47:04 +01:00
package_ctx.go Refactor RBE support for Javac/R8/D8 to use the remoteexec package. 2020-04-28 11:37:20 -04:00
package_test.go Simplify package by using LoadHook instead of mutators 2020-05-05 20:47:04 +01:00
path_properties.go Dedup path properties across property structs 2019-07-16 09:52:23 -07:00
path_properties_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
paths.go Merge changes from topic "lint-unbundled-apps" 2020-07-16 23:06:22 +00:00
paths_test.go Apply "excludes" for OutputFileProducer 2020-07-05 10:23:14 +09:00
phony.go Define Soong phony rules in Make 2020-06-09 14:38:50 -07:00
prebuilt.go Do not consider disabled prebuilt variants. 2020-07-15 14:27:13 +01:00
prebuilt_test.go Do not consider disabled prebuilt variants. 2020-07-15 14:27:13 +01:00
proto.go Add method to determine variations from a Target 2019-10-16 14:52:30 -07:00
register.go Define Soong phony rules in Make 2020-06-09 14:38:50 -07:00
rule_builder.go Add sandbox property to the javadoc rule. 2020-06-17 22:57:42 -04:00
rule_builder_test.go Add support for order-only dependencies to RuleBuilder 2020-02-28 18:16:13 +00:00
sandbox.go Sandbox soong_build by changing to root directory 2020-01-11 01:11:46 +00:00
sdk.go Add compile_multilib properties to all native prebuilts (reland). 2020-07-17 14:32:15 +01:00
singleton.go Define Soong phony rules in Make 2020-06-09 14:38:50 -07:00
soong_config_modules.go Merge "soong config: add value_variable substitution" 2020-04-09 20:16:08 +00:00
soong_config_modules_test.go soong config: add value_variable substitution 2020-03-24 07:15:16 -07:00
testing.go Improved formatting of a module list in a panic message. 2020-05-13 02:36:24 +01:00
util.go Add gcov coverage support to Rust modules. 2020-05-05 10:30:15 -04:00
util_test.go Optimize FirstUniqueStrings and FirstUniquePaths 2020-03-02 15:00:15 -08:00
variable.go Make native_coverage clause work with ClangCoverage 2020-06-22 11:13:42 -07:00
variable_test.go Fix product variables in defaults modules 2020-02-06 17:43:29 -08:00
visibility.go Fix special case when appending a visibility rule to //visibility:private. 2020-05-14 16:52:24 +01:00
visibility_test.go Add //visibility:override to allow control over inheritance 2020-05-12 20:07:46 +01:00
vts_config.go Rename VTS to VTS10 2020-03-28 16:42:17 -07:00
vts_config_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
writedocs.go Add missing soong_docs inputs 2020-06-26 10:36:18 -04:00