• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2009 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    default_applicable_licenses: ["Android-Apache-2.0"],
21}
22
23cc_test_library {
24    name: "libjnitest",
25    srcs: [
26        "android_jni_cts_BasicLoaderTest.cpp",
27        "android_jni_cts_InstanceNonce.c",
28        "android_jni_cts_JniCTest.c",
29        "android_jni_cts_JniCppTest.cpp",
30        "android_jni_cts_JniStaticTest.cpp",
31        "android_jni_cts_LinkerNamespacesTest.cpp",
32        "android_jni_cts_StaticNonce.c",
33        "helper.c",
34        "register.c",
35    ],
36    header_libs: ["libnativehelper_header_only"],
37    static_libs: ["libbase_ndk"],
38    shared_libs: [
39        "libdl",
40        "liblog",
41    ],
42    sdk_version: "current",
43    stl: "c++_static",
44    cflags: [
45        "-Wall",
46        "-Werror",
47        "-Wno-unused-parameter",
48
49        "-Wno-format",
50        "-Wno-gnu-designator",
51    ],
52    gtest: false,
53}
54
55cc_test_library {
56    name: "libjni_test_dlclose",
57    srcs: ["taxicab_number.cpp"],
58    cflags: [
59        "-Wall",
60        "-Werror",
61    ],
62    sdk_version: "23",
63    gtest: false,
64}
65