Merge "build: fix builds when first_api_level isn't defined as property" into oc-mr1-dev

am: 25268c1093

Change-Id: I6970f7162686d5119c184e7ed4cba58448e6de7d
This commit is contained in:
Jaekyun Seok 2017-10-24 03:59:53 +00:00 committed by android-build-merger
commit 6a17c27b71
1 changed files with 1 additions and 1 deletions

View File

@ -388,7 +388,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)">>$@