Revert^3 "Add TARGET_SYSTEM_PROP to system build.prop"
ff506d1af2624a7a77d9f9b3875d030398d733a8
Change-Id: I5659e93d4c45fdca20357b4fc61f936cfd0e748d
diff --git a/android/build_prop.go b/android/build_prop.go
index d3ccecb..ed3e9c8 100644
--- a/android/build_prop.go
+++ b/android/build_prop.go
@@ -31,6 +31,10 @@
// properties in prop_files.
Block_list []string
+ // Path to the input prop files. The contents of the files are directly
+ // emitted to the output
+ Prop_files []string `android:"path"`
+
// Files to be appended at the end of build.prop. These files are appended after
// post_process_props without any further checking.
Footer_files []string `android:"path"`
@@ -52,14 +56,6 @@
return proptools.StringDefault(p.properties.Stem, "build.prop")
}
-func (p *buildPropModule) propFiles(ctx ModuleContext) Paths {
- partition := p.PartitionTag(ctx.DeviceConfig())
- if partition == "system" {
- return ctx.Config().SystemPropFiles(ctx)
- }
- return nil
-}
-
func (p *buildPropModule) GenerateAndroidBuildActions(ctx ModuleContext) {
p.outputFilePath = PathForModuleOut(ctx, "build.prop").OutputPath
if !ctx.Config().KatiEnabled() {
@@ -98,7 +94,6 @@
cmd.FlagWithInput("--platform-preview-sdk-fingerprint-file=", ApiFingerprintPath(ctx))
cmd.FlagWithInput("--product-config=", PathForModuleSrc(ctx, proptools.String(p.properties.Product_config)))
cmd.FlagWithArg("--partition=", partition)
- cmd.FlagForEachInput("--prop-files=", ctx.Config().SystemPropFiles(ctx))
cmd.FlagWithOutput("--out=", p.outputFilePath)
postProcessCmd := rule.Command().BuiltTool("post_process_props")