Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 1 | cc_library { |
2 | name: "libion", | ||||
Justin Yun | 9ca9245 | 2017-07-31 15:41:10 +0900 | [diff] [blame] | 3 | vendor_available: true, |
4 | vndk: { | ||||
5 | enabled: true, | ||||
6 | support_system_process: true, | ||||
7 | }, | ||||
Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 8 | 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 | |||||
21 | cc_binary { | ||||
22 | name: "iontest", | ||||
23 | srcs: ["ion_test.c"], | ||||
24 | static_libs: ["libion"], | ||||
25 | shared_libs: ["liblog"], | ||||
26 | cflags: ["-Werror"], | ||||
27 | } | ||||
28 | |||||
29 | subdirs = ["tests"] |