Home
last modified time | relevance | path

Searched refs:prop (Results 1 – 25 of 66) sorted by relevance

123

/build/soong/cc/
Dcheck.go29 func CheckBadCompilerFlags(ctx BaseModuleContext, prop string, flags []string) {
34 ctx.PropertyErrorf(prop, "Flag `%s` must start with `-`", flag)
36 ctx.PropertyErrorf(prop, "Bad flag `%s`, use local_include_dirs or include_dirs instead", flag)
38 ctx.PropertyErrorf(prop, "Illegal flag `%s`", flag)
40 ctx.PropertyErrorf(prop, "Bad flag: `%s`, use native_coverage instead", flag)
42 ctx.PropertyErrorf(prop, "Bad flag: `%s`, use whole_program_vtables instead", flag)
45 ctx.PropertyErrorf(prop, "-Weverything is not allowed in Android.bp files. "+
52 ctx.PropertyErrorf(prop, "`-include` only takes one argument: `%s`", flag)
56 ctx.PropertyErrorf(prop, "Path must not be an absolute path: %s", flag)
58 …ctx.PropertyErrorf(prop, "Path must not start with `../`: `%s`. Use include_dirs to -include from …
[all …]
Dvendor_snapshot.go334 prop := snapshotJsonFlags{}
337 prop.ModuleName = ctx.ModuleName(m)
341 prop.RelativeInstallPath = "vndk-sp"
343 prop.RelativeInstallPath = "vndk"
346 prop.RelativeInstallPath = m.RelativeInstallPath()
348 prop.RuntimeLibs = m.SnapshotRuntimeLibs()
349 prop.Required = m.RequiredModuleNames()
351 prop.InitRc = append(prop.InitRc, filepath.Join("configs", path.Base()))
354 prop.VintfFragments = append(prop.VintfFragments, filepath.Join("configs", path.Base()))
372 prop.ExportedFlags = exporterInfo.Flags
[all …]
/build/soong/genrule/
Dgenrule_test.go98 prop string
107 prop: `
116 prop: `
125 prop: `
134 prop: `
143 prop: `
153 prop: `
162 prop: `
171 prop: `
180 prop: `
[all …]
/build/blueprint/proptools/
Dfilter.go144 func FilterPropertyStruct(prop reflect.Type, predicate FilterFieldPredicate) (filteredProp reflect.…
145 filteredFieldsShards, filtered := filterPropertyStruct(prop, "", -1, predicate)
156 func filterPropertyStruct(prop reflect.Type, prefix string, maxNameSize int,
161 ptr := prop.Kind() == reflect.Ptr
163 prop = prop.Elem()
166 for i := 0; i < prop.NumField(); i++ {
167 fields = append(fields, prop.Field(i))
182 if !filtered && (maxNameSize < 0 || len(prop.String()) < maxNameSize) {
184 return []reflect.Type{reflect.PtrTo(prop)}, false
186 return []reflect.Type{prop}, false
[all …]
/build/blueprint/bpmodify/
Dbpmodify.go131 for _, prop := range module.Properties {
132 if prop.Name == "name" && prop.Value.Type() == parser.StringType {
133 if targetedModule(prop.Value.Eval().(*parser.String).Value) {
134 m, newErrs := processModule(module, prop.Name, file)
148 prop, err := getRecursiveProperty(module, targetedProperty.name(), targetedProperty.prefixes())
152 if prop == nil {
155prop, modified, err = createRecursiveProperty(module, targetedProperty.name(), targetedProperty.pr…
158prop, modified, err = createRecursiveProperty(module, targetedProperty.name(), targetedProperty.pr…
170 m, errs := processParameter(prop.Value, targetedProperty.String(), moduleName, file)
175 func getRecursiveProperty(module *parser.Module, name string, prefixes []string) (prop *parser.Prop…
[all …]
/build/make/core/
Dsysprop.mk248 gen_from_buildinfo_sh := $(call intermediates-dir-for,PACKAGING,system_build_prop)/buildinfo.prop
286 system_prop_file := $(wildcard $(TARGET_DEVICE_DIR)/system.prop)
313 INSTALLED_BUILD_PROP_TARGET := $(TARGET_OUT)/build.prop
329 $(wildcard $(TARGET_DEVICE_DIR)/vendor.prop))
331 android_info_prop := $(call intermediates-dir-for,ETC,android_info_prop)/android_info.prop
352 INSTALLED_VENDOR_BUILD_PROP_TARGET := $(TARGET_OUT_VENDOR)/build.prop
368 $(wildcard $(TARGET_DEVICE_DIR)/product.prop))
376 INSTALLED_PRODUCT_BUILD_PROP_TARGET := $(TARGET_OUT_PRODUCT)/etc/build.prop
379 import_oem_prop := $(call intermediates-dir-for,ETC,import_oem_prop)/oem.prop
385 $(hide) $(foreach prop,$(PRODUCT_OEM_PROPERTIES), \
[all …]
/build/blueprint/
Dprovider_test.go272 run := func(t *testing.T, module string, prop string, panicMsg string) {
290 prop += ": true,"
294 parentBP = prop
296 moduleUnderTestBP = prop
298 childBP = prop
361 prop string
368 prop: "early_mutator_set_of_mutator_provider",
373 prop: "late_mutator_set_of_mutator_provider",
378 prop: "late_build_actions_set_of_mutator_provider",
383 prop: "early_mutator_set_of_build_actions_provider",
[all …]
/build/soong/cmd/diff_target_files/
Dprops.whitelist2 // Ignore date, version and hostname properties in build.prop and prop.default files.
5 "**/build.prop",
6 "**/prop.default"
/build/soong/partner/bpfix/extensions/
Dheaders.go79 prop, ok := mod.GetProperty(name)
83 list, ok = prop.Value.(*parser.List)
90 prop := new(parser.Property)
91 prop.Name = libType
92 prop.Value = list
93 mod.Properties = append(mod.Properties, prop)
115 if prop, ok := mod.GetProperty("include_dirs"); ok {
116 searchThroughOperatorList(mod, prop.Value)
/build/soong/android/
Dlicenses.go237 func mergeStringProps(prop *[]string, values ...string) {
238 *prop = append(*prop, values...)
239 *prop = SortedUniqueStrings(*prop)
243 func mergePathProps(prop *Paths, values ...Path) {
244 *prop = append(*prop, values...)
245 *prop = SortedUniquePaths(*prop)
Ddefaults.go219 for _, prop := range defaultable.defaultableProperties {
220 if prop == defaultable.defaultableVariableProperties {
221 defaultable.applyDefaultVariableProperties(ctx, defaults, prop)
223 defaultable.applyDefaultProperties(ctx, defaults, prop)
/build/
DCleanSpec.mk54 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
55 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/default.prop)
56 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/recovery/root/default.prop)
63 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
65 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
67 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
69 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
72 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
88 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
92 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
[all …]
/build/make/
DCleanSpec.mk54 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
55 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/root/default.prop)
56 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/recovery/root/default.prop)
63 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
65 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
67 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
69 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
72 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
88 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
92 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/build.prop)
[all …]
/build/soong/bpfix/bpfix/
Dbpfix.go460 prop := &parser.Property{
466 mod.Properties = append(mod.Properties, prop)
474 func getStringProperty(prop *parser.Property, fieldName string) string {
475 if propsAsMap, ok := prop.Value.(*parser.Map); ok {
659 prop := &parser.Property{
665 mod.Properties = append(mod.Properties, prop)
681 prop := &parser.Property{
687 mod.Properties = append(mod.Properties, prop)
800 prop, _ := mod.GetProperty("variables")
801 patchList.Add(prop.Pos().Offset, prop.End().Offset+2, "")
[all …]
/build/blueprint/bootstrap/bpdoc/
Dproperties.go38 for i, prop := range ret.Properties {
39 ret.Properties[i] = prop.Clone()
48 for i, prop := range ret.Properties {
49 ret.Properties[i] = prop.Clone()
69 prop := &properties[i]
70 fieldName := proptools.FieldNameForProperty(prop.Name)
92 setDefaults(prop.Properties, f)
94 prop.Default = fmt.Sprintf("%v", f.Interface())
/build/soong/androidmk/androidmk/
Dandroidmk.go327 if prop, ok := rewriteProperties[name]; ok {
328 err = prop(variableAssignmentContext{file, prefix, assignment.Value, appendVariable})
449 prop := file.localAssignments[fqn]
450 if prop == nil {
451 prop = &bpparser.Property{
458 file.localAssignments[fqn] = prop
459 *container = append(*container, prop)
461 container = &prop.Value.(*bpparser.Map).Properties
464 prop := &bpparser.Property{
469 file.localAssignments[name] = prop
[all …]
/build/soong/bp2build/
Dbzl_conversion.go198 prop := property{
204 return []property{prop}
211 for _, prop := range extractPropertyDescriptionsFromStruct(reflect.ValueOf(p).Elem().Type()) {
212 propertiesByName[prop.name] = prop
/build/make/target/board/
DBoardConfigGsiCommon.mk68 TARGET_SYSTEM_EXT_PROP := build/make/target/board/gsi_system_ext.prop
70 TARGET_SYSTEM_EXT_PROP := build/make/target/board/gsi_system_ext_user.prop
/build/soong/cmd/soong_build/
Dwritedocs.go83 for _, prop := range props {
84 if prop.Name == previousPropertyName {
86 bpdoc.CollapseDuplicateProperties(oldProp, &prop.Properties)
88 item.Properties = append(item.Properties, prop)
90 previousPropertyName = prop.Name
360 {{range $i,$prop := $moduleType.Properties }}
362 <a href={{$.Name}}.html#{{getModule}}.{{$prop.Name}}>{{$prop.Name}}</a>
/build/soong/tradefed/
Dautogen.go29 func getTestConfigTemplate(ctx android.ModuleContext, prop *string) android.OptionalPath {
30 return ctx.ExpandOptionalSource(prop, "test_config_template")
33 func getTestConfig(ctx android.ModuleContext, prop *string) android.Path {
34 if p := ctx.ExpandOptionalSource(prop, "test_config"); p.Valid() {
47 func testConfigPath(ctx android.ModuleContext, prop *string, testSuites []string, autoGenConfig *bo…
48 p := getTestConfig(ctx, prop)
/build/make/target/board/emulator_x86_64_arm64/
Dsystem_ext.prop2 # system.prop for generic sdk
/build/make/target/board/generic_x86_arm/
Dsystem_ext.prop2 # system.prop for generic sdk
/build/make/target/board/emulator_arm/
Dsystem_ext.prop2 # system.prop for generic sdk
/build/make/target/board/emulator_x86_arm/
Dsystem_ext.prop2 # system.prop for generic sdk
/build/make/target/board/generic_x86_64/
Dsystem_ext.prop2 # system.prop for generic sdk

123