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 (22 lines) | stat: -rw-r--r-- 514 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
genrule {
    name: "hidl_export_test_gen-headers",
    tools: [
        "hidl-gen",
    ],
    srcs: [
        "1.0/IFoo.hal",
        "1.0/types.hal"
    ],
    cmd: "$(location hidl-gen) -o $(genDir)/export-base.h -Lexport-header " +
         "-rexport:system/tools/hidl/test/export_test export@1.0",
    out: [
        "export-base.h"
    ],
}

cc_test_library {
    name: "hidl_export_test",
    cflags: ["-Wall", "-Werror"],
    generated_headers: ["hidl_export_test_gen-headers"],
    srcs: ["test.cpp"],
}