Debian Codegraph @

rs/jni/Android.bp

raw
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
17 package {
18 // See: http://go/android-license-faq
19 default_applicable_licenses: ["frameworks_base_license"],
20 }
21
22 cc_library_shared {
23 name: "librs_jni",
24
25 srcs: ["android_renderscript_RenderScript.cpp"],
26
27 shared_libs: [
28 "libandroid",
29 "libandroid_runtime",
30 "libandroidfw",
31 "libRS",
32 "libcutils",
33 "libhwui",
34 "liblog",
35 "libutils",
36 "libui",
37 "libgui",
38 "libjnigraphics",
39 ],
40
41 header_libs: [
42 "jni_headers",
43 "libbase_headers",
44 ],
45
46 include_dirs: ["frameworks/rs"],
47
48 cflags: [
49 "-Wno-unused-parameter",
50 "-Wunused",
51 "-Wunreachable-code",
52 "-Wno-deprecated-declarations",
53 ],
54
55 target: {
56 android_riscv64: {
57 enabled: false,
58 },
59 },
60 }