Move bpglob to .bootstrap from .minibootstrap.
Test: Presubmits. Change-Id: If6315e497cdc0e6c0f348eb9d4b596ebd13d6303
This commit is contained in:
@@ -227,11 +227,9 @@ func runSoong(ctx Context, config Config) {
|
||||
// unused variables were changed?
|
||||
envFile := filepath.Join(config.SoongOutDir(), availableEnvFile)
|
||||
|
||||
for _, n := range []string{".bootstrap", ".minibootstrap"} {
|
||||
dir := filepath.Join(config.SoongOutDir(), n)
|
||||
if err := os.MkdirAll(dir, 0755); err != nil {
|
||||
ctx.Fatalf("Cannot mkdir " + dir)
|
||||
}
|
||||
dir := filepath.Join(config.SoongOutDir(), ".bootstrap")
|
||||
if err := os.MkdirAll(dir, 0755); err != nil {
|
||||
ctx.Fatalf("Cannot mkdir " + dir)
|
||||
}
|
||||
|
||||
buildMode := config.bazelBuildMode()
|
||||
@@ -272,7 +270,7 @@ func runSoong(ctx Context, config Config) {
|
||||
}
|
||||
}()
|
||||
|
||||
runMicrofactory(ctx, config, ".minibootstrap/bpglob", "github.com/google/blueprint/bootstrap/bpglob",
|
||||
runMicrofactory(ctx, config, ".bootstrap/bpglob", "github.com/google/blueprint/bootstrap/bpglob",
|
||||
map[string]string{"github.com/google/blueprint": "build/blueprint"})
|
||||
|
||||
ninja := func(name, ninjaFile string, targets ...string) {
|
||||
|
@@ -65,7 +65,6 @@ func testForDanglingRules(ctx Context, config Config) {
|
||||
|
||||
outDir := config.OutDir()
|
||||
bootstrapDir := filepath.Join(outDir, "soong", ".bootstrap")
|
||||
miniBootstrapDir := filepath.Join(outDir, "soong", ".minibootstrap")
|
||||
modulePathsDir := filepath.Join(outDir, ".module_paths")
|
||||
variablesFilePath := filepath.Join(outDir, "soong", "soong.variables")
|
||||
|
||||
@@ -89,7 +88,6 @@ func testForDanglingRules(ctx Context, config Config) {
|
||||
continue
|
||||
}
|
||||
if strings.HasPrefix(line, bootstrapDir) ||
|
||||
strings.HasPrefix(line, miniBootstrapDir) ||
|
||||
strings.HasPrefix(line, modulePathsDir) ||
|
||||
line == variablesFilePath ||
|
||||
line == dexpreoptConfigFilePath ||
|
||||
|
Reference in New Issue
Block a user