Disable Hidden API Checks for ENG Builds
For more discussions/details, please check internal CL ag/24145146 Bug: 289409213 BUg: 285976182 Test: Look for hiddenapi calls in build trace Change-Id: Ia2780ee419b8da1418ba1c7a7d732712b7c2a322
This commit is contained in:
@@ -121,8 +121,8 @@ type hiddenAPISingleton struct {
|
||||
|
||||
// hiddenAPI singleton rules
|
||||
func (h *hiddenAPISingleton) GenerateBuildActions(ctx android.SingletonContext) {
|
||||
// Don't run any hiddenapi rules if UNSAFE_DISABLE_HIDDENAPI_FLAGS=true
|
||||
if ctx.Config().IsEnvTrue("UNSAFE_DISABLE_HIDDENAPI_FLAGS") {
|
||||
// Don't run any hiddenapi rules if hiddenapi checks are disabled
|
||||
if ctx.Config().DisableHiddenApiChecks() {
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user