diff options
| author | 2021-02-12 10:28:28 +0000 | |
|---|---|---|
| committer | 2021-02-12 10:28:28 +0000 | |
| commit | c66769ddd96b88cb129733e03b585b0d9c3bed15 (patch) | |
| tree | cbb703292e8b39af6c8867704fd6239f58873fb4 /java/hiddenapi_singleton_test.go | |
| parent | da68a045a384d21ce6fd849915e0c0866e12811b (diff) | |
| parent | f75e527c2b65bf94252188f5d032eadae68a8492 (diff) | |
Merge changes I831da5fa,I866916c9
* changes:
Move logic for selecting the primary module into initHiddenAPI()
Ensure that <x>-hiddenapi modules are included in hiddenapi-index.csv
Diffstat (limited to 'java/hiddenapi_singleton_test.go')
| -rw-r--r-- | java/hiddenapi_singleton_test.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/java/hiddenapi_singleton_test.go b/java/hiddenapi_singleton_test.go index 77cfff45c..df825bb3a 100644 --- a/java/hiddenapi_singleton_test.go +++ b/java/hiddenapi_singleton_test.go @@ -84,6 +84,12 @@ func TestHiddenAPIIndexSingleton(t *testing.T) { compile_dex: true, } + java_library { + name: "foo-hiddenapi", + srcs: ["a.java"], + compile_dex: true, + } + java_import { name: "foo", jars: ["a.jar"], @@ -102,6 +108,7 @@ func TestHiddenAPIIndexSingleton(t *testing.T) { indexRule := hiddenAPIIndex.Rule("singleton-merged-hiddenapi-index") CheckHiddenAPIRuleInputs(t, ` .intermediates/bar/android_common/hiddenapi/index.csv +.intermediates/foo-hiddenapi/android_common/hiddenapi/index.csv .intermediates/foo/android_common/hiddenapi/index.csv `, indexRule) |