summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2014-05-22 17:34:06 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-05-22 17:34:06 +0000
commit5e9c2b9faa6fbf6ce8dab3a7d5029f582066b487 (patch)
tree66203403ec07c6efcb4d743eea5a5a2c5c1c3e62
parent3b5cd9117df7e7420055352b496383a477f008d3 (diff)
parentefdf49f2762dc5d355cdfd8a078eafc8cd635e8e (diff)
downloadsystem_core-5e9c2b9faa6fbf6ce8dab3a7d5029f582066b487.zip
system_core-5e9c2b9faa6fbf6ce8dab3a7d5029f582066b487.tar.gz
system_core-5e9c2b9faa6fbf6ce8dab3a7d5029f582066b487.tar.bz2
Merge "reboot: Turn on -Werror"
-rw-r--r--reboot/Android.mk10
1 files changed, 6 insertions, 4 deletions
diff --git a/reboot/Android.mk b/reboot/Android.mk
index 4db0c1e..7a24f99 100644
--- a/reboot/Android.mk
+++ b/reboot/Android.mk
@@ -1,12 +1,14 @@
# Copyright 2013 The Android Open Source Project
-LOCAL_PATH:= $(call my-dir)
+LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
-LOCAL_SRC_FILES:= reboot.c
+LOCAL_SRC_FILES := reboot.c
-LOCAL_SHARED_LIBRARIES:= libcutils
+LOCAL_SHARED_LIBRARIES := libcutils
-LOCAL_MODULE:= reboot
+LOCAL_MODULE := reboot
+
+LOCAL_CFLAGS := -Werror
include $(BUILD_EXECUTABLE)