platform_build_soong/android
Jaewoong Jung e50fe61acc Make override modules compatible with prebuilts.
Prebuilt's prefer flag doesn't work against override modules because
override modules are sort of virtual modules that delegate all the work
to their base modules. Therefore, even if a prebuilt module suppresses
installation of its src-counterpart override module, the actual build
actions are still performed in the base module.

This change fixes it by filtering out override modules that are being
replaced by prebuilts.

Test: prebuilt_test.go
Fixes: 152155285
Change-Id: I859b35c0629b2b6258dd1ec5e020ba2c77ff9612
Merged-In: I859b35c0629b2b6258dd1ec5e020ba2c77ff9612
2020-06-11 18:16:50 -07:00
..
soongconfig Soong package structure refactoring 2020-06-02 14:35:04 -07:00
Android.bp Soong package structure refactoring 2020-06-02 14:35:04 -07:00
android_test.go Share buildDir for android/soong/android tests 2019-06-10 15:51:06 -07:00
androidmk.go mark platform un-availability 2020-04-28 09:27:24 +09:00
androidmk_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
apex.go Generate combined deps-info for all updatable modules. 2020-05-27 17:51:18 +01:00
api_levels.go Updating platform SDK version for R 2020-05-03 09:41:41 -07:00
arch.go Make it possible to specify separate rules for native_bridge case 2020-06-09 23:35:37 +02:00
arch_test.go Make it possible to specify separate rules for native_bridge case 2020-06-09 23:35:37 +02:00
config.go Merge changes Ie883eb45,If46a2f74,I8f4c5395,Ic4eb169d,I2b2408ef, ... into rvc-dev 2020-04-23 15:19:26 +00: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-07 11:36:57 +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-04-27 18:54:45 +00:00
env.go Sandbox soong_build by changing to root directory 2020-01-11 01:11:46 +00: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 hook to be called after defaults have been applied 2020-05-07 11:36:57 +01:00
image.go Add ramdisk image. 2020-01-22 16:54:18 -08:00
makevars.go Sandbox soong_build by changing to root directory 2020-01-11 01:11:46 +00:00
module.go Don't use SDK variant for vendor JNI libraries 2020-05-15 10:13:42 -07:00
module_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
mutator.go Add hook to be called after defaults have been applied 2020-05-07 11:36:57 +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 Allow the user to explicitly set the java Uncompress_dex property. 2020-05-21 19:02:02 +00:00
neverallow_test.go Allow the user to explicitly set the java Uncompress_dex property. 2020-05-21 19:02:02 +00:00
notices.go Separate InstallPath from OutputPath 2019-10-03 10:07:53 -07: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 Make override modules compatible with prebuilts. 2020-06-11 18:16:50 -07:00
package.go Simplify package by using LoadHook instead of mutators 2020-05-06 08:21:39 +01:00
package_ctx.go Refactor RBE support for Javac/R8/D8 to use the remoteexec package. 2020-05-25 10:57:47 -04:00
package_test.go Simplify package by using LoadHook instead of mutators 2020-05-06 08:21:39 +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 Notice file embededd in APEX is deterministic 2020-05-30 12:11:16 +00:00
paths_test.go Add ramdisk image. 2020-01-22 16:54:18 -08:00
prebuilt.go java_sdk_library_import: Propagate prefer to child modules 2020-05-13 23:39:01 +01:00
prebuilt_test.go Make override modules compatible with prebuilts. 2020-06-11 18:16:50 -07:00
proto.go Add method to determine variations from a Target 2019-10-16 14:52:30 -07:00
register.go Add FinalDeps mutator phase, where CreateVariations is disallowed. 2020-01-21 11:40:02 +00:00
rule_builder.go Fix RuleBuilder remoteable actions running in the local pool. 2020-04-27 18:54:45 +00:00
rule_builder_test.go Add an order-only dependency on the build number file 2020-04-09 08:16:44 -07:00
sandbox.go Sandbox soong_build by changing to root directory 2020-01-11 01:11:46 +00:00
sdk.go Retry: Adds support for 'ignored-on-host' 2020-05-10 23:56:28 +01:00
singleton.go Fix RuleBuilder remoteable actions running in the local pool. 2020-04-27 18:54:45 +00:00
soong_config_modules.go Merge "soong config: add value_variable substitution" into rvc-dev 2020-04-11 17:24:57 +00:00
soong_config_modules_test.go soong config: add value_variable substitution 2020-04-09 13:30:38 -07:00
testing.go Enable androidmk processing in sdk testing 2020-04-22 12:51:32 +01:00
util.go Simple refactoring of prefix related functions. 2020-02-14 14:33:49 -08:00
util_test.go Simple refactoring of prefix related functions. 2020-02-14 14:33:49 -08:00
variable.go Apply EnforceRROExemptedTargets in Soong 2020-04-20 14:02:23 +00: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-16 12:07:03 +01:00
visibility_test.go Add //visibility:override to allow control over inheritance 2020-05-13 13:50:34 +01:00
vts_config.go Merge "Rename VTS to VTS10" am: 7182c45fe7 am: 4058983c0c am: 8989420fee am: 2d2a3643f5 2020-03-31 23:20:53 +00:00
vts_config_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
writedocs.go Split up Soong build doc. 2019-02-20 15:43:06 -08:00