Home
last modified time | relevance | path

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

12

/build/soong/cc/config/
Dtidy.go29 if override := ctx.Config().Getenv("DEFAULT_GLOBAL_TIDY_CHECKS"); override != "" {
75 if override := ctx.Config().Getenv("DEFAULT_EXTERNAL_VENDOR_TIDY_CHECKS"); override != "" {
95 return ctx.Config().Getenv("DEFAULT_TIDY_HEADER_DIRS")
100 return ctx.Config().Getenv("WITH_TIDY_FLAGS")
Dglobal.go417 if override := ctx.Config().Getenv("CC_WRAPPER"); override != "" {
449 if override := ctx.Config().Getenv("LLVM_PREBUILTS_BASE"); override != "" {
453 if override := ctx.Config().Getenv("LLVM_PREBUILTS_VERSION"); override != "" {
/build/soong/rust/config/
Dlints.go84 if override := ctx.Config().Getenv("RUST_DEFAULT_LINTS"); override != "" {
90 if override := ctx.Config().Getenv("CLIPPY_DEFAULT_LINTS"); override != "" {
98 if override := ctx.Config().Getenv("RUST_VENDOR_LINTS"); override != "" {
104 if override := ctx.Config().Getenv("CLIPPY_VENDOR_LINTS"); override != "" {
Dglobal.go83 if override := ctx.Config().Getenv("RUST_PREBUILTS_BASE"); override != "" {
107 if override := ctx.Config().Getenv("RUST_PREBUILTS_VERSION"); override != "" {
/build/soong/shared/
Ddebug.go18 result := os.Getenv("SOONG_DELVE_PATH")
35 isDebugging = os.Getenv("SOONG_DELVE_REEXECUTED") == "true"
/build/soong/java/config/
Dconfig.go113 return ctx.Config().Getenv("ANDROID_JAVA_HOME")
116 if override := ctx.Config().Getenv("OVERRIDE_JLINK_VERSION_NUMBER"); override != "" {
119 switch ctx.Config().Getenv("EXPERIMENTAL_USE_OPENJDK17_TOOLCHAIN") {
285 return android.PathForSource(ctx, ctx.Config().Getenv("ANDROID_JAVA_HOME"))
/build/soong/ui/build/
Dsoong.go170 debugMode := os.Getenv("SOONG_DELVE") != ""
173 commonArgs = append(commonArgs, "--delve_listen", os.Getenv("SOONG_DELVE"))
206 Console: os.Getenv("SOONG_UNBUFFERED_OUTPUT") == "1",
343 debugCompilation: os.Getenv("SOONG_DELVE") != "",
389 soongBuildEnv.Set("TOP", os.Getenv("TOP"))
399 if os.Getenv("ALLOW_MISSING_DEPENDENCIES") == "true" {
463 ninjaEnv.Set("TOP", os.Getenv("TOP"))
Dproc_sync.go39 if envTimeout := os.Getenv("SOONG_LOCK_TIMEOUT"); envTimeout != "" {
Dconfig.go199 bc := os.Getenv("ANDROID_BUILD_ENVIRONMENT_CONFIG")
210 os.Getenv("ANDROID_BUILD_ENVIRONMENT_CONFIG_DIR"),
214 cfgFile := filepath.Join(os.Getenv("TOP"), dir, fmt.Sprintf("%s.%s", bc, jsonSuffix))
226 if os.Getenv(k) != "" {
554 tidyOnly := os.Getenv("WITH_TIDY_ONLY")
Dproc_sync_test.go122 lockpath := os.Getenv(lockPathVariable)
/build/soong/android/
Dbazel_handler.go262 if len(c.Getenv("BAZEL_HOME")) > 1 {
263 p.homeDir = c.Getenv("BAZEL_HOME")
267 if len(c.Getenv("BAZEL_PATH")) > 1 {
268 p.bazelPath = c.Getenv("BAZEL_PATH")
272 if len(c.Getenv("BAZEL_OUTPUT_BASE")) > 1 {
273 p.outputBase = c.Getenv("BAZEL_OUTPUT_BASE")
277 if len(c.Getenv("BAZEL_WORKSPACE")) > 1 {
278 p.workspaceDir = c.Getenv("BAZEL_WORKSPACE")
282 if len(c.Getenv("BAZEL_METRICS_DIR")) > 1 {
283 p.metricsDir = c.Getenv("BAZEL_METRICS_DIR")
Dconfig.go349 envCopy["PATH"] = os.Getenv("PATH")
657 func (c *config) Getenv(key string) string { func
676 ret := c.Getenv(key)
684 value := c.Getenv(key)
689 value := c.Getenv(key)
1011 return c.Getenv("XREF_CORPUS")
1017 if enc := c.Getenv("KYTHE_KZIP_ENCODING"); enc != "" {
1028 v := c.Getenv("KYTHE_JAVA_SOURCE_BATCH_SIZE")
1948 paths[i] = filepath.Join(cfg.Getenv("OUT_DIR"), "host", cfg.PrebuiltOS(), subdir, name)
/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/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/soong/cmd/multiproduct_kati/
Dmain.go196 outDirBase := os.Getenv("OUT_DIR")
205 if distDir := os.Getenv("DIST_DIR"); distDir != "" {
213 value := os.Getenv("SOONG_UI_ANSI_OUTPUT")
/build/soong/cmd/soong_build/
Dmain.go188 metricsDir := configuration.Getenv("LOG_DIR")
352 if configuration.Getenv("ALLOW_MISSING_DEPENDENCIES") == "true" {
597 metricsDir := configuration.Getenv("LOG_DIR")
/build/soong/cmd/path_interposer/
Dmain_test.go39 origPATH = os.Getenv("PATH")
/build/soong/java/
Ddex.go190 if ctx.Config().Getenv("NO_OPTIMIZE_DX") != "" {
194 if ctx.Config().Getenv("GENERATE_DEX_DEBUG") != "" {
Dlint.go188 if checkOnly := ctx.Config().Getenv("ANDROID_LINT_CHECK"); checkOnly != "" {
189 …if checkOnlyModules := ctx.Config().Getenv("ANDROID_LINT_CHECK_EXTRA_MODULES"); checkOnlyModules !…
442 if checkOnly := ctx.Config().Getenv("ANDROID_LINT_CHECK"); checkOnly != "" {
/build/soong/cuj/
Dcuj.go134 outDir := os.Getenv("OUT_DIR")
/build/soong/cc/
Dcompdb.go106 if finalLinkDir := ctx.Config().Getenv(envVariableCompdbLink); finalLinkDir != "" {
/build/soong/cmd/soong_ui/
Dmain.go122 shared.ReexecWithDelveMaybe(os.Getenv("SOONG_UI_DELVE"), shared.ResolveDelveBinary())
133 output := terminal.NewStatusOutput(c.stdio().Stdout(), os.Getenv("NINJA_STATUS"), c.simpleOutput,
/build/soong/rust/
Dbindgen.go36 if override := ctx.Config().Getenv("LLVM_BINDGEN_PREBUILTS_VERSION"); override != "" {
/build/make/tools/compliance/cmd/rtrace/
Drtrace.go175 …fmt.Fprintf(os.Stderr, "could not write output to %q from %q: %s\n", *outputFile, os.Getenv("PWD")…

12