Home
last modified time | relevance | path

Searched refs:Config (Results 1 – 25 of 228) sorted by relevance

12345678910

/build/soong/java/config/
Dconfig.go109 pctx.VariableConfigMethod("hostPrebuiltTag", android.Config.PrebuiltOS)
113 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") {
155 if ctx.Config().AlwaysUsePrebuiltSdks() {
158 return ctx.Config().HostJavaToolPath(ctx, turbine).String()
203 func BazelJavaToolchainVars(config android.Config) string { argument
209 if ctx.Config().AlwaysUsePrebuiltSdks() {
212 return ctx.Config().HostToolPath(ctx, tool).String()
219 if ctx.Config().AlwaysUsePrebuiltSdks() {
[all …]
/build/soong/cc/config/
Dglobal.go304 func BazelCcToolchainVars(config android.Config) string { argument
342 if ctx.Config().IsEnvTrue("AUTO_ZERO_INITIALIZE") {
344 } else if ctx.Config().IsEnvTrue("AUTO_PATTERN_INITIALIZE") {
346 } else if ctx.Config().IsEnvTrue("AUTO_UNINITIALIZE") {
355 if ctx.Config().IsEnvTrue("USE_CCACHE") {
417 if override := ctx.Config().Getenv("CC_WRAPPER"); override != "" {
432 var HostPrebuiltTag = exportedVars.ExportVariableConfigMethod("HostPrebuiltTag", android.Config.Pre…
439 return ctx.Config().OnceSourcePath(key, func() android.SourcePath {
447 return ctx.Config().OnceSourcePath(clangPathKey, func() android.SourcePath {
449 if override := ctx.Config().Getenv("LLVM_PREBUILTS_BASE"); override != "" {
[all …]
Dtidy.go29 if override := ctx.Config().Getenv("DEFAULT_GLOBAL_TIDY_CHECKS"); override != "" {
66 if ctx.Config().IsEnvTrue("CLANG_ANALYZER_CHECKS") {
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")
/build/soong/tradefed/
Dautogen.go61 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 …d.ModuleContext, output android.WritablePath, template string, configs []Config, testInstallBase s… argument
114 …xt, name string, output android.WritablePath, template string, configs []Config, testInstallBase s… argument
118 …xt, name string, output android.WritablePath, template string, configs []Config, outputFileName st… argument
[all …]
/build/soong/android/
Dpackage_ctx.go45 config Config
55 func (e *configErrorWrapper) Config() Config { func
79 ctx := &configErrorWrapper{p, config.(Config), nil}
94 ctx := &configErrorWrapper{p, config.(Config), nil}
110 ctx := &configErrorWrapper{p, config.(Config), nil}
115 if ctx.Config().UseRemoteBuild() && params.Pool == nil {
167 return ctx.Config().GetenvWithDefault(env, p.String())
177 return proptools.NinjaAndShellEscape(ctx.Config().HostToolPath(ctx, path).String())
187 return proptools.NinjaAndShellEscape(ctx.Config().HostJNIToolPath(ctx, path).String())
197 return proptools.NinjaAndShellEscape(ctx.Config().HostJavaToolPath(ctx, path).String())
[all …]
Dlicenses.go99 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())
332 ctx.Config().HostToolPath(ctx, "build_license_metadata").String())
333 ctx.Strict("HTMLNOTICE", ctx.Config().HostToolPath(ctx, "htmlnotice").String())
334 ctx.Strict("XMLNOTICE", ctx.Config().HostToolPath(ctx, "xmlnotice").String())
335 ctx.Strict("TEXTNOTICE", ctx.Config().HostToolPath(ctx, "textnotice").String())
336 ctx.Strict("COMPLIANCENOTICE_BOM", ctx.Config().HostToolPath(ctx, "compliancenotice_bom").String())
337 …ctx.Strict("COMPLIANCENOTICE_SHIPPEDLIBS", ctx.Config().HostToolPath(ctx, "compliancenotice_shippe…
[all …]
Dsingleton.go23 Config() Config methodSpec
105 if sctx.Config().captureBuild {
134 func (s *singletonContextAdaptor) Config() Config { func
135 return s.SingletonContext.Config().(Config)
139 return DeviceConfig{s.Config().deviceConfig}
147 if s.Config().UseRemoteBuild() {
160 if s.Config().captureBuild {
167 if s.Config().captureBuild {
180 addPhony(s.Config(), name, deps...)
Dapi_levels.go198 func ReplaceFinalizedCodenames(config Config, raw string) string { argument
222 return ApiLevelFromUserWithConfig(ctx.Config(), raw)
227 func ApiLevelFromUserWithConfig(config Config, raw string) (ApiLevel, error) { argument
307 func getFinalCodenamesMap(config Config) map[string]int { argument
352 func GetApiLevelsMap(config Config) map[string]int { argument
384 apiLevelsMap := GetApiLevelsMap(ctx.Config())
389 func printApiLevelsStarlarkDict(config Config) string { argument
398 func StarlarkApiLevelConfigs(config Config) string { argument
Dphony.go29 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() {
Dfixture.go217 func FixtureModifyConfig(mutator func(config Config)) FixturePreparer { argument
224 func FixtureModifyConfigAndContext(mutator func(config Config, ctx *TestContext)) FixturePreparer { argument
305 return FixtureModifyConfig(func(config Config) {
319 return FixtureModifyConfig(func(config Config) {
336 return FixtureModifyConfig(func(config Config) {
416 RunTestWithConfig(t *testing.T, config Config) *TestResult argument
599 Config() Config methodSpec
621 Config Config member
680 func (b *baseFixturePreparer) RunTestWithConfig(t *testing.T, config Config) *TestResult {
710 config Config
[all …]
Dmetrics.go34 func ReadSoongMetrics(config Config) SoongMetrics { argument
54 ctx.Config().Once(soongMetricsOnceKey, func() interface{} {
59 func collectMetrics(config Config, eventHandler metrics.EventHandler) *soong_metrics_proto.SoongBui… argument
85 func WriteMetrics(config Config, eventHandler metrics.EventHandler, metricsFile string) error { argument
Dconfig_bp2build_test.go29 config Config
119 "a": func(c Config) string { return c.BuildOS.String() },
120 "b": func(c Config) string { return c.BuildArch.String() },
133 "os": func(c Config) string { return c.BuildOS.String() },
134 "arch": func(c Config) string { return c.BuildArch.String() },
135 "foo": func(c Config) string { return "foo" },
162 config Config
Dsdk_version.go157 return ctx.Config().AlwaysUsePrebuiltSdks()
184 ret := ctx.Config().DefaultAppTargetSdk(ctx)
205 return ctx.Config().DefaultAppTargetSdk(ctx).String(), nil
215 return SdkSpecFromWithConfig(ctx.Config(), str)
218 func SdkSpecFromWithConfig(config Config, str string) SdkSpec { argument
275 …if ctx.DeviceSpecific() || ctx.SocSpecific() || (ctx.ProductSpecific() && ctx.Config().EnforceProd…
/build/soong/java/
Ddexpreopt_config.go29 for _, target := range ctx.Config().Targets[android.Android] {
35 for _, target := range ctx.Config().Targets[ctx.Config().BuildOS] {
50 return ctx.Config().Once(bootImageConfigRawKey, func() interface{} {
90 return ctx.Config().Once(bootImageConfigKey, func() interface{} {
92 deviceDir := android.PathForOutput(ctx, ctx.Config().DeviceName())
125 dexLocations: c.modules.DevicePaths(ctx.Config(), target.Os),
177 return ctx.Config().Once(updatableBootConfigKey, func() interface{} {
180 dir := android.PathForOutput(ctx, ctx.Config().DeviceName(), "apex_bootjars")
184 dexLocations := apexBootJars.DevicePaths(ctx.Config(), android.Android)
Dsdk.go41 if ctx.Config().UnbundledBuild() &&
42 !ctx.Config().AlwaysUsePrebuiltSdks() &&
43 ctx.Config().IsEnvTrue("UNBUNDLED_BUILD_TARGET_SDK_WITH_API_FINGERPRINT") {
115 if (!jarPath.Valid() || !aidlPath.Valid()) && ctx.Config().AllowMissingDependencies() {
242 ctx.Config().Once(sdkVersionsKey, func() interface{} { return sdkVersions })
246 sdkVersions := ctx.Config().Get(sdkVersionsKey).([]int)
261 if ctx.Config().AlwaysUsePrebuiltSdks() {
320 if ctx.Config().AllowMissingDependencies() {
359 return ctx.Config().Once(sdkFrameworkAidlPathKey, func() interface{} {
365 return ctx.Config().Once(nonUpdatableFrameworkAidlPathKey, func() interface{} {
[all …]
Dandroid_resources.go87 overlayData := ctx.Config().Get(overlayDataKey).([]overlayGlobResult)
100 if rroEnabled && !ctx.Config().EnforceRROExcludedOverlay(overlayModuleDir.String()) {
148 appendOverlayData(ctx.Config().DeviceResourceOverlays(), device)
149 appendOverlayData(ctx.Config().ProductResourceOverlays(), product)
150 ctx.Config().Once(overlayDataKey, func() interface{} {
Dhiddenapi_singleton.go101 return ctx.Config().Once(hiddenAPISingletonPathsKey, func() interface{} {
125 if ctx.Config().IsEnvTrue("UNSAFE_DISABLE_HIDDENAPI_FLAGS") {
137 if ctx.Config().PrebuiltHiddenApiDir(ctx) != "" {
184 …inputPath := android.PathForSource(ctx, ctx.Config().PrebuiltHiddenApiDir(ctx), "hiddenapi-flags.c…
195 …inputPath := android.PathForSource(ctx, ctx.Config().PrebuiltHiddenApiDir(ctx), "hiddenapi-index.c…
/build/soong/dexpreopt/
Dconfig.go108 return ctx.Config().Once(allPlatformSystemServerJarsKey, func() interface{} {
119 return ctx.Config().Once(allApexSystemServerJarsKey, func() interface{} {
129 return ctx.Config().Once(allSystemServerClasspathJarsKey, func() interface{} {
139 return ctx.Config().Once(allSystemServerJarsKey, func() interface{} {
206 buildDirPrefix := ctx.Config().SoongOutDir() + "/"
278 return ctx.Config().Once(globalConfigOnceKey, func() interface{} {
279 if data, err := ctx.Config().DexpreoptGlobalConfig(ctx); err != nil {
290 return ctx.Config().Once(testGlobalConfigOnceKey, func() interface{} {
304 func SetTestGlobalConfig(config android.Config, globalConfig *GlobalConfig) { argument
399 func dex2oatModuleName(config android.Config) string { argument
[all …]
/build/blueprint/microfactory/
Dmicrofactory_test.go31 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/ui/build/
Dkati.go43 func genKatiSuffix(ctx Context, config Config) { argument
72 func runKati(ctx Context, config Config, extraSuffix string, args []string, envFunc func(*Environme… argument
190 func runKatiBuild(ctx Context, config Config) { argument
240 func cleanCopyHeaders(ctx Context, config Config) { argument
283 func cleanOldInstalledFiles(ctx Context, config Config) { argument
302 func runKatiPackage(ctx Context, config Config) { argument
352 func runKatiCleanSpec(ctx Context, config Config) { argument
Drbe.go42 func rbeCommand(ctx Context, config Config, rbeCmd string) string { argument
75 func getRBEVars(ctx Context, config Config) map[string]string { argument
103 func startRBE(ctx Context, config Config) { argument
121 func stopRBE(ctx Context, config Config) { argument
138 func DumpRBEMetrics(ctx Context, config Config, filename string) { argument
174 func PrintOutDirWarning(ctx Context, config Config) { argument
/build/soong/rust/config/
Dglobal.go80 pctx.VariableConfigMethod("HostPrebuiltTag", android.Config.PrebuiltOS)
83 if override := ctx.Config().Getenv("RUST_PREBUILTS_BASE"); override != "" {
107 if override := ctx.Config().Getenv("RUST_PREBUILTS_VERSION"); override != "" {
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 != "" {
/build/soong/cc/
Drs.go28 if ctx.Config().AlwaysUsePrebuiltSdks() {
32 return ctx.Config().HostToolPath(ctx, "llvm-rs-cc").String()
Dsysprop.go52 func syspropImplLibraries(config android.Config) map[string]string { argument
61 syspropImplLibraries := syspropImplLibraries(mctx.Config())

12345678910