Skip to content

Commit

Permalink
core: Dont overwrite build.prop when TARGET_COPY_OUT_VENDOR=system
Browse files Browse the repository at this point in the history
Change-Id: I416c0e8e0c3788b088b0c72c4483a78d2c80be4e
  • Loading branch information
razorloves committed Apr 4, 2018
1 parent 986c59a commit 6e7e71b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,8 @@ endif
# -----------------------------------------------------------------
# vendor build.prop
#
# Prevent overwriting build.prop in system
ifneq ($(TARGET_COPY_OUT_VENDOR),system)
# For verifying that the vendor build is what we think it is
INSTALLED_VENDOR_BUILD_PROP_TARGET := $(TARGET_OUT_VENDOR)/build.prop
ALL_DEFAULT_INSTALLED_MODULES += $(INSTALLED_VENDOR_BUILD_PROP_TARGET)
Expand Down Expand Up @@ -385,6 +387,7 @@ ifdef property_overrides_split_enabled
echo "$(line)" >> $@;)
$(hide) build/tools/post_process_props.py $@
endif # property_overrides_split_enabled
endif # TARGET_COPY_OUT_VENDOR=system

# ----------------------------------------------------------------

Expand Down

0 comments on commit 6e7e71b

Please sign in to comment.