xref: /aosp_15_r20/external/icu/libicu/test/Android.bp (revision 0e209d3975ff4a8c132096b14b0e9364a753506e)
1// Copyright (C) 2020 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
15package {
16    default_team: "trendy_team_java_core_libraries",
17    default_visibility: [
18        "//external/icu:__subpackages__",
19        "//cts/tests/tests/icu:__subpackages__",
20    ],
21    // See: http://go/android-license-faq
22    // A large-scale-change added 'default_applicable_licenses' to import
23    // all of the 'license_kinds' from "external_icu_license"
24    // to get the below license kinds:
25    //   SPDX-license-identifier-Apache-2.0
26    default_applicable_licenses: ["external_icu_license"],
27}
28
29cc_test_library {
30    name: "libicutest_static",
31    defaults: ["icu4c_defaults"],
32    sdk_version: "current",
33    stl: "c++_static",
34    srcs: ["src/*.cpp"],
35    header_libs: ["jni_headers"],
36    shared_libs: [
37        "libicu",
38        "liblog",
39    ],
40    gtest: true,
41    tidy: true,
42    installable: false,
43}
44