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 (49 lines) | stat: -rw-r--r-- 1,313 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
cc_test {
    name: "hidl_test_java_native",
    srcs: ["hidl_test_java_native.cpp"],

    cflags: ["-Wall", "-Werror"],

    // Allow dlsym'ing self for statically linked passthrough implementations
    ldflags: ["-rdynamic"],

    shared_libs: [
        "libbase",
        "libcutils",
        "libhidlbase",
        "libhidltransport",
        "libhwbinder",
        "liblog",
        "libutils",
    ],

    static_libs: [
        "android.hardware.tests.baz@1.0",
        "android.hardware.tests.expression@1.0",
        "android.hardware.tests.inheritance@1.0",
        "android.hardware.tests.safeunion@1.0",
    ],

    // impls should never be static, these are used only for testing purposes
    // and test portability since this test pairs with specific hal
    // implementations
    whole_static_libs: [
        "android.hardware.tests.baz@1.0-impl",
        "android.hardware.tests.safeunion@1.0-impl",
    ],

    compile_multilib: "both",
}

java_test {
    name: "hidl_test_java_java",
    srcs: ["**/*.java"],

    static_libs: [
        "android.hidl.manager-V1.0-java",
        "android.hardware.tests.baz-V1.0-java",
        "android.hardware.tests.expression-V1.0-java",
        "android.hardware.tests.inheritance-V1.0-java",
        "android.hardware.tests.safeunion-V1.0-java",
    ],
}