platform_system_core/libdiskconfig/Android.bp
Elliott Hughes c3a206ccda Revert "[LSC] Add LOCAL_LICENSE_KINDS to system/core"
This reverts commit 187b7d1950.

Reason for revert: system/core is multiple projects, not one.

Change-Id: I790ea41741f8cd9b8b6db2f59a49e71fb0958fd6
2021-02-16 20:01:20 +00:00

36 lines
674 B
Text

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,
},
linux_glibc: {
cflags: [
"-O2",
"-g",
"-W",
"-Wall",
"-D_LARGEFILE64_SOURCE",
],
},
},
}