blob: ee33f9e8f89a0a12c89515557c195281e1a2bf6f [file] [log] [blame]
Ytai Ben-Tsvi37934a22020-08-11 15:53:04 -07001aidl_interface {
2 name: "shared-file-region-aidl",
3 unstable: true,
4 local_include_dir: "aidl",
5 srcs: [
6 "aidl/android/media/SharedFileRegion.aidl",
7 ],
8}
9
10cc_library {
11 name: "libshmemcompat",
12 export_include_dirs: ["include"],
13 srcs: ["ShmemCompat.cpp"],
14 shared_libs: [
15 "libbinder",
16 "libshmemutil",
17 "libutils",
18 "shared-file-region-aidl-cpp",
19 ],
20 export_shared_lib_headers: [
21 "libbinder",
22 "libutils",
23 "shared-file-region-aidl-cpp",
24 ],
25}
26
27cc_library {
28 name: "libshmemutil",
29 export_include_dirs: ["include"],
30 srcs: ["ShmemUtil.cpp"],
31 shared_libs: [
32 "shared-file-region-aidl-cpp",
33 ],
34 export_shared_lib_headers: [
35 "shared-file-region-aidl-cpp",
36 ],
37}
38
39cc_test {
40 name: "shmemTest",
41 srcs: ["ShmemTest.cpp"],
42 shared_libs: [
43 "libbinder",
44 "libshmemcompat",
45 "libshmemutil",
46 "libutils",
47 "shared-file-region-aidl-cpp",
48 ],
49 test_suites: ["device-tests"],
50}