blob: 2f73d92cae8f6a00c7d4ae3c72db0092ecdbdb74 [file] [log] [blame]
Dan Willemsen45f05242016-07-12 22:10:56 -07001cc_library {
2 name: "libion",
Justin Yun9ca92452017-07-31 15:41:10 +09003 vendor_available: true,
4 vndk: {
5 enabled: true,
6 support_system_process: true,
7 },
Dan Willemsen45f05242016-07-12 22:10:56 -07008 srcs: ["ion.c"],
9 shared_libs: ["liblog"],
10 local_include_dirs: [
11 "include",
12 "kernel-headers",
13 ],
14 export_include_dirs: [
15 "include",
16 "kernel-headers",
17 ],
18 cflags: ["-Werror"],
19}
20
21cc_binary {
22 name: "iontest",
23 srcs: ["ion_test.c"],
24 static_libs: ["libion"],
25 shared_libs: ["liblog"],
26 cflags: ["-Werror"],
27}
28
29subdirs = ["tests"]