Searched refs:Environment (Results 1 – 22 of 22) sorted by relevance
/build/soong/ui/build/ |
D | environment.go | 28 type Environment []string type 31 func OsEnvironment() *Environment { 32 env := Environment(os.Environ()) 39 func (e *Environment) Get(key string) (string, bool) { 50 func (e *Environment) GetInt(key string) (int, bool) { 61 func (e *Environment) Set(key, value string) { 67 func (e *Environment) Unset(keys ...string) { 79 func (e *Environment) UnsetWithPrefix(prefix string) { 91 func (e *Environment) Allow(keys ...string) { 102 func (e *Environment) Environ() []string { [all …]
|
D | ninja.go | 69 cmd.Environment.AppendFromKati(config.KatiEnvFile()) 74 if extra, ok := cmd.Environment.Get("NINJA_ARGS"); ok { 77 if extra, ok := cmd.Environment.Get("NINJA_EXTRA_ARGS"); ok { 83 if overrideText, ok := cmd.Environment.Get("NINJA_HEARTBEAT_INTERVAL"); ok { 99 if cmd.Environment.IsEnvTrue("ALLOW_NINJA_ENV") { 102 cmd.Environment.Allow(append([]string{ 162 cmd.Environment.Set("DIST_DIR", config.DistDir()) 163 cmd.Environment.Set("SHELL", "/bin/bash") 166 envVars := cmd.Environment.Environ()
|
D | environment_test.go | 24 initial := &Environment{"TEST=1", "TEST2=0"} 33 initial := &Environment{"TEST2=0"} 42 initial := &Environment{} 51 initial := &Environment{"TEST=1"} 60 initial := &Environment{"TEST=1", "TEST2=0", "TEST3=2"} 76 initial := &Environment{"CLANG=/usr/bin/clang", "TEST=0"}
|
D | kati.go | 63 …unKati(ctx Context, config Config, extraSuffix string, args []string, envFunc func(*Environment)) { argument 89 if config.Environment().IsEnvTrue("EMPTY_NINJA_FILE") { 105 envFunc(cmd.Environment) 107 if _, ok := cmd.Environment.Get("BUILD_USERNAME"); !ok { 114 cmd.Environment.Set("BUILD_USERNAME", username) 117 if _, ok := cmd.Environment.Get("BUILD_HOSTNAME"); !ok { 123 cmd.Environment.Set("BUILD_HOSTNAME", hostname) 157 runKati(ctx, config, katiBuildSuffix, args, func(env *Environment) {}) 208 if v, ok := config.Environment().Get("SANITIZE_TARGET"); ok { 231 runKati(ctx, config, katiPackageSuffix, args, func(env *Environment) { [all …]
|
D | soong.go | 42 cmd.Environment.Set("BLUEPRINTDIR", "./build/blueprint") 43 cmd.Environment.Set("BOOTSTRAP", "./build/blueprint/bootstrap.bash") 44 cmd.Environment.Set("BUILDDIR", config.SoongOutDir()) 45 cmd.Environment.Set("GOROOT", "./"+filepath.Join("prebuilts/go", config.HostPrebuiltTag())) 46 cmd.Environment.Set("BLUEPRINT_LIST_FILE", filepath.Join(config.FileListDir(), "Android.bp.list")) 47 cmd.Environment.Set("NINJA_BUILDDIR", config.OutDir()) 48 cmd.Environment.Set("SRCDIR", ".") 49 cmd.Environment.Set("TOPNAME", "Android.bp") 131 cmd.Environment.Set("SOONG_SANDBOX_SOONG_BUILD", "true")
|
D | path.go | 68 origPath, _ := config.Environment().Get("PATH") 71 tmpDir, _ = config.Environment().Get("TMPDIR") 102 config.Environment().Set("PATH", myPath) 114 origPath, _ := config.Environment().Get("PATH") 184 if config.Environment().IsEnvTrue("TEMPORARY_DISABLE_PATH_RESTRICTIONS") { 208 config.Environment().Set("PATH", myPath)
|
D | dumpvars.go | 94 cmd.Environment.Set("CALLED_FROM_SETUP", "true") 96 cmd.Environment.Set("WRITE_SOONG_VARIABLES", "true") 98 cmd.Environment.Set("DUMP_MANY_VARS", strings.Join(vars, " ")) 100 cmd.Environment.Set("TMPDIR", tmpDir) 264 env := config.Environment()
|
D | goma.go | 66 if gomaDir, ok := config.Environment().Get("GOMA_DIR"); ok { 68 } else if home, ok := config.Environment().Get("HOME"); ok { 75 cmd.Environment.Set("DIST_DIR", config.DistDir())
|
D | exec.go | 32 Environment *Environment member 45 Environment: config.Environment().Copy(), 58 c.Env = c.Environment.Environ()
|
D | sandbox_linux.go | 118 cmd.Env = c.config.Environment().Environ() 210 } else if dlv, _ := c.config.Environment().Get("SOONG_DELVE"); dlv != "" { 222 env := Environment(c.Env)
|
D | rbe.go | 40 if rbeDir, ok := config.Environment().Get("RBE_DIR"); ok { 42 } else if home, ok := config.Environment().Get("HOME"); ok {
|
D | rbe_test.go | 56 env := Environment(tt.env) 122 env := &Environment{}
|
D | upload_test.go | 93 environ: &Environment{ 149 environ: &Environment{
|
D | sandbox_darwin.go | 51 homeDir, _ := c.Environment.Get("HOME")
|
D | config.go | 34 environ *Environment 636 func (c *configImpl) Environment() *Environment { func
|
D | cleanbuild.go | 170 if disable, _ := config.Environment().Get("DISABLE_AUTO_INSTALLCLEAN"); disable == "true" {
|
D | build.go | 143 ctx.Verboseln("Environment:", config.Environment().Environ())
|
D | config_test.go | 162 e := Environment(tc.env)
|
/build/soong/cmd/multiproduct_kati/ |
D | main.go | 208 config.Environment().Set("OUT_DIR", *outDir) 416 config.Environment().Set("OUT_DIR", outDir) 418 config.Environment().Set("EMPTY_NINJA_FILE", "true")
|
/build/soong/cmd/soong_ui/ |
D | main.go | 461 if _, ok := config.Environment().Get("ONE_SHOT_MAKEFILE"); ok {
|
/build/ |
D | envsetup.sh | 38 Environment options:
|
/build/make/ |
D | envsetup.sh | 38 Environment options:
|