• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2018 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
15import("../../gn/perfetto.gni")
16
17assert(is_android)
18
19static_library("perfetto_cts_deps") {
20  complete_static_lib = true
21  testonly = true
22  deps = [
23    "..:end_to_end_integrationtests",
24    "../..:libperfetto_client_experimental",
25    "../../gn:default_deps",
26    "../../gn:gtest_and_gmock",
27    "../../include/perfetto/ext/tracing/core",
28    "../../protos/perfetto/config:cpp",
29    "../../protos/perfetto/config/profiling:cpp",
30    "../../protos/perfetto/trace:cpp",
31    "../../protos/perfetto/trace/profiling:cpp",
32    "../../src/base:test_support",
33    "../../test:test_helper",
34  ]
35  sources = [
36    "device_feature_test_cts.cc",
37    "end_to_end_integrationtest_cts.cc",
38    "heapprofd_java_test_cts.cc",
39    "heapprofd_test_cts.cc",
40    "traced_perf_test_cts.cc",
41  ]
42}
43
44static_library("perfetto_cts_jni_deps") {
45  complete_static_lib = true
46  testonly = true
47  deps = [
48    "..:test_helper",
49    "../../gn:default_deps",
50    "../../src/base:test_support",
51  ]
52}
53