android_system_core/libdiskconfig/Android.bp

37 lines
651 B
Plaintext

package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
cc_library {
name: "libdiskconfig",
vendor_available: true,
vndk: {
enabled: true,
},
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,
},
host_linux: {
cflags: [
"-D_LARGEFILE64_SOURCE",
],
},
},
}