xref: /aosp_15_r20/external/crcalc/tests/Android.bp (revision a164e4c8ceb68d2ed98bfa4453ac24556007d537)
1*a164e4c8SXin Li// Copyright (C) 2015 The Android Open Source Project
2*a164e4c8SXin Li//
3*a164e4c8SXin Li// Licensed under the Apache License, Version 2.0 (the "License");
4*a164e4c8SXin Li// you may not use this file except in compliance with the License.
5*a164e4c8SXin Li// You may obtain a copy of the License at
6*a164e4c8SXin Li//
7*a164e4c8SXin Li//      http://www.apache.org/licenses/LICENSE-2.0
8*a164e4c8SXin Li//
9*a164e4c8SXin Li// Unless required by applicable law or agreed to in writing, software
10*a164e4c8SXin Li// distributed under the License is distributed on an "AS IS" BASIS,
11*a164e4c8SXin Li// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12*a164e4c8SXin Li// See the License for the specific language governing permissions and
13*a164e4c8SXin Li// limitations under the License.
14*a164e4c8SXin Li//
15*a164e4c8SXin Li// Other files in this directory carry a different license.
16*a164e4c8SXin Li
17*a164e4c8SXin Li// build the test apk
18*a164e4c8SXin Li//-------------------------------
19*a164e4c8SXin Lipackage {
20*a164e4c8SXin Li    // See: http://go/android-license-faq
21*a164e4c8SXin Li    // A large-scale-change added 'default_applicable_licenses' to import
22*a164e4c8SXin Li    // all of the 'license_kinds' from "external_crcalc_license"
23*a164e4c8SXin Li    // to get the below license kinds:
24*a164e4c8SXin Li    //   SPDX-license-identifier-Apache-2.0
25*a164e4c8SXin Li    default_applicable_licenses: ["external_crcalc_license"],
26*a164e4c8SXin Li}
27*a164e4c8SXin Li
28*a164e4c8SXin Liandroid_test {
29*a164e4c8SXin Li    name: "CRTests",
30*a164e4c8SXin Li    sdk_version: "19",
31*a164e4c8SXin Li    srcs: [
32*a164e4c8SXin Li        "src/**/*.java",
33*a164e4c8SXin Li    ],
34*a164e4c8SXin Li    static_libs: ["cr"],
35*a164e4c8SXin Li}
36