File: Android.bp

package info (click to toggle)
android-platform-system-tools-hidl 10.0.0%2Br36-3.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,936 kB
  • sloc: cpp: 21,933; yacc: 1,416; java: 1,239; lex: 496; sh: 360; python: 44; xml: 20; makefile: 12
file content (18 lines) | stat: -rw-r--r-- 482 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
genrule {
    name: "hidl_error_test_gen",
    tools: ["hidl-gen"],
    tool_files: ["hidl_error_test.sh"],
    cmd: "$(location hidl_error_test.sh) $(location hidl-gen) &&" +
         "echo 'int main(){return 0;}' > $(genDir)/TODO_b_37575883.cpp",
    out: ["TODO_b_37575883.cpp"],
    srcs: [
        "**/*.hal",
        "**/required_error",
    ],
}

cc_test_host {
    name: "hidl_error_test",
    cflags: ["-Wall", "-Werror"],
    generated_sources: ["hidl_error_test_gen"],
}