blob: 088981a7c4533640f52f98eb12b6f3b849211e45 [file] [log] [blame]
Dan Willemsen45f05242016-07-12 22:10:56 -07001cc_library {
2 name: "libdiskconfig",
Jayant Chowdhary69d1a882017-05-17 12:19:53 -07003 vendor_available: true,
Dan Willemsen45f05242016-07-12 22:10:56 -07004 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}