| # Copyright (C) 2018 The Android Open Source Project |
| # |
| # Licensed under the Apache License, Version 2.0 (the "License"); |
| # you may not use this file except in compliance with the License. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| |
| import("../../gn/perfetto.gni") |
| |
| assert(is_android) |
| |
| static_library("perfetto_cts_deps") { |
| complete_static_lib = true |
| testonly = true |
| deps = [ |
| "../..:libperfetto_client_experimental", |
| "../../gn:default_deps", |
| "../../gn:gtest_and_gmock", |
| "../../include/perfetto/ext/tracing/core", |
| "../../protos/perfetto/config:cpp", |
| "../../protos/perfetto/config/process_stats:cpp", |
| "../../protos/perfetto/config/profiling:cpp", |
| "../../protos/perfetto/trace:cpp", |
| "../../protos/perfetto/trace/profiling:cpp", |
| "../../src/base:test_support", |
| "../../src/protozero/filtering:bytecode_generator", |
| "../../test:test_helper", |
| ] |
| sources = [ |
| "device_feature_test_cts.cc", |
| "heapprofd_java_test_cts.cc", |
| "heapprofd_test_cts.cc", |
| "producer_to_consumer_integrationtest_cts.cc", |
| "traced_perf_test_cts.cc", |
| ] |
| } |
| |
| static_library("perfetto_cts_jni_deps") { |
| complete_static_lib = true |
| testonly = true |
| deps = [ |
| "..:test_helper", |
| "../../gn:default_deps", |
| "../../src/base:test_support", |
| ] |
| } |