aboutsummaryrefslogtreecommitdiffstats
path: root/java/hiddenapi_singleton.go
diff options
context:
space:
mode:
authorAndrei Onea <andreionea@google.com>2019-03-01 17:44:13 +0000
committerAndrei Onea <andreionea@google.com>2019-03-01 17:44:13 +0000
commite04da07dfe08239f6c33ef8171452fe26dfa6345 (patch)
treec7899aa9951ea4ef0f3865addc83ce2134c9f9f8 /java/hiddenapi_singleton.go
parente28d0c0ff30e26f24671c90f36a02be80c87443e (diff)
downloadandroid_build_soong-e04da07dfe08239f6c33ef8171452fe26dfa6345.tar.gz
android_build_soong-e04da07dfe08239f6c33ef8171452fe26dfa6345.tar.bz2
android_build_soong-e04da07dfe08239f6c33ef8171452fe26dfa6345.zip
Differentiate system and test apis in whitelist
@SystemApi and @TestApi entries in the whitelist can now be differentiated from the rest of the public apis. Test: m Change-Id: Ie6a0108540cffe11992739d6391531401378f14b
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 ceafb59e..86531ebc 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)