1e45d533b3
libdl is part of system_shared_libs now. -ldl -lpthread -lm are now defaults for host_ldlibs on Linux and Darwin. -lrt is a default for host_ldlibs on Linux. Test: m host Change-Id: I0b3c147b00a8ab6ff289b85db55b88836c905f5c Exempt-From-Owner-Approval: build system cleanup
27 lines
449 B
Text
27 lines
449 B
Text
|
|
cc_library_headers {
|
|
name: "libnativebridge-dummy-headers",
|
|
|
|
host_supported: true,
|
|
export_include_dirs=["include"],
|
|
}
|
|
|
|
cc_library {
|
|
name: "libnativebridge",
|
|
|
|
host_supported: true,
|
|
srcs: ["native_bridge.cc"],
|
|
shared_libs: ["liblog", "libbase"],
|
|
|
|
export_include_dirs=["include"],
|
|
|
|
cflags: [
|
|
"-Werror",
|
|
"-Wall",
|
|
],
|
|
cppflags: [
|
|
"-fvisibility=protected",
|
|
],
|
|
}
|
|
|
|
subdirs = ["tests"]
|