2016-07-13 07:10:56 +02:00
|
|
|
cc_library {
|
|
|
|
name: "libdiskconfig",
|
2017-05-17 21:19:53 +02:00
|
|
|
vendor_available: true,
|
2017-07-24 08:19:45 +02:00
|
|
|
vndk: {
|
|
|
|
enabled: true,
|
|
|
|
},
|
2016-07-13 07:10:56 +02: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-02 19:38:16 +02:00
|
|
|
linux_glibc: {
|
2016-07-13 07:10:56 +02:00
|
|
|
cflags: [
|
|
|
|
"-O2",
|
|
|
|
"-g",
|
|
|
|
"-W",
|
|
|
|
"-Wall",
|
|
|
|
"-D_LARGEFILE64_SOURCE",
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|