Trevor Radcliffe | c2968df | 2021-10-20 18:59:50 +0000 | [diff] [blame] | 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 | |
Yurii Zubrytskyi | b345519 | 2023-05-01 14:35:48 -0700 | [diff] [blame] | 25 | cpp_std: "gnu++2b", |
Trevor Radcliffe | c2968df | 2021-10-20 18:59:50 +0000 | [diff] [blame] | 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 | ], |
Colin Cross | 8117fab | 2023-01-25 14:32:58 -0800 | [diff] [blame] | 55 | |
| 56 | target: { |
| 57 | android_riscv64: { |
| 58 | enabled: false, |
| 59 | }, |
| 60 | }, |
Trevor Radcliffe | c2968df | 2021-10-20 18:59:50 +0000 | [diff] [blame] | 61 | } |