1// Copyright (C) 2021 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: ["Android-Apache-2.0"],
17}
18
19java_defaults {
20    name: "CtsDomainVerificationTestDeclaringAppDefaults",
21    static_libs: [
22        "androidx.test.ext.junit",
23        "androidx.test.rules",
24        "compatibility-device-util-axt",
25        "CtsDomainVerificationAndroidConstantsLibrary",
26        "CtsDomainVerificationJavaConstantsLibrary",
27        "junit",
28        "truth-prebuilt",
29    ],
30}
31
32android_test_helper_app {
33    name: "CtsDomainVerificationTestDeclaringApp1",
34    srcs: ["src/**/*.kt"],
35    defaults: [
36        "cts_defaults",
37        "CtsDomainVerificationTestDeclaringAppDefaults",
38    ],
39    sdk_version: "test_current",
40    aaptflags: ["--rename-manifest-package com.android.cts.packagemanager.verify.domain.declaringapp1"],
41}
42
43android_test_helper_app {
44    name: "CtsDomainVerificationTestDeclaringApp2",
45    srcs: ["src/**/*.kt"],
46    defaults: [
47        "cts_defaults",
48        "CtsDomainVerificationTestDeclaringAppDefaults",
49    ],
50    sdk_version: "test_current",
51    aaptflags: ["--rename-manifest-package com.android.cts.packagemanager.verify.domain.declaringapp2"],
52}
53