xref: /aosp_15_r20/cts/tests/tests/rscpp/librscpptest/Android.bp (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1// Copyright (C) 2013 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15//
16// This is the shared library included by the JNI test app.
17//
18
19package {
20    // See: http://go/android-license-faq
21    default_applicable_licenses: ["Android-Apache-2.0"],
22}
23
24cc_library_shared {
25    name: "librscpptest_jni",
26    srcs: [
27        "rs_jni.cpp",
28        "rs_jni_allocation.cpp",
29        "rs_jni_element.cpp",
30        "rs_jni_foreach.cpp",
31        "rs_jni_script.cpp",
32        "rs_jni_type.cpp",
33        "rs_jni_object.cpp",
34        "setelementat.rscript",
35        "primitives.rscript",
36        "instance.rscript",
37        "clear_object.rscript",
38        "foreach.rscript",
39        "fe_all.rscript",
40        "noroot.rscript",
41        "vector.rscript",
42    ],
43    include_dirs: [
44        "frameworks/rs/cpp",
45        "frameworks/rs",
46    ],
47    cflags: [
48        "-Wno-unused-parameter",
49    ],
50    header_libs: ["jni_headers"],
51    shared_libs: [
52        "libdl",
53        "liblog",
54    ],
55    static_libs: ["libRScpp_static"],
56    sdk_version: "21",
57    stl: "c++_static",
58}
59