aboutsummaryrefslogtreecommitdiffstats
path: root/ui/build/build.go
diff options
context:
space:
mode:
Diffstat (limited to 'ui/build/build.go')
-rw-r--r--ui/build/build.go11
1 files changed, 3 insertions, 8 deletions
diff --git a/ui/build/build.go b/ui/build/build.go
index 78eb6a32..0df22b34 100644
--- a/ui/build/build.go
+++ b/ui/build/build.go
@@ -68,7 +68,6 @@ const (
BuildSoong = 1 << iota
BuildKati = 1 << iota
BuildNinja = 1 << iota
- RunBuildTests = 1 << iota
BuildAll = BuildProductConfig | BuildSoong | BuildKati | BuildNinja
)
@@ -173,18 +172,14 @@ func Build(ctx Context, config Config, what int) {
}
}
- // Write combined ninja file
- createCombinedBuildNinjaFile(ctx, config)
-
- if what&RunBuildTests != 0 {
- testForDanglingRules(ctx, config)
- }
-
if what&BuildNinja != 0 {
if !config.SkipMake() {
installCleanIfNecessary(ctx, config)
}
+ // Write combined ninja file
+ createCombinedBuildNinjaFile(ctx, config)
+
// Run ninja
runNinja(ctx, config)
}