diff options
author | Chih-Hung Hsieh | 2017-11-20 12:49:11 -0600 |
---|---|---|
committer | Chih-Hung Hsieh | 2017-11-20 12:49:11 -0600 |
commit | 3f2ea62d06e5a119dc82b412a2b13f74f0477dba (patch) | |
tree | 3d2b24748328c58e4525631c4453d4c037fd568a /boot/1.0 | |
parent | ae6b2a5f1ec56c4d68aac10062ccb74e4df730ac (diff) | |
download | platform-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/1.0')
-rw-r--r-- | boot/1.0/default/Android.bp | 2 |
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 @@ | |||
1 | cc_library_shared { | 1 | cc_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 | ||
18 | cc_binary { | 19 | cc_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"], |