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

Commit 533ab025 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Move android.hardware.benchmarks into android.hardware.tests"

parents 77c3822d c8f7d737
Loading
Loading
Loading
Loading

benchmarks/Android.bp

deleted100644 → 0
+0 −4
Original line number Diff line number Diff line
// This is an autogenerated file, do not edit.
subdirs = [
    "msgq/1.0",
]

benchmarks/msgq/1.0/Android.bp

deleted100644 → 0
+0 −59
Original line number Diff line number Diff line
// This file is autogenerated by hidl-gen. Do not edit manually.

filegroup {
    name: "android.hardware.benchmarks.msgq@1.0_hal",
    srcs: [
        "IBenchmarkMsgQ.hal",
    ],
}

genrule {
    name: "android.hardware.benchmarks.msgq@1.0_genc++",
    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: [
        ":android.hardware.benchmarks.msgq@1.0_hal",
    ],
    out: [
        "android/hardware/benchmarks/msgq/1.0/BenchmarkMsgQAll.cpp",
    ],
}

genrule {
    name: "android.hardware.benchmarks.msgq@1.0_genc++_headers",
    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: [
        ":android.hardware.benchmarks.msgq@1.0_hal",
    ],
    out: [
        "android/hardware/benchmarks/msgq/1.0/IBenchmarkMsgQ.h",
        "android/hardware/benchmarks/msgq/1.0/IHwBenchmarkMsgQ.h",
        "android/hardware/benchmarks/msgq/1.0/BnHwBenchmarkMsgQ.h",
        "android/hardware/benchmarks/msgq/1.0/BpHwBenchmarkMsgQ.h",
        "android/hardware/benchmarks/msgq/1.0/BsBenchmarkMsgQ.h",
    ],
}

cc_library_shared {
    name: "android.hardware.benchmarks.msgq@1.0",
    generated_sources: ["android.hardware.benchmarks.msgq@1.0_genc++"],
    generated_headers: ["android.hardware.benchmarks.msgq@1.0_genc++_headers"],
    export_generated_headers: ["android.hardware.benchmarks.msgq@1.0_genc++_headers"],
    shared_libs: [
        "libhidlbase",
        "libhidltransport",
        "libhwbinder",
        "liblog",
        "libutils",
        "libcutils",
        "android.hidl.base@1.0",
    ],
    export_shared_lib_headers: [
        "libhidlbase",
        "libhidltransport",
        "libhwbinder",
        "libutils",
        "android.hidl.base@1.0",
    ],
}
+7 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
filegroup {
    name: "android.hardware.tests.msgq@1.0_hal",
    srcs: [
        "IBenchmarkMsgQ.hal",
        "ITestMsgQ.hal",
    ],
}
@@ -15,6 +16,7 @@ genrule {
        ":android.hardware.tests.msgq@1.0_hal",
    ],
    out: [
        "android/hardware/tests/msgq/1.0/BenchmarkMsgQAll.cpp",
        "android/hardware/tests/msgq/1.0/TestMsgQAll.cpp",
    ],
}
@@ -27,6 +29,11 @@ genrule {
        ":android.hardware.tests.msgq@1.0_hal",
    ],
    out: [
        "android/hardware/tests/msgq/1.0/IBenchmarkMsgQ.h",
        "android/hardware/tests/msgq/1.0/IHwBenchmarkMsgQ.h",
        "android/hardware/tests/msgq/1.0/BnHwBenchmarkMsgQ.h",
        "android/hardware/tests/msgq/1.0/BpHwBenchmarkMsgQ.h",
        "android/hardware/tests/msgq/1.0/BsBenchmarkMsgQ.h",
        "android/hardware/tests/msgq/1.0/ITestMsgQ.h",
        "android/hardware/tests/msgq/1.0/IHwTestMsgQ.h",
        "android/hardware/tests/msgq/1.0/BnHwTestMsgQ.h",
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@
 * limitations under the License.
 */

package android.hardware.benchmarks.msgq@1.0;
package android.hardware.tests.msgq@1.0;

interface IBenchmarkMsgQ {
    /*