blob: b92f0863d9a24d86a40a62948da66f7ef086feb3 [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 },
Dan Willemsen48529332017-10-02 10:38:16 -070026 linux_glibc: {
Dan Willemsen45f05242016-07-12 22:10:56 -070027 cflags: [
28 "-O2",
29 "-g",
30 "-W",
31 "-Wall",
32 "-D_LARGEFILE64_SOURCE",
33 ],
34 },
35 },
36}