Merge "Move build.prop to ./etc subdir for some partitions" am: faac5a2e7d
am: 40fbb7c8db
Original change: https://android-review.googlesource.com/c/platform/build/+/1351285 Change-Id: Iebce34fc3c5af90d9fc6bd680aa9515859ed52e1
This commit is contained in:
commit
f372e83206
|
@ -14,7 +14,7 @@
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
#
|
#
|
||||||
|
|
||||||
# sysprop.mk defines rules for generating <partition>/build.prop files
|
# sysprop.mk defines rules for generating <partition>/[etc/]build.prop files
|
||||||
|
|
||||||
# -----------------------------------------------------------------
|
# -----------------------------------------------------------------
|
||||||
# property_overrides_split_enabled
|
# property_overrides_split_enabled
|
||||||
|
@ -59,7 +59,7 @@ define generate-common-build-props
|
||||||
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# Rule for generating <partition>/build.prop file
|
# Rule for generating <partition>/[etc/]build.prop file
|
||||||
#
|
#
|
||||||
# $(1): partition name
|
# $(1): partition name
|
||||||
# $(2): path to the output
|
# $(2): path to the output
|
||||||
|
@ -313,7 +313,6 @@ $(eval $(call build-properties,system,$(INSTALLED_BUILD_PROP_TARGET),\
|
||||||
$(_prop_files_),$(_prop_vars_),\
|
$(_prop_files_),$(_prop_vars_),\
|
||||||
$(_blacklist_names_)))
|
$(_blacklist_names_)))
|
||||||
|
|
||||||
|
|
||||||
# -----------------------------------------------------------------
|
# -----------------------------------------------------------------
|
||||||
# vendor/build.prop
|
# vendor/build.prop
|
||||||
#
|
#
|
||||||
|
@ -351,7 +350,7 @@ $(eval $(call build-properties,\
|
||||||
$(PRODUCT_VENDOR_PROPERTY_BLACKLIST)))
|
$(PRODUCT_VENDOR_PROPERTY_BLACKLIST)))
|
||||||
|
|
||||||
# -----------------------------------------------------------------
|
# -----------------------------------------------------------------
|
||||||
# product/build.prop
|
# product/etc/build.prop
|
||||||
#
|
#
|
||||||
|
|
||||||
_prop_files_ := $(if $(TARGET_PRODUCT_PROP),\
|
_prop_files_ := $(if $(TARGET_PRODUCT_PROP),\
|
||||||
|
@ -364,7 +363,7 @@ _prop_vars_ := \
|
||||||
ADDITIONAL_PRODUCT_PROPERTIES \
|
ADDITIONAL_PRODUCT_PROPERTIES \
|
||||||
PRODUCT_PRODUCT_PROPERTIES
|
PRODUCT_PRODUCT_PROPERTIES
|
||||||
|
|
||||||
INSTALLED_PRODUCT_BUILD_PROP_TARGET := $(TARGET_OUT_PRODUCT)/build.prop
|
INSTALLED_PRODUCT_BUILD_PROP_TARGET := $(TARGET_OUT_PRODUCT)/etc/build.prop
|
||||||
$(eval $(call build-properties,\
|
$(eval $(call build-properties,\
|
||||||
product,\
|
product,\
|
||||||
$(INSTALLED_PRODUCT_BUILD_PROP_TARGET),\
|
$(INSTALLED_PRODUCT_BUILD_PROP_TARGET),\
|
||||||
|
@ -385,8 +384,6 @@ _prop_vars_ := \
|
||||||
ADDITIONAL_ODM_PROPERTIES \
|
ADDITIONAL_ODM_PROPERTIES \
|
||||||
PRODUCT_ODM_PROPERTIES
|
PRODUCT_ODM_PROPERTIES
|
||||||
|
|
||||||
# Note the 'etc' sub directory. For the reason, see
|
|
||||||
# I0733c277baa67c549bb45599abb70aba13fbdbcf
|
|
||||||
INSTALLED_ODM_BUILD_PROP_TARGET := $(TARGET_OUT_ODM)/etc/build.prop
|
INSTALLED_ODM_BUILD_PROP_TARGET := $(TARGET_OUT_ODM)/etc/build.prop
|
||||||
$(eval $(call build-properties,\
|
$(eval $(call build-properties,\
|
||||||
odm,\
|
odm,\
|
||||||
|
@ -396,7 +393,7 @@ $(eval $(call build-properties,\
|
||||||
$(empty)))
|
$(empty)))
|
||||||
|
|
||||||
# -----------------------------------------------------------------
|
# -----------------------------------------------------------------
|
||||||
# system_ext/build.prop
|
# system_ext/etc/build.prop
|
||||||
#
|
#
|
||||||
_prop_files_ := $(if $(TARGET_SYSTEM_EXT_PROP),\
|
_prop_files_ := $(if $(TARGET_SYSTEM_EXT_PROP),\
|
||||||
$(TARGET_SYSTEM_EXT_PROP),\
|
$(TARGET_SYSTEM_EXT_PROP),\
|
||||||
|
@ -406,7 +403,7 @@ _prop_files_ := $(if $(TARGET_SYSTEM_EXT_PROP),\
|
||||||
# TODO(b/117892318): don't allow duplicates so that the ordering doesn't matter
|
# TODO(b/117892318): don't allow duplicates so that the ordering doesn't matter
|
||||||
_prop_vars_ := PRODUCT_SYSTEM_EXT_PROPERTIES
|
_prop_vars_ := PRODUCT_SYSTEM_EXT_PROPERTIES
|
||||||
|
|
||||||
INSTALLED_SYSTEM_EXT_BUILD_PROP_TARGET := $(TARGET_OUT_SYSTEM_EXT)/build.prop
|
INSTALLED_SYSTEM_EXT_BUILD_PROP_TARGET := $(TARGET_OUT_SYSTEM_EXT)/etc/build.prop
|
||||||
$(eval $(call build-properties,\
|
$(eval $(call build-properties,\
|
||||||
system_ext,\
|
system_ext,\
|
||||||
$(INSTALLED_SYSTEM_EXT_BUILD_PROP_TARGET),\
|
$(INSTALLED_SYSTEM_EXT_BUILD_PROP_TARGET),\
|
||||||
|
|
Loading…
Reference in New Issue