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: Iadc1ba324e03fd2b1b52bf471ffa2a71e0ec3e61
Exempt-From-Owner-Approval: build system cleanup
darwin: {
enabled: false,
},
- linux: {
+ linux_glibc: {
cflags: ["-D_GNU_SOURCE"],
},
},
darwin: {
enabled: false,
},
- linux: {
+ linux_glibc: {
cflags: [
"-D_GNU_SOURCE",
"-DOS_GENERIC",
"libosi",
],
target: {
- linux: {
+ linux_glibc: {
cflags: ["-DOS_GENERIC"],
},
darwin: {
"test/stub_ipc_handler_linux.cc",
],
},
- linux: {
+ linux_glibc: {
srcs: btserviceLinuxSrc + [
// TODO(bcf): Fix this test.
//"test/ipc_linux_unittest.cc",