diff options
Diffstat (limited to 'ui/build/config.go')
-rw-r--r-- | ui/build/config.go | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/ui/build/config.go b/ui/build/config.go index 5d1505abc..084d28d83 100644 --- a/ui/build/config.go +++ b/ui/build/config.go @@ -70,7 +70,6 @@ type configImpl struct { checkbuild bool dist bool jsonModuleGraph bool - apiBp2build bool // Generate BUILD files for Soong modules that contribute APIs bp2build bool queryview bool reportMkMetrics bool // Collect and report mk2bp migration progress metrics. @@ -869,8 +868,6 @@ func (c *configImpl) parseArgs(ctx Context, args []string) { c.jsonModuleGraph = true } else if arg == "bp2build" { c.bp2build = true - } else if arg == "api_bp2build" { - c.apiBp2build = true } else if arg == "queryview" { c.queryview = true } else if arg == "soong_docs" { @@ -970,7 +967,7 @@ func (c *configImpl) SoongBuildInvocationNeeded() bool { return true } - if !c.JsonModuleGraph() && !c.Bp2Build() && !c.Queryview() && !c.SoongDocs() && !c.ApiBp2build() { + if !c.JsonModuleGraph() && !c.Bp2Build() && !c.Queryview() && !c.SoongDocs() { // Command line was empty, the default Ninja target is built return true } @@ -1068,10 +1065,6 @@ func (c *configImpl) QueryviewMarkerFile() string { return shared.JoinPath(c.SoongOutDir(), "queryview.marker") } -func (c *configImpl) ApiBp2buildMarkerFile() string { - return shared.JoinPath(c.SoongOutDir(), "api_bp2build.marker") -} - func (c *configImpl) ModuleGraphFile() string { return shared.JoinPath(c.SoongOutDir(), "module-graph.json") } @@ -1113,10 +1106,6 @@ func (c *configImpl) Bp2Build() bool { return c.bp2build } -func (c *configImpl) ApiBp2build() bool { - return c.apiBp2build -} - func (c *configImpl) Queryview() bool { return c.queryview } @@ -1308,7 +1297,7 @@ func (c *configImpl) canSupportRBE() bool { func (c *configImpl) UseRBE() bool { // These alternate modes of running Soong do not use RBE / reclient. - if c.Bp2Build() || c.Queryview() || c.ApiBp2build() || c.JsonModuleGraph() { + if c.Bp2Build() || c.Queryview() || c.JsonModuleGraph() { return false } |