Use -Werror in hardware/interfaces

* Use hidl_defaults, which has -Wall -Werror.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: Ifbca0e176a8e031acc27256eb46d23b89cdf1a0e
This commit is contained in:
Chih-Hung Hsieh
2017-11-20 10:49:11 -08:00
parent ae6b2a5f1e
commit 3f2ea62d06
8 changed files with 14 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
cc_library_shared {
name: "android.hardware.gatekeeper@1.0-impl",
defaults: ["hidl_defaults"],
relative_install_path: "hw",
vendor: true,
@@ -18,6 +19,7 @@ cc_library_shared {
cc_binary {
name: "android.hardware.gatekeeper@1.0-service",
defaults: ["hidl_defaults"],
relative_install_path: "hw",
vendor: true,
init_rc: ["android.hardware.gatekeeper@1.0-service.rc"],