blob: a3d643e2ce4a7fcea0d4bdd4ee27512f58f16249 [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 },
Dan Willemsen48529332017-10-02 10:38:16 -070030 linux_glibc: {
Dan Willemsen45f05242016-07-12 22:10:56 -070031 cflags: [
32 "-O2",
33 "-g",
34 "-W",
35 "-Wall",
36 "-D_LARGEFILE64_SOURCE",
37 ],
38 },
39 },
40}