Home
last modified time | relevance | path

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

12

/build/soong/rust/config/
Dlints.go90 if override := ctx.Config().Getenv("RUST_DEFAULT_LINTS"); override != "" {
96 if override := ctx.Config().Getenv("CLIPPY_DEFAULT_LINTS"); override != "" {
104 if override := ctx.Config().Getenv("RUST_VENDOR_LINTS"); override != "" {
110 if override := ctx.Config().Getenv("CLIPPY_VENDOR_LINTS"); override != "" {
Dglobal.go101 if override := ctx.Config().Getenv("RUST_PREBUILTS_BASE"); override != "" {
143 if override := ctx.Config().Getenv("RUST_PREBUILTS_VERSION"); override != "" {
/build/soong/cc/config/
Dtidy.go91 if override := config.Getenv("DEFAULT_GLOBAL_TIDY_CHECKS"); override != "" {
153 if override := config.Getenv("DEFAULT_EXTERNAL_VENDOR_TIDY_CHECKS"); override != "" {
176 return config.Getenv("DEFAULT_TIDY_HEADER_DIRS")
181 return config.Getenv("WITH_TIDY_FLAGS")
Dglobal.go456 switch ctx.Config().Getenv("CLANG_DEFAULT_DEBUG_LEVEL") {
536 if override := ctx.Config().Getenv("CC_WRAPPER"); override != "" {
568 if override := ctx.Config().Getenv("LLVM_PREBUILTS_BASE"); override != "" {
572 if override := ctx.Config().Getenv("LLVM_PREBUILTS_VERSION"); override != "" {
/build/soong/shared/
Ddebug.go18 result := os.Getenv("SOONG_DELVE_PATH")
35 isDebugging = os.Getenv("SOONG_DELVE_REEXECUTED") == "true"
/build/soong/ui/logger/
Dlogger_test.go99 if os.Getenv("ACTUALLY_PANIC") == "1" {
131 if os.Getenv("ACTUALLY_FATAL") == "1" {
153 if os.Getenv("ACTUAL_TEST") == "1" {
/build/soong/cmd/release_config/release_config/
Dmain.go40 defaultRelease := os.Getenv("TARGET_RELEASE")
46 flag.StringVar(&product, "product", os.Getenv("TARGET_PRODUCT"), "TARGET_PRODUCT for the build")
/build/soong/java/config/
Dconfig.go128 return ctx.Config().Getenv("ANDROID_JAVA_HOME")
131 if override := ctx.Config().Getenv("OVERRIDE_JLINK_VERSION_NUMBER"); override != "" {
295 return android.PathForSource(ctx, ctx.Config().Getenv("ANDROID_JAVA_HOME"))
/build/soong/ui/build/
Dsoong.go237 if profileCpu := os.Getenv("SOONG_PROFILE_CPU"); profileCpu != "" {
240 if profileMem := os.Getenv("SOONG_PROFILE_MEM"); profileMem != "" {
257 Console: os.Getenv("SOONG_UNBUFFERED_OUTPUT") == "1",
363 delvePort := os.Getenv("SOONG_DELVE")
365 if steps := os.Getenv("SOONG_DELVE_STEPS"); steps != "" {
584 soongBuildEnv.Set("TOP", os.Getenv("TOP"))
588 if os.Getenv("ALLOW_MISSING_DEPENDENCIES") == "true" {
657 ninjaEnv.Set("TOP", os.Getenv("TOP"))
Dproc_sync.go39 if envTimeout := os.Getenv("SOONG_LOCK_TIMEOUT"); envTimeout != "" {
Dconfig.go177 os.Getenv("ANDROID_BUILD_ENVIRONMENT_CONFIG_DIR"),
181 cfgFile := filepath.Join(os.Getenv("TOP"), dir, fmt.Sprintf("%s.%s", bc, jsonSuffix))
193 if os.Getenv(k) != "" {
257 bc := os.Getenv("ANDROID_BUILD_ENVIRONMENT_CONFIG")
280 if os.Getenv("GENERATE_SOONG_DEBUG") == "true" {
603 tidyOnly := os.Getenv("WITH_TIDY_ONLY")
Dproc_sync_test.go122 lockpath := os.Getenv(lockPathVariable)
/build/make/tools/compliance/cmd/checkmetadata/
Dcheckmetadata.go125 …fmt.Fprintf(os.Stderr, "could not write output to %q from %q: %s\n", *outputFile, os.Getenv("PWD")…
143 …return fmt.Errorf("Unable to read project metadata file(s) %q from %q: %w\n", projects, os.Getenv(…
/build/soong/android/
Dbuildinfo_prop.go127 cmd.FlagWithArg("--build-username=", config.Getenv("BUILD_USERNAME"))
135 cmd.FlagWithArg("--date-file=", ctx.Config().Getenv("BUILD_DATETIME_FILE"))
Dtest_config.go35 envCopy["PATH"] = os.Getenv("PATH")
Dconfig.go722 func (c *config) Getenv(key string) string { func
741 ret := c.Getenv(key)
749 value := strings.ToLower(c.Getenv(key))
754 value := strings.ToLower(c.Getenv(key))
1175 return c.Getenv("XREF_CORPUS")
1181 if enc := c.Getenv("KYTHE_KZIP_ENCODING"); enc != "" {
1192 v := c.Getenv("KYTHE_JAVA_SOURCE_BATCH_SIZE")
/build/soong/cmd/release_config/release_config_lib/
Dutil.go184 outEnv := os.Getenv("OUT_DIR")
245 prodMaps = os.Getenv("PRODUCT_RELEASE_CONFIG_MAPS")
/build/make/tools/compliance/cmd/listshare/
Dlistshare.go123 …fmt.Fprintf(os.Stderr, "could not write output to %q from %q: %s\n", *outputFile, os.Getenv("PWD")…
140 …return fmt.Errorf("Unable to read license metadata file(s) %q from %q: %v\n", files, os.Getenv("PW…
/build/make/tools/compliance/cmd/checkshare/
Dcheckshare.go141 …fmt.Fprintf(os.Stderr, "could not write output to %q from %q: %s\n", *outputFile, os.Getenv("PWD")…
158 …return fmt.Errorf("Unable to read license metadata file(s) %q from %q: %w\n", files, os.Getenv("PW…
/build/make/tools/ide_query/
Dide_query.go86 env.OutDir = os.Getenv("OUT_DIR")
87 env.RepoDir = os.Getenv("ANDROID_BUILD_TOP")
88 env.ClangToolsRoot = os.Getenv("PREBUILTS_CLANG_TOOLS_ROOT")
/build/soong/cmd/multiproduct_kati/
Dmain.go199 outDirBase := os.Getenv("OUT_DIR")
208 if distDir := os.Getenv("DIST_DIR"); distDir != "" {
216 value := os.Getenv("SOONG_UI_ANSI_OUTPUT")
/build/soong/cmd/path_interposer/
Dmain_test.go39 origPATH = os.Getenv("PATH")
/build/soong/cuj/
Dcuj.go134 outDir := os.Getenv("OUT_DIR")
/build/soong/java/
Dsdk.go38 dessertShaIsSet := ctx.Config().Getenv("UNBUNDLED_BUILD_TARGET_SDK_WITH_DESSERT_SHA") != ""
51 fingerprintSdkVersion = ctx.Config().Getenv("UNBUNDLED_BUILD_TARGET_SDK_WITH_DESSERT_SHA")
/build/soong/cc/
Dcompdb.go106 if finalLinkDir := ctx.Config().Getenv(envVariableCompdbLink); finalLinkDir != "" {

12