Home
last modified time | relevance | path

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

12

/build/soong/cc/config/
Dtidy.go29 if override := ctx.Config().Getenv("DEFAULT_GLOBAL_TIDY_CHECKS"); override != "" {
73 if override := ctx.Config().Getenv("DEFAULT_EXTERNAL_VENDOR_TIDY_CHECKS"); override != "" {
93 return ctx.Config().Getenv("DEFAULT_TIDY_HEADER_DIRS")
98 return ctx.Config().Getenv("WITH_TIDY_FLAGS")
Dglobal.go243 if override := ctx.Config().Getenv("LLVM_PREBUILTS_BASE"); override != "" {
249 if override := ctx.Config().Getenv("LLVM_PREBUILTS_VERSION"); override != "" {
258 if override := ctx.Config().Getenv("LLVM_RELEASE_VERSION"); override != "" {
280 if override := ctx.Config().Getenv("CC_WRAPPER"); override != "" {
299 if override := ctx.Config().Getenv(envVar); override != "" {
Dx86_darwin_host.go156 if selected := ctx.Config().Getenv("MAC_SDK_VERSION"); selected != "" {
/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.go81 if override := ctx.Config().Getenv("RUST_PREBUILTS_BASE"); override != "" {
88 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/android/
Dbazel_handler.go208 if c.Getenv("USE_BAZEL_ANALYSIS") != "1" {
228 if len(c.Getenv("BAZEL_HOME")) > 1 {
229 p.homeDir = c.Getenv("BAZEL_HOME")
233 if len(c.Getenv("BAZEL_PATH")) > 1 {
234 p.bazelPath = c.Getenv("BAZEL_PATH")
238 if len(c.Getenv("BAZEL_OUTPUT_BASE")) > 1 {
239 p.outputBase = c.Getenv("BAZEL_OUTPUT_BASE")
243 if len(c.Getenv("BAZEL_WORKSPACE")) > 1 {
244 p.workspaceDir = c.Getenv("BAZEL_WORKSPACE")
248 if len(c.Getenv("BAZEL_METRICS_DIR")) > 1 {
[all …]
Dconfig.go252 envCopy["PATH"] = os.Getenv("PATH")
571 func (c *config) Getenv(key string) string { func
590 ret := c.Getenv(key)
598 value := c.Getenv(key)
603 value := c.Getenv(key)
892 return c.Getenv("XREF_CORPUS")
898 if enc := c.Getenv("KYTHE_KZIP_ENCODING"); enc != "" {
909 v := c.Getenv("KYTHE_JAVA_SOURCE_BATCH_SIZE")
1738 paths[i] = filepath.Join(cfg.Getenv("OUT_DIR"), "host", cfg.PrebuiltOS(), subdir, name)
/build/soong/ui/build/
Dsoong.go124 args.DelveListen = os.Getenv("SOONG_DELVE")
170 srcDir: os.Getenv("TOP"),
173 debugCompilation: os.Getenv("SOONG_DELVE") != "",
217 soongBuildEnv.Set("TOP", os.Getenv("TOP"))
226 if os.Getenv("ALLOW_MISSING_DEPENDENCIES") == "true" {
288 ninjaEnv.Set("TOP", os.Getenv("TOP"))
Dproc_sync.go39 if envTimeout := os.Getenv("SOONG_LOCK_TIMEOUT"); envTimeout != "" {
Dproc_sync_test.go122 lockpath := os.Getenv(lockPathVariable)
/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/java/config/
Dconfig.go98 return ctx.Config().Getenv("ANDROID_JAVA_HOME")
101 if override := ctx.Config().Getenv("OVERRIDE_JLINK_VERSION_NUMBER"); override != "" {
261 return android.PathForSource(ctx, ctx.Config().Getenv("ANDROID_JAVA_HOME"))
/build/soong/cmd/soong_ui/
Dmain.go120 bc := os.Getenv("ANDROID_BUILD_ENVIRONMENT_CONFIG")
124 cfgFile := filepath.Join(os.Getenv("TOP"), configDir, fmt.Sprintf("%s.%s", bc, jsonSuffix))
137 if os.Getenv(k) != "" {
154 shared.ReexecWithDelveMaybe(os.Getenv("SOONG_UI_DELVE"), shared.ResolveDelveBinary())
165 output := terminal.NewStatusOutput(c.stdio().Stdout(), os.Getenv("NINJA_STATUS"), c.simpleOutput,
/build/soong/java/
Ddex.go177 if ctx.Config().Getenv("NO_OPTIMIZE_DX") != "" {
181 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 !…
441 if checkOnly := ctx.Config().Getenv("ANDROID_LINT_CHECK"); checkOnly != "" {
/build/soong/cmd/path_interposer/
Dmain_test.go39 origPATH = os.Getenv("PATH")
/build/soong/cmd/soong_build/
Dmain.go181 jsonModuleFile := configuration.Getenv("SOONG_DUMP_JSON_MODULE_GRAPH")
268 if configuration.Getenv("ALLOW_MISSING_DEPENDENCIES") == "true" {
/build/soong/cuj/
Dcuj.go133 outDir := os.Getenv("OUT_DIR")
/build/soong/cc/
Dcompdb.go106 if finalLinkDir := ctx.Config().Getenv(envVariableCompdbLink); finalLinkDir != "" {
Dpgo.go240 pgoBenchmarks := ctx.Config().Getenv("ANDROID_PGO_INSTRUMENT")
Dcmakelists.go88 return ctx.Config().Getenv(name)
/build/soong/rust/
Dbindgen.go35 if override := ctx.Config().Getenv("LLVM_BINDGEN_PREBUILTS_VERSION"); override != "" {
/build/soong/cmd/sbox/
Dsbox.go266 path := os.Getenv("PATH")
/build/soong/dexpreopt/
Dconfig.go358 if config.Getenv("USE_DEX2OAT_DEBUG") == "false" {

12