diff options
author | Sandeep Patil <sspatil@google.com> | 2017-10-23 19:47:43 -0700 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2017-10-24 06:10:01 +0000 |
commit | 5129a6f13f0eb16ec872d19845c986654a11316c (patch) | |
tree | a078eb851e81ba8408b8b018416cd416460193ec | |
parent | 6b984b21a6248b8d48bbff60b17b208e636671b4 (diff) | |
download | platform_build-5129a6f13f0eb16ec872d19845c986654a11316c.tar.gz platform_build-5129a6f13f0eb16ec872d19845c986654a11316c.tar.bz2 platform_build-5129a6f13f0eb16ec872d19845c986654a11316c.zip |
build: fix builds when first_api_level isn't defined as property
Bug: 67965044
Test: Build pixel
Change-Id: I4bce5a4f4d0751a30bf7abda0da5e7d73313c9ef
Signed-off-by: Sandeep Patil <sspatil@google.com>
(cherry picked from commit b79196f0ca4f553bd4dd9109d1a8a71c623872da)
-rw-r--r-- | core/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Makefile b/core/Makefile index 7d09f65d43..618e98317b 100644 --- a/core/Makefile +++ b/core/Makefile @@ -364,7 +364,7 @@ $(INSTALLED_VENDOR_BUILD_PROP_TARGET): $(VENDOR_BUILDINFO_SH) $(intermediate_sys @echo Target vendor buildinfo: $@ @mkdir -p $(dir $@) $(hide) echo > $@ - $(hide) grep 'ro.product.first_api_level' $(intermediate_system_build_prop) >> $@ + $(hide) grep 'ro.product.first_api_level' $(intermediate_system_build_prop) >> $@ || true $(hide) echo ro.vendor.build.date=`$(DATE_FROM_FILE)`>>$@ $(hide) echo ro.vendor.build.date.utc=`$(DATE_FROM_FILE) +%s`>>$@ $(hide) echo ro.vendor.build.fingerprint="$(BUILD_FINGERPRINT_FROM_FILE)">>$@ |