Home
last modified time | relevance | path

Searched refs:prop (Results 1 – 25 of 58) 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)
43 ctx.PropertyErrorf(prop, "-Weverything is not allowed in Android.bp files. "+
50 ctx.PropertyErrorf(prop, "`-include` only takes one argument: `%s`", flag)
54 ctx.PropertyErrorf(prop, "Path must not be an absolute path: %s", flag)
56 …ctx.PropertyErrorf(prop, "Path must not start with `../`: `%s`. Use include_dirs to -include from …
64 …ctx.PropertyErrorf(prop, "Bad flag: `%s` is not an allowed multi-word flag. Should it be split int…
[all …]
Dvendor_snapshot.go659 prop := struct {
684 prop.ModuleName = ctx.ModuleName(m)
688 prop.RelativeInstallPath = "vndk-sp"
690 prop.RelativeInstallPath = "vndk"
693 prop.RelativeInstallPath = m.RelativeInstallPath()
695 prop.RuntimeLibs = m.Properties.SnapshotRuntimeLibs
696 prop.Required = m.RequiredModuleNames()
698 prop.InitRc = append(prop.InitRc, filepath.Join("configs", path.Base()))
701 prop.VintfFragments = append(prop.VintfFragments, filepath.Join("configs", path.Base()))
717 prop.ExportedFlags = l.exportedFlags()
[all …]
/build/soong/genrule/
Dgenrule_test.go130 prop string
139 prop: `
148 prop: `
157 prop: `
166 prop: `
175 prop: `
185 prop: `
194 prop: `
203 prop: `
212 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))
178 return []reflect.Type{reflect.PtrTo(prop)}, false
180 return []reflect.Type{prop}, false
202 func FilterPropertyStructSharded(prop reflect.Type, maxTypeNameSize int, predicate FilterFieldPredi…
[all …]
/build/make/core/
Dsysprop.mk233 gen_from_buildinfo_sh := $(call intermediates-dir-for,PACKAGING,system_build_prop)/buildinfo.prop
268 import_oem_prop := $(call intermediates-dir-for,ETC,system_build_prop)/oem.prop
274 $(hide) $(foreach prop,$(PRODUCT_OEM_PROPERTIES), \
283 system_prop_file := $(wildcard $(TARGET_DEVICE_DIR)/system.prop)
310 INSTALLED_BUILD_PROP_TARGET := $(TARGET_OUT)/build.prop
321 $(wildcard $(TARGET_DEVICE_DIR)/vendor.prop))
323 android_info_prop := $(call intermediates-dir-for,ETC,android_info_prop)/android_info.prop
344 INSTALLED_VENDOR_BUILD_PROP_TARGET := $(TARGET_OUT_VENDOR)/build.prop
358 $(wildcard $(TARGET_DEVICE_DIR)/product.prop))
366 INSTALLED_PRODUCT_BUILD_PROP_TARGET := $(TARGET_OUT_PRODUCT)/etc/build.prop
[all …]
/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/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/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/blueprint/bpmodify/
Dbpmodify.go126 for _, prop := range module.Properties {
127 if prop.Name == "name" && prop.Value.Type() == parser.StringType {
128 if targetedModule(prop.Value.Eval().(*parser.String).Value) {
129 m, newErrs := processModule(module, prop.Name, file)
144 for _, prop := range module.Properties {
145 if prop.Name == *parameter {
146 modified, errs = processParameter(prop.Value, *parameter, moduleName, file)
151 prop := parser.Property{Name: *parameter, Value: &parser.List{}}
152 modified, errs = processParameter(prop.Value, *parameter, moduleName, file)
155 module.Properties = append(module.Properties, &prop)
/build/soong/bpfix/bpfix/
Dbpfix.go456 prop := &parser.Property{
462 mod.Properties = append(mod.Properties, prop)
470 func getStringProperty(prop *parser.Property, fieldName string) string {
471 if propsAsMap, ok := prop.Value.(*parser.Map); ok {
655 prop := &parser.Property{
661 mod.Properties = append(mod.Properties, prop)
776 prop, _ := mod.GetProperty("variables")
777 patchList.Add(prop.Pos().Offset, prop.End().Offset+2, "")
900 prop := mod.Properties[idx]
903 stage += string(buf[prop.Pos().Offset : prop.End().Offset+1])
[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.go304 if prop, ok := rewriteProperties[name]; ok {
305 err = prop(variableAssignmentContext{file, prefix, assignment.Value, appendVariable})
426 prop := file.localAssignments[fqn]
427 if prop == nil {
428 prop = &bpparser.Property{
435 file.localAssignments[fqn] = prop
436 *container = append(*container, prop)
438 container = &prop.Value.(*bpparser.Map).Properties
441 prop := &bpparser.Property{
446 file.localAssignments[name] = prop
[all …]
/build/make/target/board/
DBoardConfigGsiCommon.mk64 TARGET_SYSTEM_EXT_PROP := build/make/target/board/gsi_system_ext.prop
66 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
348 {{range $i,$prop := $moduleType.Properties }}
350 <a href={{$.Name}}.html#{{getModule}}.{{$prop.Name}}>{{$prop.Name}}</a>
/build/soong/android/
Ddefaults.go232 for _, prop := range defaultable.defaultableProperties {
233 if prop == defaultable.defaultableVariableProperties {
234 defaultable.applyDefaultVariableProperties(ctx, defaults, prop)
236 defaultable.applyDefaultProperties(ctx, defaults, prop)
/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_arm/
Dsystem_ext.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/emulator_x86/
Dsystem_ext.prop2 # system.prop for generic sdk
/build/make/target/board/generic_x86/
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/emulator_x86_64/
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/generic_x86_64_arm64/
Dsystem_ext.prop2 # system.prop for generic sdk

123