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, |
Justin Yun | 6a7e882 | 2017-07-24 15:19:45 +0900 | [diff] [blame] | 4 | vndk: { |
| 5 | enabled: true, |
| 6 | }, |
Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 7 | srcs: [ |
| 8 | "diskconfig.c", |
| 9 | "diskutils.c", |
| 10 | "write_lst.c", |
| 11 | "config_mbr.c", |
| 12 | ], |
| 13 | |
| 14 | shared_libs: [ |
| 15 | "libcutils", |
| 16 | "liblog", |
| 17 | ], |
| 18 | cflags: ["-Werror"], |
| 19 | export_include_dirs: ["include"], |
| 20 | local_include_dirs: ["include"], |
| 21 | |
| 22 | target: { |
| 23 | darwin: { |
| 24 | enabled: false, |
| 25 | }, |
Dan Willemsen | 4852933 | 2017-10-02 10:38:16 -0700 | [diff] [blame] | 26 | linux_glibc: { |
Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 27 | cflags: [ |
| 28 | "-O2", |
| 29 | "-g", |
| 30 | "-W", |
| 31 | "-Wall", |
| 32 | "-D_LARGEFILE64_SOURCE", |
| 33 | ], |
| 34 | }, |
| 35 | }, |
| 36 | } |