85 lines
1.5 KiB
Plaintext
85 lines
1.5 KiB
Plaintext
package {
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "libRSSupportIO",
|
|
defaults: ["rs_support_defaults"],
|
|
|
|
sdk_version: "14",
|
|
|
|
srcs: [
|
|
"android_rscompat_usage_io.cpp",
|
|
"android_rscompat_usage_io_driver.cpp",
|
|
],
|
|
|
|
include_dirs: [
|
|
"frameworks/rs",
|
|
"frameworks/rs/cpp",
|
|
"frameworks/rs/driver",
|
|
],
|
|
|
|
cflags: [
|
|
"-Werror",
|
|
"-Wall",
|
|
"-Wextra",
|
|
"-Wno-unused-parameter",
|
|
"-DRS_COMPATIBILITY_LIB",
|
|
],
|
|
|
|
header_libs: ["jni_headers"],
|
|
|
|
shared_libs: [
|
|
"libandroid",
|
|
"libdl",
|
|
],
|
|
|
|
ldflags: [
|
|
"-Wl,--exclude-libs,libc++_static.a",
|
|
"-Wl,--hash-style=sysv",
|
|
],
|
|
stl: "c++_static",
|
|
}
|
|
|
|
cc_library_shared {
|
|
name: "librsjni",
|
|
defaults: ["rs_support_defaults"],
|
|
|
|
sdk_version: "9",
|
|
|
|
srcs: ["android_renderscript_RenderScript.cpp"],
|
|
|
|
header_libs: ["jni_headers"],
|
|
export_header_lib_headers: ["jni_headers"],
|
|
|
|
shared_libs: [
|
|
"libdl",
|
|
"libjnigraphics",
|
|
"liblog",
|
|
],
|
|
|
|
static_libs: ["libRSDispatch"],
|
|
|
|
include_dirs: [
|
|
"frameworks/rs",
|
|
"frameworks/rs/cpp",
|
|
],
|
|
|
|
cflags: [
|
|
"-Werror",
|
|
"-Wall",
|
|
"-Wextra",
|
|
"-Wno-unused-parameter",
|
|
"-DRS_COMPATIBILITY_LIB",
|
|
],
|
|
|
|
required: ["libRSSupport"],
|
|
|
|
ldflags: [
|
|
"-Wl,--exclude-libs,libc++_static.a",
|
|
"-Wl,--hash-style=sysv",
|
|
],
|
|
|
|
stl: "c++_static",
|
|
}
|