Merge "[cleanup] remove unused variable."

This commit is contained in:
Treehugger Robot
2022-09-16 18:34:06 +00:00
committed by Gerrit Code Review
2 changed files with 0 additions and 4 deletions

View File

@@ -316,9 +316,6 @@ var (
"device/",
"vendor/",
}
// Directories with warnings from Android.mk files.
WarningAllowedOldProjects = []string{}
)
// BazelCcToolchainVars generates bzl file content containing variables for

View File

@@ -53,7 +53,6 @@ func makeStringOfKeys(ctx android.MakeVarsContext, key android.OnceKey) string {
func makeStringOfWarningAllowedProjects() string {
allProjects := append([]string{}, config.WarningAllowedProjects...)
allProjects = append(allProjects, config.WarningAllowedOldProjects...)
sort.Strings(allProjects)
// Makefile rules use pattern "path/%" to match module paths.
if len(allProjects) > 0 {