diff options
author | 2019-05-16 12:28:22 -0700 | |
---|---|---|
committer | 2019-05-29 19:11:26 -0700 | |
commit | 50ddcc4b6964a6a62b83fcdb38a650a64c9dc216 (patch) | |
tree | 70ff2a8e62ad351badb26d3826b0e1e88dfb3b31 /java/testing.go | |
parent | 7d06395f0c12ce8c265639106a5666ae04f1a447 (diff) |
Port uses-shared library verification and dexpreopting to Soong
Ports 09f3b97f4b488cd3a7b7d72038b173575b02c162 (Add support for
preopt with uses-libraries) from Make to Soong to support verifying
and preopting shared libraries.
This reapplies Id25f55f07a55120bebe2a9b32c094209efc85c8b with fixes
for unbundled builds and builds with ALLOW_MISSING_DEPENDENCIES=true
set.
Bug: 132357300
Test: app_test.go
Test: m checkbuild
Change-Id: I964309a68ec4ed081f3f3154879c71048ecb5455
Diffstat (limited to 'java/testing.go')
-rw-r--r-- | java/testing.go | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/java/testing.go b/java/testing.go index 22831c922..fc7842dd2 100644 --- a/java/testing.go +++ b/java/testing.go @@ -77,6 +77,33 @@ func GatherRequiredDepsForTest() string { name: "framework-res", no_framework_libs: true, } + + java_library { + name: "android.hidl.base-V1.0-java", + srcs: ["a.java"], + no_standard_libs: true, + sdk_version: "core_current", + system_modules: "core-platform-api-stubs-system-modules", + installable: true, + } + + java_library { + name: "android.hidl.manager-V1.0-java", + srcs: ["a.java"], + no_standard_libs: true, + sdk_version: "core_current", + system_modules: "core-platform-api-stubs-system-modules", + installable: true, + } + + java_library { + name: "org.apache.http.legacy", + srcs: ["a.java"], + no_standard_libs: true, + sdk_version: "core_current", + system_modules: "core-platform-api-stubs-system-modules", + installable: true, + } ` systemModules := []string{ |