summaryrefslogtreecommitdiff
path: root/java/hiddenapi_singleton.go
diff options
context:
space:
mode:
author Andrei-Valentin Onea <andreionea@google.com> 2019-03-08 16:22:11 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2019-03-08 16:22:11 +0000
commitfdd1457fa683d5a7c21c471d5dc3294cdb29cf1e (patch)
tree0de34ed2afc9b3fc6f0f3f5cbb3efd13a953b919 /java/hiddenapi_singleton.go
parent1255a561e6757b0d42b040f7d5376e86440a57ba (diff)
parente04da07dfe08239f6c33ef8171452fe26dfa6345 (diff)
Merge "Differentiate system and test apis in whitelist"
Diffstat (limited to 'java/hiddenapi_singleton.go')
-rw-r--r--java/hiddenapi_singleton.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/hiddenapi_singleton.go b/java/hiddenapi_singleton.go
index ceafb59e0..86531ebc7 100644
--- a/java/hiddenapi_singleton.go
+++ b/java/hiddenapi_singleton.go
@@ -183,8 +183,8 @@ func stubFlagsRule(ctx android.SingletonContext) {
Text("list").
FlagForEachInput("--boot-dex=", bootDexJars).
FlagWithInputList("--public-stub-classpath=", publicStubPaths, ":").
- FlagWithInputList("--public-stub-classpath=", systemStubPaths, ":").
- FlagWithInputList("--public-stub-classpath=", testStubPaths, ":").
+ FlagWithInputList("--system-stub-classpath=", systemStubPaths, ":").
+ FlagWithInputList("--test-stub-classpath=", testStubPaths, ":").
FlagWithInputList("--core-platform-stub-classpath=", corePlatformStubPaths, ":").
FlagWithOutput("--out-api-flags=", tempPath)