Use -Werror in hardware/interfaces am: ceb435f2ba
am: 1e48a3c563
am: 8247f4a2f3
Change-Id: Ib3ac309a84c503eadc5dfa67996b2a9576a0fca5
This commit is contained in:
commit
9d8731e255
4 changed files with 6 additions and 1 deletions
|
@ -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",
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue