am 57bd480c: Merge "Make it clearer to grep that init is built with clang."

* commit '57bd480c3b7c506423c6016e977539213d4c0759':
  Make it clearer to grep that init is built with clang.
This commit is contained in:
Elliott Hughes 2015-06-11 15:11:33 +00:00 committed by Android Git Automerger
commit 67917cf590

View file

@ -18,8 +18,6 @@ init_cflags += \
-Wno-unused-parameter \
-Werror \
init_clang := true
# --
include $(CLEAR_VARS)
@ -32,7 +30,7 @@ LOCAL_SRC_FILES:= \
LOCAL_STATIC_LIBRARIES := libbase
LOCAL_MODULE := libinit
LOCAL_CLANG := $(init_clang)
LOCAL_CLANG := true
include $(BUILD_STATIC_LIBRARY)
include $(CLEAR_VARS)
@ -79,7 +77,7 @@ LOCAL_POST_INSTALL_CMD := $(hide) mkdir -p $(TARGET_ROOT_OUT)/sbin; \
ln -sf ../init $(TARGET_ROOT_OUT)/sbin/ueventd; \
ln -sf ../init $(TARGET_ROOT_OUT)/sbin/watchdogd
LOCAL_CLANG := $(init_clang)
LOCAL_CLANG := true
include $(BUILD_EXECUTABLE)
@ -96,5 +94,5 @@ LOCAL_SHARED_LIBRARIES += \
libbase \
LOCAL_STATIC_LIBRARIES := libinit
LOCAL_CLANG := $(init_clang)
LOCAL_CLANG := true
include $(BUILD_NATIVE_TEST)