diff options
author | Elliott Hughes <enh@google.com> | 2015-02-04 10:25:09 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-02-04 10:25:09 -0800 |
commit | 24627906bfee8c4a9eede3deefd12365a78351bf (patch) | |
tree | 022000219c43e6c8e49dae701b3d2a7e60a93512 /init/Android.mk | |
parent | 798219e9e9137db272585f5dc5683df91ed5beb1 (diff) | |
download | system_core-24627906bfee8c4a9eede3deefd12365a78351bf.zip system_core-24627906bfee8c4a9eede3deefd12365a78351bf.tar.gz system_core-24627906bfee8c4a9eede3deefd12365a78351bf.tar.bz2 |
Use TEMP_FAILURE_RETRY, always build bootchart.cpp.
Also switch the revision parsing over to sscanf as promised. I haven't
done the hardware parsing because I don't yet know whether we actually need
to keep the space-stripping code.
Change-Id: Ic33378345cd515cb08d00c543acf44eb72673396
Diffstat (limited to 'init/Android.mk')
-rw-r--r-- | init/Android.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/init/Android.mk b/init/Android.mk index 01ce4da..ae472bd 100644 --- a/init/Android.mk +++ b/init/Android.mk @@ -4,6 +4,7 @@ LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) LOCAL_SRC_FILES:= \ + bootchart.cpp \ builtins.cpp \ devices.cpp \ init.cpp \ @@ -17,13 +18,14 @@ LOCAL_SRC_FILES:= \ util.cpp \ watchdogd.cpp \ +#LOCAL_CLANG := true + LOCAL_CPPFLAGS += \ - -Wall \ + -Wall -Wextra \ -Werror -Wno-error=deprecated-declarations \ -Wno-unused-parameter \ ifeq ($(strip $(INIT_BOOTCHART)),true) -LOCAL_SRC_FILES += bootchart.cpp LOCAL_CPPFLAGS += -DBOOTCHART=1 endif |