platform_system_core/libdiskconfig/Android.bp
Jayant Chowdhary 69d1a88097 Mark libdiskconfig vendor_available.
libdisckonfig is a library which belongs to vndk-cap. Mark it
vendor_available to enable vndk abi stability checks on it.

Details: https://android-review.googlesource.com/368372

Test: mm -j64

Bug: 38244611

Change-Id: I079869f0120fa33893540b72044ddf25c1d04bf2
2017-05-24 14:21:48 -07:00

33 lines
626 B
Text

cc_library {
name: "libdiskconfig",
vendor_available: 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,
},
linux: {
cflags: [
"-O2",
"-g",
"-W",
"-Wall",
"-D_LARGEFILE64_SOURCE",
],
},
},
}