blob: 23a5c79d0d1cc19ddfabf013388839d0854980aa [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,
Justin Yun6a7e8822017-07-24 15:19:45 +09004 vndk: {
5 enabled: true,
6 },
Dan Willemsen45f05242016-07-12 22:10:56 -07007 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 },
26 linux: {
27 cflags: [
28 "-O2",
29 "-g",
30 "-W",
31 "-Wall",
32 "-D_LARGEFILE64_SOURCE",
33 ],
34 },
35 },
36}