blob: f523d4e70c28d040f4dec1527867a8a44f84312d [file] [log] [blame]
Bob Badourd69ad692021-02-16 19:02:14 -08001package {
2 default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
Dan Willemsen45f05242016-07-12 22:10:56 -07005cc_library {
6 name: "libdiskconfig",
Jayant Chowdhary69d1a882017-05-17 12:19:53 -07007 vendor_available: true,
Justin Yun6a7e8822017-07-24 15:19:45 +09008 vndk: {
9 enabled: true,
10 },
Dan Willemsen45f05242016-07-12 22:10:56 -070011 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 Cross10bbb012022-03-24 15:59:08 -070030 host_linux: {
Dan Willemsen45f05242016-07-12 22:10:56 -070031 cflags: [
Dan Willemsen45f05242016-07-12 22:10:56 -070032 "-D_LARGEFILE64_SOURCE",
33 ],
34 },
35 },
36}