Use -Werror in hardware/interfaces am: ceb435f2ba

am: 1e48a3c563

Change-Id: Iacc0a022d0180c16340bc7937b43ea7b4d13a49c
This commit is contained in:
Chih-Hung Hsieh
2017-10-18 00:19:52 +00:00
committed by android-build-merger
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",