upload android base code part6
This commit is contained in:
parent
421e214c7d
commit
4e516ec6ed
35396 changed files with 9188716 additions and 0 deletions
35
android/system/core/libnativebridge/Android.bp
Normal file
35
android/system/core/libnativebridge/Android.bp
Normal file
|
@ -0,0 +1,35 @@
|
|||
|
||||
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"],
|
||||
clang: true,
|
||||
|
||||
export_include_dirs=["include"],
|
||||
|
||||
cflags: [
|
||||
"-Werror",
|
||||
"-Wall",
|
||||
],
|
||||
cppflags: [
|
||||
"-fvisibility=protected",
|
||||
],
|
||||
|
||||
host_ldlibs: ["-ldl"],
|
||||
target: {
|
||||
android: {
|
||||
shared_libs: ["libdl"],
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
subdirs = ["tests"]
|
Loading…
Add table
Add a link
Reference in a new issue