Home
last modified time | relevance | path

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

123456789

/build/soong/java/config/
Dconfig.go94 pctx.VariableConfigMethod("hostPrebuiltTag", android.Config.PrebuiltOS)
98 return ctx.Config().Getenv("ANDROID_JAVA_HOME")
101 if override := ctx.Config().Getenv("OVERRIDE_JLINK_VERSION_NUMBER"); override != "" {
135 if ctx.Config().AlwaysUsePrebuiltSdks() {
138 return ctx.Config().HostJavaToolPath(ctx, turbine).String()
185 if ctx.Config().AlwaysUsePrebuiltSdks() {
188 return ctx.Config().HostToolPath(ctx, tool).String()
195 if ctx.Config().AlwaysUsePrebuiltSdks() {
198 return ctx.Config().HostJavaToolPath(ctx, tool+".jar").String()
205 if ctx.Config().AlwaysUsePrebuiltSdks() {
[all …]
/build/soong/cc/config/
Dglobal.go195 if ctx.Config().IsEnvTrue("AUTO_ZERO_INITIALIZE") {
197 } else if ctx.Config().IsEnvTrue("AUTO_PATTERN_INITIALIZE") {
199 } else if ctx.Config().IsEnvTrue("AUTO_UNINITIALIZE") {
214 if ctx.Config().Fuchsia() {
243 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 != "" {
295 var HostPrebuiltTag = pctx.VariableConfigMethod("HostPrebuiltTag", android.Config.PrebuiltOS)
299 if override := ctx.Config().Getenv(envVar); override != "" {
Dtidy.go29 if override := ctx.Config().Getenv("DEFAULT_GLOBAL_TIDY_CHECKS"); override != "" {
64 if ctx.Config().IsEnvTrue("CLANG_ANALYZER_CHECKS") {
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")
/build/soong/android/
Dpackage_ctx.go44 config Config
54 func (e *configErrorWrapper) Config() Config { func
78 ctx := &configErrorWrapper{p, config.(Config), nil}
93 ctx := &configErrorWrapper{p, config.(Config), nil}
109 ctx := &configErrorWrapper{p, config.(Config), nil}
114 if ctx.Config().UseRemoteBuild() && params.Pool == nil {
166 return ctx.Config().GetenvWithDefault(env, p.String())
176 return ctx.Config().HostToolPath(ctx, path).String()
186 return ctx.Config().HostJNIToolPath(ctx, path).String()
196 return ctx.Config().HostJavaToolPath(ctx, path).String()
[all …]
Dwritedocs.go37 buildDir := absolutePath(ctx.Config().BuildDir())
42 os.Args[0], ctx.Config().BuildDir(), err)
50 deps = append(deps, pathForBuildToolDep(ctx, ctx.Config().moduleListFile))
51 deps = append(deps, pathForBuildToolDep(ctx, ctx.Config().ProductVariablesFileName))
55 dexpreoptConfigPath := ctx.Config().DexpreoptGlobalConfigPath(ctx)
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...)
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.go33 func ReadSoongMetrics(config Config) SoongMetrics { argument
53 ctx.Config().Once(soongMetricsOnceKey, func() interface{} {
58 func collectMetrics(config Config) *soong_metrics_proto.SoongBuildMetrics { argument
74 func WriteMetrics(config Config, metricsFile string) error { argument
Dbazel.go64 GetBazelBuildFileContents(c Config, path, name string) (string, error) argument
296 if !ctx.Config().BazelContext.BazelEnabled() {
320 if ctx.Config().bp2buildModuleTypeConfig[ctx.ModuleType()] == false {
325 config := ctx.Config().bp2buildPackageConfig
379 func (b *BazelModuleBase) GetBazelBuildFileContents(c Config, path, name string) (string, error) {
Dapi_levels.go192 num, ok := getFinalCodenamesMap(ctx.Config())[raw]
223 for _, preview := range ctx.Config().PreviewApiLevels() {
273 func getFinalCodenamesMap(config Config) map[string]int { argument
316 func getApiLevelsMap(config Config) map[string]int { argument
346 apiLevelsMap := getApiLevelsMap(ctx.Config())
/build/blueprint/bootstrap/minibp/
Dmain.go31 type Config struct { struct
34 func (c Config) SrcDir() string { argument
38 func (c Config) RemoveAbandonedFilesUnder(buildDir string) (under, exempt []string) { argument
54 config := Config{}
/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/java/
Dsdk.go41 if ctx.Config().UnbundledBuild() &&
42 !ctx.Config().AlwaysUsePrebuiltSdks() &&
43 ctx.Config().IsEnvTrue("UNBUNDLED_BUILD_TARGET_SDK_WITH_API_FINGERPRINT") {
89 if (!jarPath.Valid() || !aidlPath.Valid()) && ctx.Config().AllowMissingDependencies() {
227 ctx.Config().Once(sdkVersionsKey, func() interface{} { return sdkVersions })
231 sdkVersions := ctx.Config().Get(sdkVersionsKey).([]int)
246 if ctx.Config().AlwaysUsePrebuiltSdks() {
305 if ctx.Config().AllowMissingDependencies() {
344 return ctx.Config().Once(sdkFrameworkAidlPathKey, func() interface{} {
350 return ctx.Config().Once(nonUpdatableFrameworkAidlPathKey, func() interface{} {
[all …]
Ddexpreopt_config.go29 for _, target := range ctx.Config().Targets[android.Android] {
35 for _, target := range ctx.Config().Targets[android.BuildOs] {
50 return ctx.Config().Once(bootImageConfigKey, func() interface{} {
54 deviceDir := android.PathForOutput(ctx, ctx.Config().DeviceName())
116 dexLocations: c.modules.DevicePaths(ctx.Config(), target.Os),
168 return ctx.Config().Once(updatableBootConfigKey, func() interface{} {
171 dir := android.PathForOutput(ctx, ctx.Config().DeviceName(), "updatable_bootjars")
175 dexLocations := updatableBootJars.DevicePaths(ctx.Config(), android.Android)
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.go162 buildDirPrefix := ctx.Config().BuildDir() + "/"
234 return ctx.Config().Once(globalConfigOnceKey, func() interface{} {
235 if data, err := ctx.Config().DexpreoptGlobalConfig(ctx); err != nil {
246 return ctx.Config().Once(testGlobalConfigOnceKey, func() interface{} {
260 func SetTestGlobalConfig(config android.Config, globalConfig *GlobalConfig) { argument
355 func dex2oatModuleName(config android.Config) string { argument
398 dex2oatBin := dex2oatModuleName(ctx.Config())
399 v := ctx.Config().BuildOSTarget.Variations()
404 dex2oatBin := dex2oatModuleName(ctx.Config())
450 Profman: ctx.Config().HostToolPath(ctx, "profman"),
[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/rust/config/
Dglobal.go78 pctx.VariableConfigMethod("HostPrebuiltTag", android.Config.PrebuiltOS)
81 if override := ctx.Config().Getenv("RUST_PREBUILTS_BASE"); override != "" {
88 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/ui/build/
Drbe.go41 func rbeCommand(ctx Context, config Config, rbeCmd string) string { argument
74 func getRBEVars(ctx Context, config Config) map[string]string { argument
95 func startRBE(ctx Context, config Config) { argument
113 func stopRBE(ctx Context, config Config) { argument
130 func DumpRBEMetrics(ctx Context, config Config, filename string) { argument
166 func PrintOutDirWarning(ctx Context, config Config) { argument
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
/build/soong/cmd/soong_build/
Dmain.go66 func newNameResolver(config android.Config) *android.NameResolver { argument
82 func newContext(configuration android.Config, prepareBuildActions bool) *android.Context { argument
93 func newConfig(srcDir, outDir string, availableEnv map[string]string) android.Config {
107 func runMixedModeBuild(configuration android.Config, firstCtx *android.Context, extraNinjaDeps []st… argument
137 func runQueryView(configuration android.Config, ctx *android.Context) { argument
146 func runSoongDocs(configuration android.Config) { argument
156 func writeMetrics(configuration android.Config) { argument
165 func writeJsonModuleGraph(configuration android.Config, ctx *android.Context, path string, extraNin… argument
177 func doChosenActivity(configuration android.Config, extraNinjaDeps []string) string { argument
292 func writeUsedEnvironmentFile(configuration android.Config, finalOutputFile string) { argument
[all …]
/build/soong/cc/
Dtidy.go109 if !ctx.Config().ClangTidy() {
131 if checks := ctx.Config().TidyChecks(); len(checks) > 0 {
158 if ctx.Config().IsEnvTrue("WITH_TIDY") {

123456789