1// Copyright (C) 2019 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    // See: http://go/android-license-faq
17    // A large-scale-change added 'default_applicable_licenses' to import
18    // all of the 'license_kinds' from "external_perfetto_license"
19    // to get the below license kinds:
20    //   SPDX-license-identifier-Apache-2.0
21    default_applicable_licenses: ["external_perfetto_license"],
22}
23
24android_test_helper_app {
25    name: "CtsPerfettoDebuggableApp",
26    // tag this module as a cts test artifact
27    test_suites: [
28        "cts",
29        "vts10",
30        "general-tests",
31    ],
32
33    manifest: "AndroidManifest_debuggable.xml",
34
35    compile_multilib: "both",
36    srcs: ["src/**/*.java"],
37    sdk_version: "current",
38    jni_libs: [
39        "libperfettocts_native",
40    ],
41    jni_uses_platform_apis: true,
42}
43
44android_test_helper_app {
45    name: "CtsPerfettoReleaseApp",
46    // tag this module as a cts test artifact
47    test_suites: [
48        "cts",
49        "vts10",
50        "general-tests",
51    ],
52
53    manifest: "AndroidManifest_release.xml",
54
55    compile_multilib: "both",
56    srcs: ["src/**/*.java"],
57    sdk_version: "current",
58    jni_libs: [
59        "libperfettocts_native",
60    ],
61    jni_uses_platform_apis: true,
62}
63
64android_test_helper_app {
65    name: "CtsPerfettoProfileableApp",
66    // tag this module as a cts test artifact
67    test_suites: [
68        "cts",
69        "vts10",
70        "general-tests",
71    ],
72
73    manifest: "AndroidManifest_profileable.xml",
74
75    compile_multilib: "both",
76    srcs: ["src/**/*.java"],
77    sdk_version: "current",
78    jni_libs: [
79        "libperfettocts_native",
80    ],
81    jni_uses_platform_apis: true,
82}
83
84android_test_helper_app {
85    name: "CtsPerfettoNonProfileableApp",
86    // tag this module as a cts test artifact
87    test_suites: [
88        "cts",
89        "vts10",
90        "general-tests",
91    ],
92
93    manifest: "AndroidManifest_nonprofileable.xml",
94
95    compile_multilib: "both",
96    srcs: ["src/**/*.java"],
97    sdk_version: "current",
98    jni_libs: [
99        "libperfettocts_native",
100    ],
101    jni_uses_platform_apis: true,
102}
103