Use -Werror in hardware/interfaces am: ceb435f2ba am: 1e48a3c563 am: 8247f4a2f3

am: 9d8731e255

Change-Id: Ibe4022b6f8b8089540931e47e78b5f4d8901e855
This commit is contained in:
Chih-Hung Hsieh 2017-10-18 00:24:55 +00:00 committed by android-build-merger
commit 1024478de1
4 changed files with 6 additions and 1 deletions

View file

@ -16,6 +16,7 @@
cc_binary {
name: "android.hardware.tests.extension.light@2.0-service",
defaults: ["hidl_defaults"],
init_rc: ["android.hardware.tests.extension.light@2.0-service.rc"],
vendor: true,
relative_install_path: "hw",

View file

@ -30,6 +30,8 @@ using android::hardware::tests::extension::light::V2_0::implementation::Light;
int main() {
android::sp<ILight> service = new Light();
configureRpcThreadpool(1, true /*callerWillJoin*/);
service->registerAsService();
if (service->registerAsService() != android::OK) {
exit(1);
}
joinRpcThreadpool();
}

View file

@ -14,6 +14,7 @@
cc_binary {
name: "android.hardware.usb@1.0-service",
defaults: ["hidl_defaults"],
init_rc: ["android.hardware.usb@1.0-service.rc"],
relative_install_path: "hw",
vendor: true,

View file

@ -31,6 +31,7 @@ cc_library_shared {
cc_binary {
name: "android.hardware.vibrator@1.0-service",
defaults: ["hidl_defaults"],
init_rc: ["android.hardware.vibrator@1.0-service.rc"],
vendor: true,
relative_install_path: "hw",