Merge "Disable verify_overlaps test instead of hiddenapi check." into main
This commit is contained in:
@@ -358,7 +358,7 @@ func buildRuleToGenerateHiddenAPIStubFlagsFile(ctx android.BuilderContext, name,
|
||||
|
||||
// If there are stub flag files that have been generated by fragments on which this depends then
|
||||
// use them to validate the stub flag file generated by the rules created by this method.
|
||||
if len(stubFlagSubsets) > 0 {
|
||||
if !ctx.Config().DisableVerifyOverlaps() && len(stubFlagSubsets) > 0 {
|
||||
validFile := buildRuleValidateOverlappingCsvFiles(ctx, name, desc, outputPath, stubFlagSubsets,
|
||||
HIDDENAPI_STUB_FLAGS_IMPL_FLAGS)
|
||||
|
||||
@@ -1006,7 +1006,7 @@ func buildRuleToGenerateHiddenApiFlags(ctx android.BuilderContext, name, desc st
|
||||
|
||||
// If there are flag files that have been generated by fragments on which this depends then use
|
||||
// them to validate the flag file generated by the rules created by this method.
|
||||
if len(flagSubsets) > 0 {
|
||||
if !ctx.Config().DisableVerifyOverlaps() && len(flagSubsets) > 0 {
|
||||
validFile := buildRuleValidateOverlappingCsvFiles(ctx, name, desc, outputPath, flagSubsets,
|
||||
HIDDENAPI_FLAGS_CSV_IMPL_FLAGS)
|
||||
|
||||
|
Reference in New Issue
Block a user