Loading ui/build/config.go +0 −16 Original line number Diff line number Diff line Loading @@ -205,19 +205,6 @@ func loadEnvConfig(ctx Context, config *configImpl, bc string) error { return nil } func defaultBazelProdMode(cfg *configImpl) bool { // Environment flag to disable Bazel for users which experience // broken bazel-handled builds, or significant performance regressions. if cfg.IsBazelMixedBuildForceDisabled() { return false } // Darwin-host builds are currently untested with Bazel. if runtime.GOOS == "darwin" { return false } return true } func UploadOnlyConfig(ctx Context, args ...string) Config { ret := &configImpl{ environ: OsEnvironment(), Loading Loading @@ -892,9 +879,6 @@ func (c *configImpl) parseArgs(ctx Context, args []string) { c.arguments = append(c.arguments, arg) } } if (!c.bazelProdMode) && (!c.bazelStagingMode) { c.bazelProdMode = defaultBazelProdMode(c) } } func validateNinjaWeightList(weightListFilePath string) (err error) { Loading Loading
ui/build/config.go +0 −16 Original line number Diff line number Diff line Loading @@ -205,19 +205,6 @@ func loadEnvConfig(ctx Context, config *configImpl, bc string) error { return nil } func defaultBazelProdMode(cfg *configImpl) bool { // Environment flag to disable Bazel for users which experience // broken bazel-handled builds, or significant performance regressions. if cfg.IsBazelMixedBuildForceDisabled() { return false } // Darwin-host builds are currently untested with Bazel. if runtime.GOOS == "darwin" { return false } return true } func UploadOnlyConfig(ctx Context, args ...string) Config { ret := &configImpl{ environ: OsEnvironment(), Loading Loading @@ -892,9 +879,6 @@ func (c *configImpl) parseArgs(ctx Context, args []string) { c.arguments = append(c.arguments, arg) } } if (!c.bazelProdMode) && (!c.bazelStagingMode) { c.bazelProdMode = defaultBazelProdMode(c) } } func validateNinjaWeightList(weightListFilePath string) (err error) { Loading