• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1cc_library_shared {
2    name: "libRSSupportIO",
3    defaults: ["rs_support_defaults"],
4
5    sdk_version: "14",
6
7    srcs: [
8        "android_rscompat_usage_io.cpp",
9        "android_rscompat_usage_io_driver.cpp",
10    ],
11
12    include_dirs: [
13        "frameworks/rs",
14        "frameworks/rs/cpp",
15        "frameworks/rs/driver",
16    ],
17
18    cflags: [
19        "-Werror",
20        "-Wall",
21        "-Wextra",
22        "-Wno-unused-parameter",
23        "-DRS_COMPATIBILITY_LIB",
24    ],
25
26    shared_libs: [
27        "libandroid",
28        "libdl",
29    ],
30
31    ldflags: [
32        "-Wl,--exclude-libs,libc++_static.a",
33        "-Wl,--hash-style=sysv",
34    ],
35    stl: "c++_static",
36}
37
38cc_library_shared {
39    name: "librsjni",
40    defaults: ["rs_support_defaults"],
41
42    sdk_version: "9",
43
44    srcs: ["android_renderscript_RenderScript.cpp"],
45
46    shared_libs: [
47        "libdl",
48        "libjnigraphics",
49        "liblog",
50    ],
51
52    static_libs: ["libRSDispatch"],
53
54    include_dirs: [
55        "frameworks/rs",
56        "frameworks/rs/cpp",
57    ],
58
59    cflags: [
60        "-Werror",
61        "-Wall",
62        "-Wextra",
63        "-Wno-unused-parameter",
64        "-DRS_COMPATIBILITY_LIB",
65    ],
66
67    required: ["libRSSupport"],
68
69    ldflags: [
70        "-Wl,--exclude-libs,libc++_static.a",
71        "-Wl,--hash-style=sysv",
72    ],
73
74    stl: "c++_static",
75}
76