/build/soong/java/config/ |
D | config.go | 124 pctx.VariableConfigMethod("hostPrebuiltTag", android.Config.PrebuiltOS) 128 return ctx.Config().Getenv("ANDROID_JAVA_HOME") 131 if override := ctx.Config().Getenv("OVERRIDE_JLINK_VERSION_NUMBER"); override != "" { 168 if ctx.Config().AlwaysUsePrebuiltSdks() { 171 return ctx.Config().HostJavaToolPath(ctx, turbine).String() 219 if ctx.Config().AlwaysUsePrebuiltSdks() { 222 return ctx.Config().HostToolPath(ctx, tool).String() 229 if ctx.Config().AlwaysUsePrebuiltSdks() { 232 return ctx.Config().HostJavaToolPath(ctx, tool+".jar").String() 239 if ctx.Config().AlwaysUsePrebuiltSdks() { [all …]
|
/build/soong/cc/config/ |
D | global.go | 435 if ctx.Config().IsEnvTrue("AUTO_ZERO_INITIALIZE") { 437 } else if ctx.Config().IsEnvTrue("AUTO_PATTERN_INITIALIZE") { 439 } else if ctx.Config().IsEnvTrue("AUTO_UNINITIALIZE") { 448 if ctx.Config().IsEnvTrue("USE_CCACHE") { 452 if ctx.Config().IsEnvTrue("ALLOW_UNKNOWN_WARNING_OPTION") { 456 switch ctx.Config().Getenv("CLANG_DEFAULT_DEBUG_LEVEL") { 480 if ctx.Config().IsEnvTrue("LLVM_NEXT") { 536 if override := ctx.Config().Getenv("CC_WRAPPER"); override != "" { 551 var HostPrebuiltTag = pctx.VariableConfigMethod("HostPrebuiltTag", android.Config.PrebuiltOS) 558 return ctx.Config().OnceSourcePath(key, func() android.SourcePath { [all …]
|
D | tidy.go | 90 pctx.VariableConfigMethod("TidyDefaultGlobalChecks", func(config android.Config) string { 152 pctx.VariableConfigMethod("TidyExternalVendorChecks", func(config android.Config) string { 175 pctx.VariableConfigMethod("TidyDefaultHeaderDirs", func(config android.Config) string { 180 pctx.VariableConfigMethod("TidyWithTidyFlags", func(config android.Config) string {
|
/build/soong/android/ |
D | early_module_context.go | 76 Config() Config methodSpec 80 AConfig() Config 107 config Config 139 func (e *earlyModuleContext) Config() Config { func 140 return e.EarlyModuleContext.Config().(Config) 143 func (e *earlyModuleContext) AConfig() Config {
|
D | licenses.go | 99 func moduleToPackageDefaultLicensesMap(config Config) *sync.Map { argument 135 moduleToPackageDefaultLicensesMap(ctx.Config()).Store(dir, c) 270 if !ctx.Config().IsEnvFalse("ANDROID_REQUIRE_LICENSES") { 290 moduleToApplicableLicenses := moduleToPackageDefaultLicensesMap(ctx.Config()) 333 ctx.Config().HostToolPath(ctx, "build_license_metadata").String()) 335 ctx.Config().HostToolPath(ctx, "copy_license_metadata").String()) 336 ctx.Strict("HTMLNOTICE", ctx.Config().HostToolPath(ctx, "htmlnotice").String()) 337 ctx.Strict("XMLNOTICE", ctx.Config().HostToolPath(ctx, "xmlnotice").String()) 338 ctx.Strict("TEXTNOTICE", ctx.Config().HostToolPath(ctx, "textnotice").String()) 339 ctx.Strict("COMPLIANCENOTICE_BOM", ctx.Config().HostToolPath(ctx, "compliancenotice_bom").String()) [all …]
|
D | package_ctx.go | 45 config Config 55 func (e *configErrorWrapper) Config() Config { func 89 configErrorWrapper: configErrorWrapper{p, config.(Config), nil}, 106 ctx := &configErrorWrapper{p, config.(Config), nil} 122 ctx := &configErrorWrapper{p, config.(Config), nil} 127 if ctx.Config().UseRemoteBuild() && params.Pool == nil { 179 return ctx.Config().GetenvWithDefault(env, p.String()) 189 return proptools.NinjaAndShellEscape(ctx.Config().HostToolPath(ctx, path).String()) 199 return proptools.NinjaAndShellEscape(ctx.Config().HostJNIToolPath(ctx, path).String()) 209 return proptools.NinjaAndShellEscape(ctx.Config().HostJavaToolPath(ctx, path).String()) [all …]
|
D | phony.go | 29 func getPhonyMap(config Config) phonyMap { argument 35 func addPhony(config Config, name string, deps ...Path) { argument 50 p.phonyMap = getPhonyMap(ctx.Config()) 56 if !ctx.Config().KatiEnabled() {
|
D | raw_files.go | 68 f, err := os.CreateTemp(absolutePath(ctx.Config().tempDir()), pattern) 111 tempFile := newTempFile(ctx, "raw", ctx.Config().captureBuild) 146 …rawPath := PathForOutput(ctx, "raw"+proptools.String(ctx.Config().productVariables.Make_suffix), r… 152 if ctx.Config().captureBuild { 158 rawFileSet := getRawFileSet(ctx.Config()) 214 func getRawFileSet(config Config) *SyncMap[string, rawFileInfo] { argument 230 rawFileSet := getRawFileSet(ctx.Config()) 243 if ctx.Config().captureBuild { 247 rawFileSet := getRawFileSet(ctx.Config()) 248 …rawFilesDir := PathForOutput(ctx, "raw"+proptools.String(ctx.Config().productVariables.Make_suffix…
|
D | fixture.go | 258 func FixtureModifyConfig(mutator func(config Config)) FixturePreparer { argument 265 func FixtureModifyConfigAndContext(mutator func(config Config, ctx *TestContext)) FixturePreparer { argument 355 return FixtureModifyConfig(func(config Config) { 369 return FixtureModifyConfig(func(config Config) { 386 return FixtureModifyConfig(func(config Config) { 487 RunTestWithConfig(t *testing.T, config Config) *TestResult argument 684 Config() Config methodSpec 706 Config Config member 755 func (t *TestPathContext) Config() Config { func 756 return t.TestResult.Config [all …]
|
D | singleton.go | 25 Config() Config methodSpec 106 if sctx.Config().captureBuild { 139 func (s *singletonContextAdaptor) Config() Config { func 140 return s.SingletonContext.Config().(Config) 144 return DeviceConfig{s.Config().deviceConfig} 152 if s.Config().UseRemoteBuild() { 165 if s.Config().captureBuild { 172 if s.Config().captureBuild { 180 addPhony(s.Config(), name, deps...) 269 rule := effectiveVisibilityRules(s.Config(), depQualified)
|
D | test_config.go | 27 func TestConfig(buildDir string, env map[string]string, bp string, fs map[string][]byte) Config { 76 return Config{config} 79 func modifyTestConfigToSupportArchMutator(testConfig Config) { argument 111 func ModifyTestConfigForMusl(config Config) { argument 124 func modifyTestConfigForMuslArm64HostCross(config Config) { argument 131 func TestArchConfig(buildDir string, env map[string]string, bp string, fs map[string][]byte) Config…
|
D | buildinfo_prop.go | 57 func getBuildVariant(config Config) string { argument 67 func getBuildFlavor(config Config) string { argument 75 func shouldAddBuildThumbprint(config Config) bool { argument 96 if !ctx.Config().KatiEnabled() { 103 config := ctx.Config() 135 cmd.FlagWithArg("--date-file=", ctx.Config().Getenv("BUILD_DATETIME_FILE"))
|
/build/soong/tradefed/ |
D | autogen.go | 61 type Config interface { interface 62 Config() string methodSpec 71 var _ Config = Option{} 73 func (o Option) Config() string { func 88 var _ Config = Object{} 90 func (ob Object) Config() string { func 93 optionStrings = append(optionStrings, option.Config()) 110 …xt, name string, output android.WritablePath, template string, configs []Config, testRunnerConfigs… argument 116 configStrings = append(configStrings, config.Config()) 123 testRunnerConfigStrings = append(testRunnerConfigStrings, config.Config()) [all …]
|
/build/soong/ui/build/ |
D | rbe.go | 41 func rbeCommand(ctx Context, config Config, rbeCmd string) string { argument 56 func getRBEVars(ctx Context, config Config) map[string]string { argument 87 func cleanupRBELogsDir(ctx Context, config Config) { argument 98 func checkRBERequirements(ctx Context, config Config) { argument 116 func startRBE(ctx Context, config Config) { argument 129 func stopRBE(ctx Context, config Config) { argument 142 func prodCredsAuthType(config Config) bool { argument 152 func CheckProdCreds(ctx Context, config Config) { argument 168 func DumpRBEMetrics(ctx Context, config Config, filename string) { argument 204 func PrintOutDirWarning(ctx Context, config Config) { argument
|
D | kati.go | 42 func genKatiSuffix(ctx Context, config Config) { argument 68 func writeValueIfChanged(ctx Context, config Config, dir string, filename string, value string) { argument 86 func runKati(ctx Context, config Config, extraSuffix string, args []string, envFunc func(*Environme… argument 216 func runKatiBuild(ctx Context, config Config) { argument 266 func cleanCopyHeaders(ctx Context, config Config) { argument 309 func cleanOldInstalledFiles(ctx Context, config Config) { argument 328 func runKatiPackage(ctx Context, config Config) { argument 379 func runKatiCleanSpec(ctx Context, config Config) { argument
|
/build/soong/filesystem/ |
D | fsverity_metadata.go | 69 metadataGeneratorPath := ctx.Config().HostToolPath(ctx, "fsverity_metadata_generator") 70 fsverityPath := ctx.Config().HostToolPath(ctx, "fsverity") 96 manifestGeneratorPath := ctx.Config().HostToolPath(ctx, "fsverity_manifest_generator") 120 aapt2Path := ctx.Config().HostToolPath(ctx, "aapt2") 137 minSdkVersion := ctx.Config().PlatformSdkCodename() 139 minSdkVersion = ctx.Config().PlatformSdkVersion().String() 144 sb.WriteString(ctx.Config().PlatformSdkVersion().String()) 146 sb.WriteString(ctx.Config().AppsDefaultVersionName()) 154 apksignerPath := ctx.Config().HostToolPath(ctx, "apksigner") 155 pemPath, keyPath := ctx.Config().DefaultAppCertificate(ctx)
|
/build/soong/java/ |
D | sdk.go | 36 if ctx.Config().UnbundledBuild() && !ctx.Config().AlwaysUsePrebuiltSdks() { 37 apiFingerprintTrue := ctx.Config().IsEnvTrue("UNBUNDLED_BUILD_TARGET_SDK_WITH_API_FINGERPRINT") 38 dessertShaIsSet := ctx.Config().Getenv("UNBUNDLED_BUILD_TARGET_SDK_WITH_DESSERT_SHA") != "" 47 …fingerprintSdkVersion = ctx.Config().PlatformSdkCodename() + fmt.Sprintf(".$$(cat %s)", android.Ap… 51 fingerprintSdkVersion = ctx.Config().Getenv("UNBUNDLED_BUILD_TARGET_SDK_WITH_DESSERT_SHA") 68 } else if ctx.Config().TargetsJava21() { 130 if (!jarPath.Valid() || !aidlPath.Valid()) && ctx.Config().AllowMissingDependencies() { 235 if ctx.Config().AlwaysUsePrebuiltSdks() { 293 if ctx.Config().AllowMissingDependencies() { 332 return ctx.Config().Once(sdkFrameworkAidlPathKey, func() interface{} { [all …]
|
D | legacy_core_platform_api_usage.go | 78 func getLegacyCorePlatformApiLookup(config android.Config) map[string]struct{} { argument 90 lookup := getLegacyCorePlatformApiLookup(ctx.Config())
|
D | android_resources.go | 79 overlayData := ctx.Config().Once(overlayDataKey, func() interface{} { 107 appendOverlayData(ctx.Config().DeviceResourceOverlays(), device) 108 appendOverlayData(ctx.Config().ProductResourceOverlays(), product) 123 if rroEnabled && !ctx.Config().EnforceRROExcludedOverlay(overlayModuleDir.String()) {
|
/build/soong/dexpreopt/ |
D | config.go | 111 return ctx.Config().Once(allPlatformSystemServerJarsKey, func() interface{} { 122 return ctx.Config().Once(allApexSystemServerJarsKey, func() interface{} { 132 return ctx.Config().Once(allSystemServerClasspathJarsKey, func() interface{} { 142 return ctx.Config().Once(allSystemServerJarsKey, func() interface{} { 208 buildDirPrefix := ctx.Config().SoongOutDir() + "/" 290 config := ctx.Config().Once(globalConfigOnceKey, func() interface{} { 291 if data, err := ctx.Config().DexpreoptGlobalConfig(ctx); err != nil { 303 return ctx.Config().Once(testGlobalConfigOnceKey, func() interface{} { 315 if ctx.Config().AllowMissingDependencies() { 336 func SetTestGlobalConfig(config android.Config, globalConfig *GlobalConfig) { argument [all …]
|
/build/make/tools/finalization/ |
D | build_soong_java_droidstubs.go.revert_hack.diff | 20 cmd.FlagWithArg("--current-version ", ctx.Config().PlatformSdkVersion().String()) 22 - // cmd.FlagWithArg("--current-codename ", ctx.Config().PlatformSdkCodename()) 23 + cmd.FlagWithArg("--current-codename ", ctx.Config().PlatformSdkCodename())
|
/build/blueprint/microfactory/ |
D | microfactory_test.go | 31 pkgMap := pkgPathMappingVar{&Config{}} 76 pkgMap := pkgPathMappingVar{&Config{}} 100 setupDir(t, func(config *Config, dir string, loadPkg loadPkgFunc) { 125 modify func(config *Config, dir string, loadPkg loadPkgFunc), argument 130 setupDir(t, func(config *Config, dir string, loadPkg loadPkgFunc) { 211 …testBuildAgain(t, false, false, func(config *Config, dir string, loadPkg loadPkgFunc) {}, func(pkg… 218 testBuildAgain(t, false, false, func(config *Config, dir string, loadPkg loadPkgFunc) { 234 testBuildAgain(t, true, true, func(config *Config, dir string, loadPkg loadPkgFunc) { 251 testBuildAgain(t, true, true, func(config *Config, dir string, loadPkg loadPkgFunc) { 268 testBuildAgain(t, false, true, func(config *Config, dir string, loadPkg loadPkgFunc) { [all …]
|
/build/soong/rust/config/ |
D | lints.go | 90 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 != "" {
|
D | global.go | 101 if override := ctx.Config().Getenv("RUST_PREBUILTS_BASE"); override != "" { 130 func HostPrebuiltTag(config android.Config) string { argument 143 if override := ctx.Config().Getenv("RUST_PREBUILTS_VERSION"); override != "" {
|
/build/soong/cmd/soong_build/ |
D | main.go | 93 func newNameResolver(config android.Config) *android.NameResolver { argument 97 func newContext(configuration android.Config) *android.Context { argument 106 switch ctx.Config().GetenvWithDefault("SOONG_GENERATES_NINJA_HINT", "") { 110 …if _, err := os.Stat(filepath.Join(topDir, ctx.Config().OutDir(), ".ninja_log")); errors.Is(err, o… 121 codegenContext := bp2build.NewCodegenContext(ctx.Config(), ctx, bp2build.QueryView, topDir) 170 weightListFile := filepath.Join(topDir, ctx.Config().OutDir(), ".ninja_weight_list") 179 func writeMetrics(configuration android.Config, eventHandler *metrics.EventHandler, metricsDir stri… argument 203 globDir := bootstrap.GlobDirectory(ctx.Config().SoongOutDir(), globListDir) 209 }, ctx.Config()) 227 switch ctx.Config().BuildMode { [all …]
|