blob: b494bb754370c854e78df38936dfe07aba40d1e0 [file] [log] [blame]
ThiƩbaud Weksteenf6a884072023-03-24 10:46:30 +11001// Copyright (C) 2023 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: ["frameworks_base_license"],
17}
18
19android_test {
20 name: "EnforcePermissionPerfTests",
21 srcs: [
22 "src/**/*.java",
23 ":frameworks-enforce-permission-test-aidl",
24 ],
25 static_libs: [
26 "EnforcePermissionTestLib",
27 "androidx.benchmark_benchmark-common",
28 "androidx.benchmark_benchmark-junit4",
29 "apct-perftests-utils",
30 "collector-device-lib",
31 "androidx.test.rules",
32 ],
33 libs: [
34 "android.test.base",
35 "android.test.runner",
36 ],
37 data: [
38 ":EnforcePermissionTestHelper",
39 ":perfetto_artifacts",
40 "perfetto.textproto",
41 ],
42 platform_apis: true,
43 certificate: "platform",
44 test_suites: ["device-tests"],
45}