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

Commit a6de4ca8 authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

Add hidl_default and make modules use hidl_default. am: 691a455b

am: 7c9f5c35

Change-Id: I8398871171d2480875c1009a13a2f40df7b5f309
parents 43fa10b2 7c9f5c35
Loading
Loading
Loading
Loading
+8 −0
Original line number Original line Diff line number Diff line
subdirs = [
subdirs = [
    "*"
    "*"
]
]

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


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


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


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


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


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


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


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


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