platform_system_core/libdiskconfig/Android.bp
Dan Willemsen 45f05240c2 Convert more Android.mk files to Android.bp
These modules have their dependencies satisfied, and aren't doing
anything strange.

Change-Id: I72039a15256cbd5e5eee0d79a15d66d74a6c087d
2016-07-13 17:41:45 -07:00

32 lines
598 B
Text

cc_library {
name: "libdiskconfig",
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",
],
},
},
}