Home
last modified time | relevance | path

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

12

/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,
111 env := &Environment{}
112 env.Set("USE_RBE", "true")
[all …]
Dkati.go225 runKati(ctx, config, katiBuildSuffix, args, func(env *Environment) {})
321 runKati(ctx, config, katiPackageSuffix, args, func(env *Environment) {
322 env.Allow([]string{
342 env.Set("DIST", "true")
343 env.Set("DIST_DIR", config.DistDir())
365 }, func(env *Environment) {})
Ddumpvars.go264 env := config.Environment()
266 if !env.IsEnvTrue("ANDROID_QUIET_BUILD") {
273 env.Unset(name)
275 env.Set(name, makeVars[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,
Denvironment.go32 env := Environment(os.Environ())
33 return &env
/build/make/tools/rbcrun/cmd/
Drbcrun.go37 var env []string
42 env = append(env, arg)
57 if len(env) > 0 {
78 err := rbcrun.Run(filename, src, env)
/build/soong/shared/
Ddebug.go46 for _, env := range os.Environ() {
47 idx := strings.IndexRune(env, '=')
49 soongDelveEnv = append(soongDelveEnv, env)
DAndroid.bp9 "env.go",
/build/bazel/examples/android_app/java/com/app/
Djni.cc23 Java_app_Jni_hello(JNIEnv *env, jclass clazz) { in Java_app_Jni_hello() argument
26 return NewStringLatin1(env, (hello + " " + jni).c_str()); in Java_app_Jni_hello()
Djni_dep.cc22 jstring NewStringLatin1(JNIEnv *env, const char *str) { in NewStringLatin1() argument
30 jstring result = env->NewString(str1, len); in NewStringLatin1()
Djni_dep.h21 jstring NewStringLatin1(JNIEnv *env, const char *str);
/build/bazel/rules/
Dlunch.bzl19 # Since we write the env var value literally into a .bzl file, ensure that the string
24 fail("The env var " + env_var + " is not defined.")
44 exports_files(["env.bzl"])
48 rctx.file("env.bzl", "\n".join([
/build/make/tools/product_config/test/com/android/build/config/
DOptionsTest.java27 final HashMap<String, String> env = new HashMap(); in parse() local
28 env.put("TARGET_PRODUCT", "test_product"); in parse()
29 env.put("TARGET_BUILD_VARIANT", "user"); in parse()
30 final Options.Parser parser = new Options.Parser(errors, args, env); in parse()
/build/soong/android/
Dfixture.go304 func FixtureMergeEnv(env map[string]string) FixturePreparer {
306 for k, v := range env {
310 config.env[k] = v
318 func FixtureModifyEnv(mutator func(env map[string]string)) FixturePreparer {
320 oldPath := config.env["PATH"]
321 mutator(config.env)
322 newPath := config.env["PATH"]
791 if len(f.config.env) == 0 {
795 for k, v := range f.config.env {
/build/make/tools/product_config/src/com/android/build/config/
DOptions.java103 public Parser(Errors errors, String[] args, Map<String,String> env) { in Parser() argument
106 mEnv = env; in Parser()
234 public static Options parse(Errors errors, String[] args, Map<String, String> env) { in parse() argument
235 return (new Parser(errors, args, env)).parse(); in parse()
/build/make/tools/rbcrun/
Dhost.go212 func structFromEnv(env []string) *starlarkstruct.Struct {
213 sd := make(map[string]starlark.Value, len(env))
214 for _, x := range env {
221 func setup(env []string) {
225 "rblf_cli": structFromEnv(env),
Dhost_test.go56 func testSetup(t *testing.T, env []string) *starlark.Thread {
57 setup(env)
/build/soong/cc/ndkstubgen/
D.gitignore110 .env
112 env/
115 env.bak/
/build/soong/cc/symbolfile/
D.gitignore110 .env
112 env/
115 env.bak/
/build/soong/cc/ndk_api_coverage_parser/
D.gitignore110 .env
112 env/
115 env.bak/
/build/make/tools/
Dcompare_builds.py333 env = dict(os.environ)
334 env["OUT_DIR"] = out_dir
337 proc = subprocess.Popen(args, env=env, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
341 result = subprocess.run(args, env=env)
/build/soong/rust/
Dproject_json_test.go242 env, ok := crate["env"].(map[string]interface{})
246 if _, ok = env["OUT_DIR"]; !ok {
247 t.Errorf("libd does not have its OUT_DIR set: %v", env)
/build/soong/java/
Dsdk_test.go365 android.FixtureModifyEnv(func(env map[string]string) {
366 if env["ANDROID_JAVA8_HOME"] == "" {
367 env["ANDROID_JAVA8_HOME"] = "jdk8"
/build/blueprint/
Dbootstrap.bash63 [ -z "$GOROOT" ] && GOROOT=`go env GOROOT`

12