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 "../..:libperfetto_client_experimental", 24 "../../gn:default_deps", 25 "../../gn:gtest_and_gmock", 26 "../../include/perfetto/ext/tracing/core", 27 "../../protos/perfetto/config:cpp", 28 "../../protos/perfetto/config/process_stats:cpp", 29 "../../protos/perfetto/config/profiling:cpp", 30 "../../protos/perfetto/trace:cpp", 31 "../../protos/perfetto/trace/interned_data:cpp", 32 "../../protos/perfetto/trace/profiling:cpp", 33 "../../src/base:test_support", 34 "../../src/protozero/filtering:bytecode_generator", 35 "../../test:test_helper", 36 ] 37 sources = [ 38 "art_module/heapprofd_java_test_cts.cc", 39 "device_feature_test_cts.cc", 40 "heapprofd_test_cts.cc", 41 "heapprofd_test_helper.cc", 42 "producer_to_consumer_integrationtest_cts.cc", 43 "traced_perf_test_cts.cc", 44 ] 45} 46 47static_library("perfetto_cts_jni_deps") { 48 complete_static_lib = true 49 testonly = true 50 deps = [ 51 "..:test_helper", 52 "../../gn:default_deps", 53 "../../src/base:test_support", 54 ] 55} 56