Move hiddenapi singleton rules to Soong
Move the rules that build hiddenapi-stubs-flags.txt, hiddenapi-flags.csv and hiddenapi-greylist.csv into Soong. Bug: 123645297 Test: m checkbuild Test: m UNSAFE_DISABLE_HIDDEN_API_FLAGS=true Change-Id: I90bf58710f6153ee8565994f799d3ec5699bc7fa
This commit is contained in:
@@ -33,6 +33,12 @@ var (
|
||||
DefaultLambdaStubsLibrary = "core-lambda-stubs"
|
||||
SdkLambdaStubsPath = "prebuilts/sdk/tools/core-lambda-stubs.jar"
|
||||
|
||||
// A list of the jars that provide information about usages of the hidden API.
|
||||
HiddenAPIExtraAppUsageJars = []string{
|
||||
// The core-oj-hiddenapi provides information for the core-oj jar.
|
||||
"core-oj-hiddenapi",
|
||||
}
|
||||
|
||||
DefaultJacocoExcludeFilter = []string{"org.junit.*", "org.jacoco.*", "org.mockito.*"}
|
||||
|
||||
InstrumentFrameworkModules = []string{
|
||||
@@ -107,6 +113,7 @@ func init() {
|
||||
pctx.HostBinToolVariable("ApiCheckCmd", "apicheck")
|
||||
pctx.HostBinToolVariable("D8Cmd", "d8")
|
||||
pctx.HostBinToolVariable("R8Cmd", "r8-compat-proguard")
|
||||
pctx.HostBinToolVariable("HiddenAPICmd", "hiddenapi")
|
||||
|
||||
pctx.VariableFunc("TurbineJar", func(ctx android.PackageVarContext) string {
|
||||
turbine := "turbine.jar"
|
||||
|
Reference in New Issue
Block a user