1cc_library {
2    name: "libmediadrmrkp",
3    vendor_available: true,
4    srcs: [
5        "src/**/*.cpp",
6    ],
7    export_include_dirs: [
8        "include",
9    ],
10    shared_libs: [
11        "libbinder_ndk",
12        "libcrypto",
13        "liblog",
14    ],
15    static_libs: [
16        "android.hardware.common-V2-ndk",
17        "android.hardware.drm-V1-ndk",
18        "android.hardware.security.rkp-V3-ndk",
19        "libbase",
20        "libcppbor",
21    ],
22    defaults: [
23        "keymint_use_latest_hal_aidl_ndk_shared",
24    ],
25    cflags: [
26        "-Wall",
27        "-Werror",
28    ],
29}
30
31cc_binary {
32    name: "test_libmediadrmrkp",
33    srcs: [
34        "test/*",
35    ],
36    shared_libs: [
37        "libbinder_ndk",
38        "liblog",
39    ],
40    static_libs: [
41        "android.hardware.common-V2-ndk",
42        "android.hardware.drm-V1-ndk",
43        "android.hardware.security.rkp-V3-ndk",
44        "libbase",
45        "libcppbor",
46        "libmediadrmrkp",
47    ],
48    vendor: true,
49    cflags: [
50        "-Wall",
51        "-Werror",
52    ],
53}
54