1//
2// Copyright (C) 2021 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17package {
18    // See: http://go/android-license-faq
19    default_applicable_licenses: ["frameworks_base_license"],
20}
21
22cc_library_shared {
23    name: "librs_jni",
24
25    cpp_std: "gnu++2b",
26    srcs: ["android_renderscript_RenderScript.cpp"],
27
28    shared_libs: [
29        "libandroid",
30        "libandroid_runtime",
31        "libandroidfw",
32        "libRS",
33        "libcutils",
34        "libhwui",
35        "liblog",
36        "libutils",
37        "libui",
38        "libgui",
39        "libjnigraphics",
40    ],
41
42    header_libs: [
43        "jni_headers",
44        "libbase_headers",
45    ],
46
47    include_dirs: ["frameworks/rs"],
48
49    cflags: [
50        "-Wno-unused-parameter",
51        "-Wunused",
52        "-Wunreachable-code",
53        "-Wno-deprecated-declarations",
54    ],
55
56    target: {
57        android_riscv64: {
58            enabled: false,
59        },
60    },
61}
62