diff options
author | Daniel Rosenberg <drosen@google.com> | 2014-07-22 22:21:09 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-07-22 16:21:19 +0000 |
commit | 337bbf89d92f28bff85273ffefb71d3e5d7f57fc (patch) | |
tree | 8b3940dbada2481e70d288de2ac4823bd10e95f4 | |
parent | 3389b9e88752a2b3a20fd6fea04ac6bedeec4afc (diff) | |
parent | 40b61ca768ff695e4ec5fd7b70aa9f42e10a35c0 (diff) | |
download | build-337bbf89d92f28bff85273ffefb71d3e5d7f57fc.zip build-337bbf89d92f28bff85273ffefb71d3e5d7f57fc.tar.gz build-337bbf89d92f28bff85273ffefb71d3e5d7f57fc.tar.bz2 |
Merge "Create a vendor build.prop for verifying versions" into lmp-dev
-rw-r--r-- | core/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/core/Makefile b/core/Makefile index 04fab18..36d53e1 100644 --- a/core/Makefile +++ b/core/Makefile @@ -243,6 +243,22 @@ endif build_desc := # ----------------------------------------------------------------- +# vendor build.prop +# +# For verifying that the vendor build is what we thing it is +ifdef BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE +INSTALLED_VENDOR_BUILD_PROP_TARGET := $(TARGET_OUT_VENDOR)/build.prop +ALL_DEFAULT_INSTALLED_MODULES += $(INSTALLED_VENDOR_BUILD_PROP_TARGET) +$(INSTALLED_VENDOR_BUILD_PROP_TARGET): $(INSTALLED_BUILD_PROP_TARGET) + @echo Target vendor buildinfo: $@ + @mkdir -p $(dir $@) + $(hide) echo > $@ + $(hide) echo ro.vendor.build.date=`date`>>$@ + $(hide) echo ro.vendor.build.date.utc=`date +%s`>>$@ + $(hide) echo ro.vendor.build.fingerprint="$(BUILD_FINGERPRINT)">>$@ +endif + +# ----------------------------------------------------------------- # sdk-build.prop # # There are certain things in build.prop that we don't want to |