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