summaryrefslogtreecommitdiffstats
path: root/boot
diff options
context:
space:
mode:
authorChih-Hung Hsieh2017-11-20 12:49:11 -0600
committerChih-Hung Hsieh2017-11-20 12:49:11 -0600
commit3f2ea62d06e5a119dc82b412a2b13f74f0477dba (patch)
tree3d2b24748328c58e4525631c4453d4c037fd568a /boot
parentae6b2a5f1ec56c4d68aac10062ccb74e4df730ac (diff)
downloadplatform-hardware-interfaces-3f2ea62d06e5a119dc82b412a2b13f74f0477dba.tar.gz
platform-hardware-interfaces-3f2ea62d06e5a119dc82b412a2b13f74f0477dba.tar.xz
platform-hardware-interfaces-3f2ea62d06e5a119dc82b412a2b13f74f0477dba.zip
Use -Werror in hardware/interfaces
* Use hidl_defaults, which has -Wall -Werror. Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: Ifbca0e176a8e031acc27256eb46d23b89cdf1a0e
Diffstat (limited to 'boot')
-rw-r--r--boot/1.0/default/Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/boot/1.0/default/Android.bp b/boot/1.0/default/Android.bp
index c9b74925..6cfbf32e 100644
--- a/boot/1.0/default/Android.bp
+++ b/boot/1.0/default/Android.bp
@@ -1,5 +1,6 @@
1cc_library_shared { 1cc_library_shared {
2 name: "android.hardware.boot@1.0-impl", 2 name: "android.hardware.boot@1.0-impl",
3 defaults: ["hidl_defaults"],
3 relative_install_path: "hw", 4 relative_install_path: "hw",
4 vendor: true, 5 vendor: true,
5 srcs: ["BootControl.cpp"], 6 srcs: ["BootControl.cpp"],
@@ -17,6 +18,7 @@ cc_library_shared {
17 18
18cc_binary { 19cc_binary {
19 name: "android.hardware.boot@1.0-service", 20 name: "android.hardware.boot@1.0-service",
21 defaults: ["hidl_defaults"],
20 relative_install_path: "hw", 22 relative_install_path: "hw",
21 vendor: true, 23 vendor: true,
22 init_rc: ["android.hardware.boot@1.0-service.rc"], 24 init_rc: ["android.hardware.boot@1.0-service.rc"],