Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cd4b6de7 authored by LuK1337's avatar LuK1337
Browse files

Revert "build: Allow devices to skip appending fingerprint from file to default.prop"

* Build system no longer checks lengths
  for read only properties.

This reverts commit 9faa4a8e.

Change-Id: I9a3d97fc0053b845c061f84bc43f188973d45617
parent 40314c17
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -77,13 +77,6 @@ ifeq ($(BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED), true)
  property_overrides_split_enabled := true
endif

# -----------------------------------------------------------------
# skip_fingerprint_from_file
skip_fingerprint_from_file :=
ifeq ($(PRODUCT_SKIP_FINGERPRINT_FROM_FILE), true)
  skip_fingerprint_from_file := true
endif

# -----------------------------------------------------------------
# prop.default
ifdef property_overrides_split_enabled
@@ -118,9 +111,7 @@ $(INSTALLED_DEFAULT_PROP_TARGET): $(intermediate_system_build_prop)
	        echo "#" >> $@;
	$(hide) echo ro.bootimage.build.date=`$(DATE_FROM_FILE)`>>$@
	$(hide) echo ro.bootimage.build.date.utc=`$(DATE_FROM_FILE) +%s`>>$@
ifndef skip_fingerprint_from_file
	$(hide) echo ro.bootimage.build.fingerprint="$(BUILD_FINGERPRINT_FROM_FILE)">>$@
endif
	$(hide) build/tools/post_process_props.py $@
ifdef property_overrides_split_enabled
	$(hide) ln -sf system/etc/prop.default $(TARGET_ROOT_OUT)/default.prop
@@ -359,9 +350,7 @@ $(INSTALLED_VENDOR_BUILD_PROP_TARGET): $(VENDOR_BUILDINFO_SH)
	$(hide) echo > $@
	$(hide) echo ro.vendor.build.date=`$(DATE_FROM_FILE)`>>$@
	$(hide) echo ro.vendor.build.date.utc=`$(DATE_FROM_FILE) +%s`>>$@
ifndef skip_fingerprint_from_file
	$(hide) echo ro.vendor.build.fingerprint="$(BUILD_FINGERPRINT_FROM_FILE)">>$@
endif
ifdef property_overrides_split_enabled
	$(hide) TARGET_BOOTLOADER_BOARD_NAME="$(TARGET_BOOTLOADER_BOARD_NAME)" \
			TARGET_BOARD_PLATFORM="$(TARGET_BOARD_PLATFORM)" \