summaryrefslogtreecommitdiffstats
path: root/common/support/Android.bp
blob: 3bb48049f3c397aea055710fbe2744347874d636 (plain)
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
cc_library_static {
    name: "libaidlcommonsupport",
    vendor_available: true,
    host_supported: true,
    defaults: ["libbinder_ndk_host_user"],
    srcs: ["NativeHandle.cpp"],
    export_include_dirs: ["include"],
    shared_libs: [
        "android.hardware.common-unstable-ndk_platform",
        "libcutils",
    ],
}

cc_test {
    name: "libaidlcommonsupport_test",
    host_supported: true,
    defaults: ["libbinder_ndk_host_user"],
    srcs: ["test.cpp"],
    static_libs: [
        "libaidlcommonsupport",
    ],
    shared_libs: [
        "android.hardware.common-unstable-ndk_platform",
        "libcutils",
    ],
    test_suites: ["general-tests"],
}