summaryrefslogtreecommitdiffstats
path: root/update_verifier/Android.mk
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-03-11 02:45:10 +0100
committerandroid-build-merger <android-build-merger@google.com>2017-03-11 02:45:10 +0100
commitafc60a1081d4385585656f007095bcd839728c22 (patch)
tree4f2454714362b81d0543a5a5193356bd838b3016 /update_verifier/Android.mk
parentMerge "recovery: replacing fs_mgr_read_fstab() with new fs_mgr APIs" am: 7a0dfec771 am: 1a23257214 (diff)
parentMerge "update_verifier: Set the success flag if dm-verity is not enabled." am: a7211b3c16 (diff)
downloadandroid_bootable_recovery-afc60a1081d4385585656f007095bcd839728c22.tar
android_bootable_recovery-afc60a1081d4385585656f007095bcd839728c22.tar.gz
android_bootable_recovery-afc60a1081d4385585656f007095bcd839728c22.tar.bz2
android_bootable_recovery-afc60a1081d4385585656f007095bcd839728c22.tar.lz
android_bootable_recovery-afc60a1081d4385585656f007095bcd839728c22.tar.xz
android_bootable_recovery-afc60a1081d4385585656f007095bcd839728c22.tar.zst
android_bootable_recovery-afc60a1081d4385585656f007095bcd839728c22.zip
Diffstat (limited to 'update_verifier/Android.mk')
-rw-r--r--update_verifier/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/update_verifier/Android.mk b/update_verifier/Android.mk
index 49d19b0e1..c1051a54a 100644
--- a/update_verifier/Android.mk
+++ b/update_verifier/Android.mk
@@ -32,4 +32,8 @@ LOCAL_SHARED_LIBRARIES := \
LOCAL_CFLAGS := -Werror
LOCAL_C_INCLUDES += $(LOCAL_PATH)/..
+ifeq ($(PRODUCTS.$(INTERNAL_PRODUCT).PRODUCT_SUPPORTS_VERITY),true)
+ LOCAL_CFLAGS += -DPRODUCT_SUPPORTS_VERITY=1
+endif
+
include $(BUILD_EXECUTABLE)