1 cc_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 "-std=c++11", 25 ], 26 27 shared_libs: [ 28 "libandroid", 29 "libdl", 30 ], 31 32 ldflags: [ 33 "-Wl,--exclude-libs,libc++_static.a", 34 "-Wl,--hash-style=sysv", 35 ], 36 stl: "c++_static", 37 } 38 39 cc_library_shared { 40 name: "librsjni", 41 defaults: ["rs_support_defaults"], 42 43 sdk_version: "9", 44 45 srcs: ["android_renderscript_RenderScript.cpp"], 46 47 shared_libs: [ 48 "libdl", 49 "libjnigraphics", 50 "liblog", 51 ], 52 53 static_libs: ["libRSDispatch"], 54 55 include_dirs: [ 56 "frameworks/rs", 57 "frameworks/rs/cpp", 58 ], 59 60 cflags: [ 61 "-Werror", 62 "-Wall", 63 "-Wextra", 64 "-Wno-unused-parameter", 65 "-std=c++11", 66 "-DRS_COMPATIBILITY_LIB", 67 ], 68 69 required: ["libRSSupport"], 70 71 ldflags: [ 72 "-Wl,--exclude-libs,libc++_static.a", 73 "-Wl,--hash-style=sysv", 74 ], 75 76 stl: "c++_static", 77 } 78