Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 30e444be authored by Colin Cross's avatar Colin Cross
Browse files

Add --skip-config flag to soong_ui.bash

--skip-config can be combined with --soong-only to skip creating
soong.variables from Make, allowing a custom soong.varibles.

Test: manual
Change-Id: Iee9bfa4efeed801339e7c3c1e4807709485e701a
parent 94b2e705
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -573,6 +573,9 @@ func (c *configImpl) parseArgs(ctx Context, args []string) {
		} else if arg == "--skip-ninja" {
			c.skipNinja = true
		} else if arg == "--skip-make" {
			// TODO(ccross): deprecate this, it has confusing behaviors.  It doesn't run kati,
			//   but it does run a Kati ninja file if the .kati_enabled marker file was created
			//   by a previous build.
			c.skipConfig = true
			c.skipKati = true
		} else if arg == "--skip-kati" {
@@ -581,6 +584,8 @@ func (c *configImpl) parseArgs(ctx Context, args []string) {
		} else if arg == "--soong-only" {
			c.skipKati = true
			c.skipKatiNinja = true
		} else if arg == "--skip-config" {
			c.skipConfig = true
		} else if arg == "--skip-soong-tests" {
			c.skipSoongTests = true
		} else if len(arg) > 0 && arg[0] == '-' {