Home
last modified time | relevance | path

Searched refs:env (Results 1 – 25 of 25) sorted by relevance

/build/soong/ui/build/
Drbe_test.go32 env []string
36 env: []string{
41 env: []string{
56 env := Environment(tt.env)
57 env.Set("OUT_DIR", tmpDir)
58 env.Set("RBE_DIR", tmpDir)
59 env.Set("RBE_output_dir", t.TempDir())
61 environ: &env,
122 env := &Environment{}
123 env.Set("USE_RBE", "true")
[all …]
Denvironment.go32 env := Environment(os.Environ())
33 return &env
40 for _, env := range *e {
41 if k, v, ok := decodeKeyValue(env); ok && k == key {
69 for _, env := range *e {
70 if key, _, ok := decodeKeyValue(env); ok && inList(key, keys) {
73 out = append(out, env)
81 for _, env := range *e {
82 if key, _, ok := decodeKeyValue(env); ok && strings.HasPrefix(key, prefix) {
85 out = append(out, env)
[all …]
Dkati.go157 runKati(ctx, config, katiBuildSuffix, args, func(env *Environment) {})
231 runKati(ctx, config, katiPackageSuffix, args, func(env *Environment) {
232 env.Allow([]string{
252 env.Set("DIST", "true")
253 env.Set("DIST_DIR", config.DistDir())
270 }, func(env *Environment) {})
Ddumpvars.go264 env := config.Environment()
266 if !env.IsEnvTrue("ANDROID_QUIET_BUILD") {
273 env.Unset(name)
275 env.Set(name, make_vars[name])
Dsandbox_linux.go222 env := Environment(c.Env)
223 if _, hasUser := env.Get("USER"); hasUser {
224 env.Set("USER", "nobody")
226 c.Env = []string(env)
Dconfig_test.go117 env []string
125 env: []string{"A=bc"},
141 env: []string{"A=a"},
148 env: []string{"A=a"},
162 e := Environment(tc.env)
170 tc.env, tc.args,
175 tc.env, tc.args,
/build/soong/android/
Denv.go48 for _, env := range os.Environ() {
49 idx := strings.IndexRune(env, '=')
51 originalEnv[env[:idx]] = env[idx+1:]
52 if env[:idx] != "SOONG_DELVE" {
53 soongDelveEnv = append(soongDelveEnv, env)
113 data, err := env.EnvFileContents(envDeps)
DAndroid.bp9 "soong-env",
59 "env.go",
Dconfig.go100 env map[string]string member
213 func TestConfig(buildDir string, env map[string]string, bp string, fs map[string][]byte) Config {
215 for k, v := range env {
237 env: envCopy,
257 func TestArchConfigNativeBridge(buildDir string, env map[string]string, bp string, fs map[string][]…
258 testConfig := TestArchConfig(buildDir, env, bp, fs)
271 func TestArchConfigFuchsia(buildDir string, env map[string]string, bp string, fs map[string][]byte)…
272 testConfig := TestConfig(buildDir, env, bp, fs)
288 func TestArchConfig(buildDir string, env map[string]string, bp string, fs map[string][]byte) Config…
289 testConfig := TestConfig(buildDir, env, bp, fs)
[all …]
Dpackage_ctx.go158 func (p PackageContext) SourcePathVariableWithEnvOverride(name, path, env string) blueprint.Variabl…
164 return ctx.Config().GetenvWithDefault(env, p.String())
/build/soong/java/
Dtesting.go30 func TestConfig(buildDir string, env map[string]string, bp string, fs map[string][]byte) android.Co…
108 if env == nil {
109 env = make(map[string]string)
111 if env["ANDROID_JAVA8_HOME"] == "" {
112 env["ANDROID_JAVA8_HOME"] = "jdk8"
114 config := android.TestArchConfig(buildDir, env, bp, mockFS)
Djava_test.go62 func testConfig(env map[string]string, bp string, fs map[string][]byte) android.Config {
65 config := TestConfig(buildDir, env, bp, fs)
Dapp_test.go46 func testAppConfig(env map[string]string, bp string, fs map[string][]byte) android.Config {
56 return testConfig(env, bp, appFS)
/build/soong/env/
DAndroid.bp2 name: "soong-env",
3 pkgPath: "android/soong/env",
5 "env.go",
Denv.go17 package env package
/build/soong/rust/
Dproject_json_test.go32 env := map[string]string{"SOONG_GEN_RUST_PROJECT": "1"}
40 config := android.TestArchConfig(buildDir, env, bp, fs)
/build/soong/bpf/
Dbpf_test.go51 func testConfig(buildDir string, env map[string]string, bp string) android.Config {
57 return cc.TestConfig(buildDir, android.Android, env, bp, mockFS)
/build/soong/cmd/soong_env/
Dsoong_env.go44 stale, err := env.StaleEnvFile(flag.Arg(0))
DAndroid.bp18 "soong-env",
/build/soong/cc/
Dtesting.go536 func TestConfig(buildDir string, os android.OsType, env map[string]string,
552 config = android.TestArchConfigFuchsia(buildDir, env, bp, mockFS)
554 config = android.TestArchConfig(buildDir, env, bp, mockFS)
/build/blueprint/
Dbootstrap.bash63 [ -z "$GOROOT" ] && GOROOT=`go env GOROOT`
/build/soong/cmd/soong_build/
DAndroid.bp23 "soong-env",
/build/soong/sysprop/
Dsysprop_test.go92 func testConfig(env map[string]string, bp string, fs map[string][]byte) android.Config {
141 config := java.TestConfig(buildDir, env, bp, mockFS)
/build/soong/ui/terminal/
Dsmart_status.go74 if env, ok := os.LookupEnv(tableHeightEnVar); ok {
75 h, _ := strconv.Atoi(env)
/build/make/
DChanges.md432 envsh := $(intermediates)/env.sh