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

Commit 06da29ff authored by Tri Vo's avatar Tri Vo Committed by Steven Moreland
Browse files

Use filegroup as genrule srcs.

Test: mmma hardware/interfaces -j64
Change-Id: If282ed5f4a87045d169fcea7ad648b046a5f1cfb
parent 0574bacb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ genrule {
    tools: ["hidl-gen"],
    cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.benchmarks.msgq@1.0",
    srcs: [
        "IBenchmarkMsgQ.hal",
        ":android.hardware.benchmarks.msgq@1.0_hal",
    ],
    out: [
        "android/hardware/benchmarks/msgq/1.0/BenchmarkMsgQAll.cpp",
@@ -24,7 +24,7 @@ genrule {
    tools: ["hidl-gen"],
    cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.benchmarks.msgq@1.0",
    srcs: [
        "IBenchmarkMsgQ.hal",
        ":android.hardware.benchmarks.msgq@1.0_hal",
    ],
    out: [
        "android/hardware/benchmarks/msgq/1.0/IBenchmarkMsgQ.h",
+2 −6
Original line number Diff line number Diff line
@@ -14,9 +14,7 @@ genrule {
    tools: ["hidl-gen"],
    cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.bluetooth@1.0",
    srcs: [
        "types.hal",
        "IBluetoothHci.hal",
        "IBluetoothHciCallbacks.hal",
        ":android.hardware.bluetooth@1.0_hal",
    ],
    out: [
        "android/hardware/bluetooth/1.0/types.cpp",
@@ -30,9 +28,7 @@ genrule {
    tools: ["hidl-gen"],
    cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.bluetooth@1.0",
    srcs: [
        "types.hal",
        "IBluetoothHci.hal",
        "IBluetoothHciCallbacks.hal",
        ":android.hardware.bluetooth@1.0_hal",
    ],
    out: [
        "android/hardware/bluetooth/1.0/types.h",
+2 −4
Original line number Diff line number Diff line
@@ -13,8 +13,7 @@ genrule {
    tools: ["hidl-gen"],
    cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.boot@1.0",
    srcs: [
        "types.hal",
        "IBootControl.hal",
        ":android.hardware.boot@1.0_hal",
    ],
    out: [
        "android/hardware/boot/1.0/types.cpp",
@@ -27,8 +26,7 @@ genrule {
    tools: ["hidl-gen"],
    cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.boot@1.0",
    srcs: [
        "types.hal",
        "IBootControl.hal",
        ":android.hardware.boot@1.0_hal",
    ],
    out: [
        "android/hardware/boot/1.0/types.h",
+2 −4
Original line number Diff line number Diff line
@@ -13,8 +13,7 @@ genrule {
    tools: ["hidl-gen"],
    cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.ir@1.0",
    srcs: [
        "types.hal",
        "IConsumerIr.hal",
        ":android.hardware.ir@1.0_hal",
    ],
    out: [
        "android/hardware/ir/1.0/types.cpp",
@@ -27,8 +26,7 @@ genrule {
    tools: ["hidl-gen"],
    cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.ir@1.0",
    srcs: [
        "types.hal",
        "IConsumerIr.hal",
        ":android.hardware.ir@1.0_hal",
    ],
    out: [
        "android/hardware/ir/1.0/types.h",
+2 −6
Original line number Diff line number Diff line
@@ -14,9 +14,7 @@ genrule {
    tools: ["hidl-gen"],
    cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.nfc@1.0",
    srcs: [
        "types.hal",
        "INfc.hal",
        "INfcClientCallback.hal",
        ":android.hardware.nfc@1.0_hal",
    ],
    out: [
        "android/hardware/nfc/1.0/types.cpp",
@@ -30,9 +28,7 @@ genrule {
    tools: ["hidl-gen"],
    cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.nfc@1.0",
    srcs: [
        "types.hal",
        "INfc.hal",
        "INfcClientCallback.hal",
        ":android.hardware.nfc@1.0_hal",
    ],
    out: [
        "android/hardware/nfc/1.0/types.h",
Loading