Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 1 | |
2 | cc_library { | ||||
3 | name: "libion", | ||||
4 | srcs: ["ion.c"], | ||||
5 | shared_libs: ["liblog"], | ||||
6 | local_include_dirs: [ | ||||
7 | "include", | ||||
8 | "kernel-headers", | ||||
9 | ], | ||||
10 | export_include_dirs: [ | ||||
11 | "include", | ||||
12 | "kernel-headers", | ||||
13 | ], | ||||
14 | cflags: ["-Werror"], | ||||
15 | } | ||||
16 | |||||
17 | cc_binary { | ||||
18 | name: "iontest", | ||||
19 | srcs: ["ion_test.c"], | ||||
20 | static_libs: ["libion"], | ||||
21 | shared_libs: ["liblog"], | ||||
22 | cflags: ["-Werror"], | ||||
23 | } | ||||
24 | |||||
25 | subdirs = ["tests"] |