Home
last modified time | relevance | path

Searched refs:prop (Results 1 – 25 of 74) 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.go226 prop := snapshotJsonFlags{}
229 prop.ModuleName = ctx.ModuleName(m)
233 prop.RelativeInstallPath = "vndk-sp"
235 prop.RelativeInstallPath = "vndk"
238 prop.RelativeInstallPath = m.RelativeInstallPath()
240 prop.RuntimeLibs = m.SnapshotRuntimeLibs()
241 prop.Required = m.RequiredModuleNames()
243 prop.InitRc = append(prop.InitRc, filepath.Join("configs", path.Base()))
246 prop.VintfFragments = append(prop.VintfFragments, filepath.Join("configs", path.Base()))
264 prop.ExportedFlags = exporterInfo.Flags
[all …]
/build/soong/genrule/
Dgenrule_test.go100 prop string
109 prop: `
118 prop: `
127 prop: `
136 prop: `
145 prop: `
155 prop: `
164 prop: `
173 prop: `
182 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/soong/android/
Dlicenses.go237 func mergeStringProps(prop *[]string, values ...string) {
238 *prop = append(*prop, values...)
239 *prop = SortedUniqueStrings(*prop)
243 func namePathProps(prop *NamedPaths, name *string, values ...Path) {
246 *prop = append(*prop, NamedPath{value, ""})
250 *prop = append(*prop, NamedPath{value, *name})
253 *prop = SortedUniqueNamedPaths(*prop)
257 func mergeNamedPathProps(prop *NamedPaths, values ...NamedPath) {
258 *prop = append(*prop, values...)
259 *prop = SortedUniqueNamedPaths(*prop)
Ddefaults.go279 for _, prop := range defaultable.defaultableProperties {
280 if prop == defaultable.defaultableVariableProperties {
281 defaultable.applyDefaultVariableProperties(ctx, defaults, prop)
283 defaultable.applyDefaultProperties(ctx, defaults, prop)
/build/blueprint/bpmodify/
Dbpmodify.go133 for _, prop := range module.Properties {
134 if prop.Name == "name" && prop.Value.Type() == parser.StringType {
135 if targetedModule(prop.Value.Eval().(*parser.String).Value) {
136 m, newErrs := processModule(module, prop.Name, file)
150prop, parent, err := getRecursiveProperty(module, targetedProperty.name(), targetedProperty.prefix…
154 if prop == nil {
157prop, modified, err = createRecursiveProperty(module, targetedProperty.name(), targetedProperty.pr…
160prop, modified, err = createRecursiveProperty(module, targetedProperty.name(), targetedProperty.pr…
173 return parent.RemoveProperty(prop.Name), nil
175 m, errs := processParameter(prop.Value, targetedProperty.String(), moduleName, file)
[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/make/core/
Dsysprop.mk258 gen_from_buildinfo_sh := $(call intermediates-dir-for,PACKAGING,system_build_prop)/buildinfo.prop
299 system_prop_file := $(wildcard $(TARGET_DEVICE_DIR)/system.prop)
322 INSTALLED_BUILD_PROP_TARGET := $(TARGET_OUT)/build.prop
340 $(wildcard $(TARGET_DEVICE_DIR)/vendor.prop))
342 android_info_prop := $(call intermediates-dir-for,ETC,android_info_prop)/android_info.prop
363 INSTALLED_VENDOR_BUILD_PROP_TARGET := $(TARGET_OUT_VENDOR)/build.prop
381 $(wildcard $(TARGET_DEVICE_DIR)/product.prop))
389 INSTALLED_PRODUCT_BUILD_PROP_TARGET := $(TARGET_OUT_PRODUCT)/etc/build.prop
392 import_oem_prop := $(call intermediates-dir-for,ETC,import_oem_prop)/oem.prop
398 $(hide) $(foreach prop,$(PRODUCT_OEM_PROPERTIES), \
[all …]
/build/soong/bp2build/
Dcc_binary_conversion_test.go350 prop := btc.soongProperty
351 if len(prop) > 0 {
352 prop = "\n" + prop
356 blueprint: fmt.Sprintf(baseBlueprint, prop),
393 prop := btc.soongProperty
394 if len(prop) > 0 {
395 prop = "\n" + prop
399 blueprint: fmt.Sprintf(baseBlueprint, prop),
449 prop := btc.soongProperty
450 if len(prop) > 0 {
[all …]
Dbzl_conversion.go166 for _, prop := range subProps {
167 properties = append(properties, prop.properties...)
205 prop := property{
211 return []property{prop}
218 for _, prop := range extractPropertyDescriptionsFromStruct(reflect.ValueOf(p).Elem().Type()) {
219 propertiesByName[prop.name] = prop
/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/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/
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/
DAndroid.bp123 // buildinfo.prop contains common properties for system/build.prop, like ro.build.version.*
125 name: "buildinfo.prop",
127 // not installable because this will be included to system/build.prop
130 // Currently, only microdroid can refer to buildinfo.prop
/build/soong/bpfix/bpfix/
Dbpfix.go515 prop := &parser.Property{
521 mod.Properties = append(mod.Properties, prop)
529 func getStringProperty(prop *parser.Property, fieldName string) string {
530 if propsAsMap, ok := prop.Value.(*parser.Map); ok {
726 prop := &parser.Property{
732 mod.Properties = append(mod.Properties, prop)
748 prop := &parser.Property{
754 mod.Properties = append(mod.Properties, prop)
867 prop, _ := mod.GetProperty("variables")
868 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})
467 prop := file.localAssignments[fqn]
468 if prop == nil {
469 prop = &bpparser.Property{
476 file.localAssignments[fqn] = prop
477 *container = append(*container, prop)
479 container = &prop.Value.(*bpparser.Map).Properties
482 prop := &bpparser.Property{
487 file.localAssignments[name] = prop
[all …]
/build/make/target/board/
DBoardConfigGsiCommon.mk71 TARGET_SYSTEM_EXT_PROP := build/make/target/board/gsi_system_ext.prop
73 TARGET_SYSTEM_EXT_PROP := build/make/target/board/gsi_system_ext_user.prop
/build/soong/cmd/soong_build/
Dwritedocs.go84 for _, prop := range props {
85 if prop.Name == previousPropertyName {
87 bpdoc.CollapseDuplicateProperties(oldProp, &prop.Properties)
89 item.Properties = append(item.Properties, prop)
91 previousPropertyName = prop.Name
361 {{range $i,$prop := $moduleType.Properties }}
363 <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/generic_64bitonly_x86_64/
Dsystem.prop2 # system.prop for generic sdk
/build/make/target/board/emulator_x86_64_arm64/
Dsystem_ext.prop2 # system.prop for generic sdk
/build/make/target/board/generic_x86_64/
Dsystem_ext.prop2 # system.prop for generic sdk

123