1 2cc_library_headers { 3 name: "libnativebridge-dummy-headers", 4 5 host_supported: true, 6 export_include_dirs=["include"], 7} 8 9cc_library { 10 name: "libnativebridge", 11 12 host_supported: true, 13 srcs: ["native_bridge.cc"], 14 shared_libs: ["liblog"], 15 clang: true, 16 17 export_include_dirs=["include"], 18 19 cflags: [ 20 "-Werror", 21 "-Wall", 22 ], 23 cppflags: [ 24 "-fvisibility=protected", 25 ], 26 27 host_ldlibs: ["-ldl"], 28 target: { 29 android: { 30 shared_libs: ["libdl"], 31 }, 32 }, 33} 34 35subdirs = ["tests"] 36