summaryrefslogtreecommitdiff
path: root/java/hiddenapi_singleton_test.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2021-02-04 17:49:45 +0000
committer Paul Duffin <paulduffin@google.com> 2021-02-07 10:58:24 +0000
commit219b177279c703eeb3caa58e3c868a9203417117 (patch)
treea40182cbab3c6b990899d568675bee45df1d0fc8 /java/hiddenapi_singleton_test.go
parent01289a24076289369e8eb6995d35d276f225d18e (diff)
Remove duplicate entries from hiddenapi files
Prevents the hiddenapi files index and metadata files from including duplicate entries. Bug: 178361284 Test: m droid Compared hiddenapi files before and after change Verified that the only differences were due to the removal of duplicates Used sort -u to remove duplicates from before file and compared with after file Change-Id: I0b9e420aec42cdcf4584099a7ffd2ed9c3715d6d
Diffstat (limited to 'java/hiddenapi_singleton_test.go')
-rw-r--r--java/hiddenapi_singleton_test.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/java/hiddenapi_singleton_test.go b/java/hiddenapi_singleton_test.go
index 58f1b1d54..fcaa94adc 100644
--- a/java/hiddenapi_singleton_test.go
+++ b/java/hiddenapi_singleton_test.go
@@ -109,10 +109,8 @@ func TestHiddenAPIIndexSingleton(t *testing.T) {
hiddenAPIIndex := ctx.SingletonForTests("hiddenapi_index")
indexRule := hiddenAPIIndex.Rule("singleton-merged-hiddenapi-index")
checkRuleInputs(t, `
-.intermediates/bar.impl/android_common/hiddenapi/index.csv
.intermediates/bar/android_common/hiddenapi/index.csv
.intermediates/foo/android_common/hiddenapi/index.csv
-.intermediates/prebuilt_foo/android_common/hiddenapi/index.csv
`,
indexRule)
}