Bob Badour | d69ad69 | 2021-02-16 19:02:14 -0800 | [diff] [blame] | 1 | package { |
| 2 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 3 | } |
| 4 | |
Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 5 | cc_library { |
| 6 | name: "libdiskconfig", |
Jayant Chowdhary | 69d1a88 | 2017-05-17 12:19:53 -0700 | [diff] [blame] | 7 | vendor_available: true, |
Justin Yun | 6a7e882 | 2017-07-24 15:19:45 +0900 | [diff] [blame] | 8 | vndk: { |
| 9 | enabled: true, |
| 10 | }, |
Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 11 | srcs: [ |
| 12 | "diskconfig.c", |
| 13 | "diskutils.c", |
| 14 | "write_lst.c", |
| 15 | "config_mbr.c", |
| 16 | ], |
| 17 | |
| 18 | shared_libs: [ |
| 19 | "libcutils", |
| 20 | "liblog", |
| 21 | ], |
| 22 | cflags: ["-Werror"], |
| 23 | export_include_dirs: ["include"], |
| 24 | local_include_dirs: ["include"], |
| 25 | |
| 26 | target: { |
| 27 | darwin: { |
| 28 | enabled: false, |
| 29 | }, |
Colin Cross | 10bbb01 | 2022-03-24 15:59:08 -0700 | [diff] [blame] | 30 | host_linux: { |
Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 31 | cflags: [ |
Dan Willemsen | 45f0524 | 2016-07-12 22:10:56 -0700 | [diff] [blame] | 32 | "-D_LARGEFILE64_SOURCE", |
| 33 | ], |
| 34 | }, |
| 35 | }, |
| 36 | } |