1//
2// Copyright (C) 2024 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
17package {
18    default_applicable_licenses: ["frameworks-base-test-junit-license"],
19}
20
21license {
22    name: "frameworks-base-test-junit-license",
23    visibility: [":__subpackages__"],
24    license_kinds: [
25        "SPDX-license-identifier-CPL-1.0",
26    ],
27    license_text: [
28        "src/junit/cpl-v10.html",
29    ],
30}
31
32filegroup {
33    name: "frameworks-base-test-junit-framework",
34    srcs: [
35        "src/junit/framework/**/*.java",
36    ],
37    path: "src",
38    visibility: [
39        "//frameworks/base/test-base",
40    ],
41}
42
43filegroup {
44    name: "frameworks-base-test-junit-runner",
45    srcs: [
46        "src/junit/runner/**/*.java",
47        "src/junit/textui/**/*.java",
48    ],
49    path: "src",
50    visibility: [
51        "//frameworks/base/test-runner",
52    ],
53}
54