Merge "libutils/libcutils: make host more like device" am: 43f29072a9
am: 02bb6c1b24
Change-Id: Ia7a1579ba589a8d68379ba9adfb5b69ebc1ed868
This commit is contained in:
commit
775ed88ddd
2 changed files with 11 additions and 18 deletions
|
|
@ -83,6 +83,8 @@ cc_library {
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
windows: {
|
windows: {
|
||||||
|
host_ldlibs: ["-lws2_32"],
|
||||||
|
|
||||||
srcs: [
|
srcs: [
|
||||||
"socket_inaddr_any_server_windows.cpp",
|
"socket_inaddr_any_server_windows.cpp",
|
||||||
"socket_network_client_windows.cpp",
|
"socket_network_client_windows.cpp",
|
||||||
|
|
@ -91,9 +93,6 @@ cc_library {
|
||||||
],
|
],
|
||||||
|
|
||||||
enabled: true,
|
enabled: true,
|
||||||
shared: {
|
|
||||||
enabled: false,
|
|
||||||
},
|
|
||||||
cflags: [
|
cflags: [
|
||||||
"-D_GNU_SOURCE",
|
"-D_GNU_SOURCE",
|
||||||
],
|
],
|
||||||
|
|
|
||||||
|
|
@ -69,6 +69,7 @@ cc_defaults {
|
||||||
],
|
],
|
||||||
|
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
|
"libcutils",
|
||||||
"liblog",
|
"liblog",
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
@ -83,7 +84,6 @@ cc_defaults {
|
||||||
cflags: ["-fvisibility=protected"],
|
cflags: ["-fvisibility=protected"],
|
||||||
|
|
||||||
shared_libs: [
|
shared_libs: [
|
||||||
"libcutils",
|
|
||||||
"libprocessgroup",
|
"libprocessgroup",
|
||||||
"libdl",
|
"libdl",
|
||||||
"libvndksupport",
|
"libvndksupport",
|
||||||
|
|
@ -98,14 +98,6 @@ cc_defaults {
|
||||||
exclude_shared_libs: ["libvndksupport"],
|
exclude_shared_libs: ["libvndksupport"],
|
||||||
},
|
},
|
||||||
|
|
||||||
host: {
|
|
||||||
cflags: ["-DLIBUTILS_NATIVE=1"],
|
|
||||||
|
|
||||||
shared: {
|
|
||||||
enabled: false,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
|
|
||||||
linux_bionic: {
|
linux_bionic: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
},
|
},
|
||||||
|
|
@ -180,18 +172,20 @@ cc_library {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
|
shared_libs: [
|
||||||
|
"libutils",
|
||||||
|
"libbacktrace",
|
||||||
|
],
|
||||||
|
|
||||||
target: {
|
target: {
|
||||||
android: {
|
|
||||||
shared_libs: [
|
|
||||||
"libutils",
|
|
||||||
"libbacktrace",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
linux: {
|
linux: {
|
||||||
srcs: [
|
srcs: [
|
||||||
"ProcessCallStack.cpp",
|
"ProcessCallStack.cpp",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
windows: {
|
||||||
|
enabled: false,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue