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"], | |
export_include_dirs=["include"], | |
cflags: [ | |
"-Werror", | |
"-Wall", | |
], | |
cppflags: [ | |
"-fvisibility=protected", | |
], | |
host_ldlibs: ["-ldl"], | |
target: { | |
android: { | |
shared_libs: ["libdl"], | |
}, | |
}, | |
} | |
subdirs = ["tests"] |