xref: /aosp_15_r20/external/gturri-jISO8601/Android.bp (revision 03a4fcd472b80069eaa5dc5a5ad326530da12b91)
1// Copyright (C) 2024 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_applicable_licenses: [
17        "gturri_jiso8601_LICENSE",
18    ],
19}
20
21license {
22    name: "gturri_jiso8601_LICENSE",
23    visibility: [":__subpackages__"],
24    license_kinds: [
25        "SPDX-license-identifier-Apache-2.0",
26    ],
27    license_text: [
28        "LICENSE",
29    ],
30}
31
32java_library_host {
33    name: "gturri_jiso8601",
34    srcs: ["src/main/java/**/*.java"],
35    visibility: [
36        ":__subpackages__",
37        "//external/gturri-aXMLRPC",
38    ],
39}
40
41java_test_host {
42    name: "gturri_jiso8601-tests",
43    srcs: ["src/test/java/**/*.java"],
44    static_libs: [
45        "gturri_jiso8601",
46        "junit",
47    ],
48}
49