1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "hardware_interfaces_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["hardware_interfaces_license"],
8}
9
10cc_library_shared {
11    name: "android.hardware.renderscript@1.0-impl",
12    defaults: ["hidl_defaults"],
13    relative_install_path: "hw",
14    proprietary: true,
15    srcs: [
16        "Context.cpp",
17        "Device.cpp",
18    ],
19    include_dirs: [
20        "frameworks/rs",
21    ],
22    shared_libs: [
23        "libdl",
24        "libbase",
25        "libhidlbase",
26        "libutils",
27        "android.hardware.renderscript@1.0",
28    ],
29
30    product_variables: {
31        override_rs_driver: {
32            cflags: ["-DOVERRIDE_RS_DRIVER=%s"],
33        },
34    },
35
36}
37