• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright (C) 2022 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
19filegroup {
20    name: "healthfitness-permissions-testapp-srcs",
21    srcs: [
22        "src/**/*.java",
23    ],
24    visibility: [
25        "//packages/modules/HealthFitness:__subpackages__"
26    ],
27}
28
29android_test_helper_app {
30    name: "HealthFitnessPermsTestApp",
31    defaults: ["cts_defaults"],
32
33    libs: [
34        "android.test.base",
35        "android.test.runner",
36    ],
37
38    srcs: [":healthfitness-permissions-testapp-srcs"],
39
40    test_suites: [
41        "device-tests",
42        "general-tests",
43    ],
44
45    sdk_version: "system_current",
46
47}
48
49android_test_helper_app {
50    name: "HCPermsTestAppNoUsageIntent",
51    defaults: ["cts_defaults"],
52
53    libs: [
54        "android.test.base",
55        "android.test.runner",
56    ],
57
58    srcs: [":healthfitness-permissions-testapp-srcs"],
59
60    test_suites: [
61        "device-tests",
62        "general-tests",
63    ],
64    manifest: "AndroidManifest_NoPermsUsageIntent.xml",
65    sdk_version: "system_current",
66
67}
68
69android_test_helper_app {
70    name: "HCSharedUserPermsTestApp",
71    defaults: ["cts_defaults"],
72
73    libs: [
74        "android.test.base",
75        "android.test.runner",
76    ],
77
78    srcs: [":healthfitness-permissions-testapp-srcs"],
79
80    test_suites: [
81        "device-tests",
82        "general-tests",
83    ],
84    manifest: "AndroidManifest_sharedUser.xml",
85    sdk_version: "system_current",
86}