summaryrefslogtreecommitdiff
path: root/java/hiddenapi_singleton.go
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2021-04-29 13:50:01 +0100
committerPaul Duffin <paulduffin@google.com>2021-04-29 15:11:35 +0100
commit12d29b7786824ebc34ff6cc3e0e3b13dcfa27ec0 (patch)
treeb04d18303be4b670a026cc6ed9bd3b685a083b1c /java/hiddenapi_singleton.go
parente3ecce67c14e0edda22938648cb3a797ca2409ef (diff)
Move generation of hidden API make vars to platform_bootclasspath
Bug: 179354495 Test: rm out/soong/make_vars* m nothing grep INTERNAL_PLATFORM_HIDDENAPI_FLAGS out/soong/make_vars* - make sure it is still out/soong/hiddenapi/hiddenapi-flags.csv Change-Id: I86e56512a9a2091f446bad25294d41ea1f4341ee
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