platform_build_soong/android
Paul Duffin 44f1d8404b Stop java_sdk_library_import from depending on source modules
Previously, java_sdk_library_import added the dependencies on its child
components in the deps mutator after prebuilts without a matching
source module are renamed to the source module name. That meant that
the java_sdk_library_import has to use the source module name and ended
up depending on the source module unless it was preferred.

This change adds a new component deps mutator that runs before the
PrebuiltRenameMutator so that the java_sdk_library_import can add
dependencies onto the prebuilt modules. It also updates an affected
test.

Bug: 159902351
Test: m nothing
Change-Id: I3576c4873302743e51aff547ea1497bef6d748ac
2020-07-08 16:46:16 +01:00
..
soongconfig Soong package structure refactoring 2020-06-01 13:44:48 -07:00
Android.bp Define Soong phony rules in Make 2020-06-09 14:38:50 -07:00
android_test.go Share buildDir for android/soong/android tests 2019-06-10 15:51:06 -07:00
androidmk.go Merge changes Ifd2858dd,I2585dd99,I65e7a456 2020-06-29 02:20:56 +00: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 Merge "Add missing soong_docs inputs" 2020-07-06 22:34:51 +00:00
config_test.go
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
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 Stop java_sdk_library_import from depending on source modules 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 "Apply "excludes" for OutputFileProducer" 2020-07-08 06:40:08 +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 Fall back to the source module for variants that the corresponding 2020-05-28 13:17:21 +01:00
prebuilt_test.go Make override modules compatible with prebuilts. 2020-06-11 16:01:30 -07: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 Retry: Adds support for 'ignored-on-host' 2020-05-08 22:32:02 +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