diff options
author | 2019-09-16 15:59:01 +0900 | |
---|---|---|
committer | 2019-09-23 15:34:06 +0900 | |
commit | 988f53cf5a048f31baac2aae8d1588cefc1b0d17 (patch) | |
tree | c8a1c12b0be72bd917a9d3daa61b3a52626424ae /sysprop/sysprop_test.go | |
parent | b1102ba82847928276fc7a8edcba21396c2cb541 (diff) |
Move sysprop gen code to sysprop module
sysprop_library now generates srcjar itself, effectively cutting the
implicit dependency from java module to sysprop module.
Bug: 131637873
Test: m {sysprop_library}-dump-api
Test: m (with no arguments) performs API check
Change-Id: Ia11a744e74b6f733ff0e30d194fbba22505ed644
Diffstat (limited to 'sysprop/sysprop_test.go')
-rw-r--r-- | sysprop/sysprop_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysprop/sysprop_test.go b/sysprop/sysprop_test.go index 8db68339d..6b4337a04 100644 --- a/sysprop/sysprop_test.go +++ b/sysprop/sysprop_test.go @@ -62,6 +62,9 @@ func testContext(config android.Config, bp string, ctx.PreArchMutators(android.RegisterPrebuiltsPreArchMutators) ctx.PreArchMutators(android.RegisterPrebuiltsPostDepsMutators) ctx.PreArchMutators(android.RegisterDefaultsPreArchMutators) + ctx.PreArchMutators(func(ctx android.RegisterMutatorsContext) { + ctx.BottomUp("sysprop_deps", syspropDepsMutator).Parallel() + }) ctx.RegisterModuleType("cc_library", android.ModuleFactoryAdaptor(cc.LibraryFactory)) ctx.RegisterModuleType("cc_library_headers", android.ModuleFactoryAdaptor(cc.LibraryHeaderFactory)) |