| Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 1 | cc_library { |
| 2 | name: "libdiskconfig", | ||||
| 3 | srcs: [ | ||||
| 4 | "diskconfig.c", | ||||
| 5 | "diskutils.c", | ||||
| 6 | "write_lst.c", | ||||
| 7 | "config_mbr.c", | ||||
| 8 | ], | ||||
| 9 | |||||
| 10 | shared_libs: [ | ||||
| 11 | "libcutils", | ||||
| 12 | "liblog", | ||||
| 13 | ], | ||||
| 14 | cflags: ["-Werror"], | ||||
| 15 | export_include_dirs: ["include"], | ||||
| 16 | local_include_dirs: ["include"], | ||||
| 17 | |||||
| 18 | target: { | ||||
| 19 | darwin: { | ||||
| 20 | enabled: false, | ||||
| 21 | }, | ||||
| 22 | linux: { | ||||
| 23 | cflags: [ | ||||
| 24 | "-O2", | ||||
| 25 | "-g", | ||||
| 26 | "-W", | ||||
| 27 | "-Wall", | ||||
| 28 | "-D_LARGEFILE64_SOURCE", | ||||
| 29 | ], | ||||
| 30 | }, | ||||
| 31 | }, | ||||
| 32 | } | ||||