Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 691a455b authored by Steven Moreland's avatar Steven Moreland
Browse files

Add hidl_default and make modules use hidl_default.

find hardware/interfaces -type f -not -path "*/.git/*" \
-exec sed -i -e '/cc_[A-Za-z_]\+/ { N; s/$/\n    defaults:
\["hidl_defaults"\],/ }' {} \;
./hardware/interfaces/update-makefiles.sh

Test: no warnings
Bug: 35840847
Change-Id: I468b76893bf3f4b62ad610d1d9603bcb8797a702
parent dc611e5d
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
subdirs = [
    "*"
]

cc_defaults {
    name: "hidl_defaults",
    cflags: [
        "-Wall",
        "-Werror",
    ],
}
+5 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@

cc_library_shared {
    name: "android.hardware.bluetooth@1.0-impl",
    defaults: ["hidl_defaults"],
    proprietary: true,
    relative_install_path: "hw",
    srcs: [
@@ -40,6 +41,7 @@ cc_library_shared {

cc_library_static {
    name: "android.hardware.bluetooth-async",
    defaults: ["hidl_defaults"],
    srcs: [
        "async_fd_watcher.cc",
    ],
@@ -54,6 +56,7 @@ cc_library_static {

cc_library_static {
    name: "android.hardware.bluetooth-hci",
    defaults: ["hidl_defaults"],
    srcs: [
        "hci_packetizer.cc",
        "hci_protocol.cc",
@@ -72,6 +75,7 @@ cc_library_static {

cc_test {
    name: "bluetooth-vendor-interface-unit-tests",
    defaults: ["hidl_defaults"],
    srcs: [
        "test/async_fd_watcher_unittest.cc",
        "test/h4_protocol_unittest.cc",
@@ -94,6 +98,7 @@ cc_test {

cc_test_host {
    name: "bluetooth-address-unit-tests",
    defaults: ["hidl_defaults"],
    srcs: [
        "bluetooth_address.cc",
        "test/bluetooth_address_test.cc",
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

cc_test {
    name: "VtsHalBluetoothV1_0TargetTest",
    defaults: ["hidl_defaults"],
    srcs: ["VtsHalBluetoothV1_0TargetTest.cpp"],
    shared_libs: [
        "libbase",
+2 −0
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@
// limitations under the License.
cc_library_shared {
    name: "android.hardware.ir@1.0-impl",
    defaults: ["hidl_defaults"],
    relative_install_path: "hw",
    proprietary: true,
    srcs: ["ConsumerIr.cpp"],
@@ -29,6 +30,7 @@ cc_library_shared {

cc_binary {
    relative_install_path: "hw",
    defaults: ["hidl_defaults"],
    name: "android.hardware.ir@1.0-service",
    proprietary: true,
    init_rc: ["android.hardware.ir@1.0-service.rc"],
+1 −0
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

cc_test {
    name: "VtsHalIrV1_0TargetTest",
    defaults: ["hidl_defaults"],
    srcs: ["VtsHalIrV1_0TargetTest.cpp"],
    shared_libs: [
        "libbase",
Loading