Merge "Make bgplob an exception to dangling rule check."
This commit is contained in:
commit
9303cd6f87
1 changed files with 5 additions and 1 deletions
|
@ -76,6 +76,9 @@ func testForDanglingRules(ctx Context, config Config) {
|
|||
// out/build_date.txt is considered a "source file"
|
||||
buildDatetimeFilePath := filepath.Join(outDir, "build_date.txt")
|
||||
|
||||
// bpglob is built explicitly using Microfactory
|
||||
bpglob := filepath.Join(config.SoongOutDir(), "bpglob")
|
||||
|
||||
danglingRules := make(map[string]bool)
|
||||
|
||||
scanner := bufio.NewScanner(stdout)
|
||||
|
@ -88,7 +91,8 @@ func testForDanglingRules(ctx Context, config Config) {
|
|||
if strings.HasPrefix(line, modulePathsDir) ||
|
||||
line == variablesFilePath ||
|
||||
line == dexpreoptConfigFilePath ||
|
||||
line == buildDatetimeFilePath {
|
||||
line == buildDatetimeFilePath ||
|
||||
line == bpglob {
|
||||
// Leaf node is in one of Soong's bootstrap directories, which do not have
|
||||
// full build rules in the primary build.ninja file.
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue