blob: 88f0571c97ff42c90fc976284c7a1486341e1616 [file] [log] [blame]
Kyle Zhangde0a90b2023-06-15 00:16:42 +00001cc_library {
2 name: "libmediadrmrkp",
3 vendor_available: true,
4 srcs: [
5 "src/**/*.cpp",
6 ],
7 export_include_dirs: [
Shawn Willden3c1b1632024-03-29 08:54:20 -06008 "include",
Kyle Zhangde0a90b2023-06-15 00:16:42 +00009 ],
10 shared_libs: [
11 "libbinder_ndk",
Robert Shih1195d772023-07-10 11:54:57 -070012 "libcrypto",
Kyle Zhangde0a90b2023-06-15 00:16:42 +000013 "liblog",
Robert Shih1195d772023-07-10 11:54:57 -070014 ],
15 static_libs: [
16 "android.hardware.common-V2-ndk",
Huihong Luo2e55e1f2024-08-14 20:30:57 +000017 "android.hardware.drm.common-V1-ndk",
Kyle Zhangde0a90b2023-06-15 00:16:42 +000018 "android.hardware.drm-V1-ndk",
19 "android.hardware.security.rkp-V3-ndk",
Robert Shih1195d772023-07-10 11:54:57 -070020 "libbase",
Shawn Willden3cce62d2024-03-28 20:42:35 -060021 "libcppbor",
Kyle Zhangde0a90b2023-06-15 00:16:42 +000022 ],
23 defaults: [
24 "keymint_use_latest_hal_aidl_ndk_shared",
25 ],
26 cflags: [
27 "-Wall",
28 "-Werror",
29 ],
30}
31
32cc_binary {
33 name: "test_libmediadrmrkp",
34 srcs: [
35 "test/*",
36 ],
37 shared_libs: [
38 "libbinder_ndk",
39 "liblog",
Kyle Zhangde0a90b2023-06-15 00:16:42 +000040 ],
41 static_libs: [
Robert Shih1195d772023-07-10 11:54:57 -070042 "android.hardware.common-V2-ndk",
Huihong Luo2e55e1f2024-08-14 20:30:57 +000043 "android.hardware.drm.common-V1-ndk",
Robert Shih1195d772023-07-10 11:54:57 -070044 "android.hardware.drm-V1-ndk",
45 "android.hardware.security.rkp-V3-ndk",
46 "libbase",
Shawn Willden3cce62d2024-03-28 20:42:35 -060047 "libcppbor",
Kyle Zhangde0a90b2023-06-15 00:16:42 +000048 "libmediadrmrkp",
49 ],
50 vendor: true,
51 cflags: [
52 "-Wall",
53 "-Werror",
54 ],
Shawn Willden3c1b1632024-03-29 08:54:20 -060055}