2016-07-13 13:10:56 +08:00
|
|
|
cc_library {
|
|
|
|
name: "libdiskconfig",
|
2017-05-18 03:19:53 +08:00
|
|
|
vendor_available: true,
|
2017-07-24 14:19:45 +08:00
|
|
|
vndk: {
|
|
|
|
enabled: true,
|
|
|
|
},
|
2016-07-13 13:10:56 +08:00
|
|
|
srcs: [
|
|
|
|
"diskconfig.c",
|
|
|
|
"diskutils.c",
|
|
|
|
"write_lst.c",
|
|
|
|
"config_mbr.c",
|
|
|
|
],
|
|
|
|
|
|
|
|
shared_libs: [
|
|
|
|
"libcutils",
|
|
|
|
"liblog",
|
|
|
|
],
|
|
|
|
cflags: ["-Werror"],
|
|
|
|
export_include_dirs: ["include"],
|
|
|
|
local_include_dirs: ["include"],
|
|
|
|
|
|
|
|
target: {
|
|
|
|
darwin: {
|
|
|
|
enabled: false,
|
|
|
|
},
|
2017-10-03 01:38:16 +08:00
|
|
|
linux_glibc: {
|
2016-07-13 13:10:56 +08:00
|
|
|
cflags: [
|
|
|
|
"-O2",
|
|
|
|
"-g",
|
|
|
|
"-W",
|
|
|
|
"-Wall",
|
|
|
|
"-D_LARGEFILE64_SOURCE",
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|