summaryrefslogtreecommitdiff
path: root/java/hiddenapi_singleton.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2021-04-29 20:14:16 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2021-04-29 20:14:16 +0000
commitad7fa97f8d66e73c0e00cee2b920418b4b8f73e5 (patch)
treedbe4bd8c830569f83033f5767c9ed0d07d44d8fe /java/hiddenapi_singleton.go
parent86477cfeb210252e477bcf712d8887c6157a57e8 (diff)
parent12d29b7786824ebc34ff6cc3e0e3b13dcfa27ec0 (diff)
Merge "Move generation of hidden API make vars to platform_bootclasspath"
Diffstat (limited to 'java/hiddenapi_singleton.go')
-rw-r--r--java/hiddenapi_singleton.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/java/hiddenapi_singleton.go b/java/hiddenapi_singleton.go
index 9826baf99..43d54bfd3 100644
--- a/java/hiddenapi_singleton.go
+++ b/java/hiddenapi_singleton.go
@@ -149,15 +149,6 @@ func (h *hiddenAPISingleton) GenerateBuildActions(ctx android.SingletonContext)
}
}
-// Export paths to Make. INTERNAL_PLATFORM_HIDDENAPI_FLAGS is used by Make rules in art/ and cts/.
-func (h *hiddenAPISingleton) MakeVars(ctx android.MakeVarsContext) {
- if ctx.Config().IsEnvTrue("UNSAFE_DISABLE_HIDDENAPI_FLAGS") {
- return
- }
-
- ctx.Strict("INTERNAL_PLATFORM_HIDDENAPI_FLAGS", h.flags.String())
-}
-
// Checks to see whether the supplied module variant is in the list of boot jars.
//
// This is similar to logic in getBootImageJar() so any changes needed here are likely to be needed