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