4852933707
In the future, target.linux will apply to all targets running a linux kernel (android, linux_glibc, linux_bionic). So move all current users to the specific linux_glibc. There will be another cleanup pass later that will move some instances back to target.linux if the properties should be shared with target.android and target.linux_bionic, but target.linux needs to be removed first. Test: out/soong/build.ninja identical before/after Change-Id: I72ef34689c60ce547cab2898e354b027e335f6a1 Exempt-From-Owner-Approval: build system cleanup
36 lines
674 B
Text
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",
|
|
],
|
|
},
|
|
},
|
|
}
|