OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//testing/test.gni") | 5 import("//testing/test.gni") |
6 import("//third_party/protobuf/proto_library.gni") | 6 import("//third_party/protobuf/proto_library.gni") |
7 | 7 |
8 component("tracing") { | 8 component("tracing") { |
9 sources = [ | 9 sources = [ |
10 "child/child_trace_message_filter.cc", | 10 "child/child_trace_message_filter.cc", |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 ] | 115 ] |
116 | 116 |
117 if (!is_android) { | 117 if (!is_android) { |
118 sources += [ "common/trace_config_file_unittest.cc" ] | 118 sources += [ "common/trace_config_file_unittest.cc" ] |
119 deps += [ ":startup_tracing" ] | 119 deps += [ ":startup_tracing" ] |
120 } | 120 } |
121 } | 121 } |
122 | 122 |
123 test("tracing_perftests") { | 123 test("tracing_perftests") { |
124 sources = [ | 124 sources = [ |
125 "test/heap_profiler_perftest.cc", | |
126 "test/perf_test_helpers.cc", | 125 "test/perf_test_helpers.cc", |
127 "test/perf_test_helpers.h", | 126 "test/perf_test_helpers.h", |
128 "test/trace_event_perftest.cc", | 127 "test/trace_event_perftest.cc", |
129 ] | 128 ] |
130 deps = [ | 129 deps = [ |
131 "//base:base", | 130 "//base:base", |
132 "//base/test:test_support", | 131 "//base/test:test_support", |
133 "//base/test:test_support_perf", | 132 "//base/test:test_support_perf", |
134 "//testing/gtest", | 133 "//testing/gtest", |
135 "//testing/perf", | 134 "//testing/perf", |
136 ] | 135 ] |
137 | 136 |
138 data = [ | 137 data = [ |
139 # Needed for isolate script to execute. | 138 # Needed for isolate script to execute. |
140 "//testing/scripts/common.py", | 139 "//testing/scripts/common.py", |
141 "//testing/xvfb.py", | 140 "//testing/xvfb.py", |
142 "//testing/scripts/run_gtest_perf_test.py", | 141 "//testing/scripts/run_gtest_perf_test.py", |
143 "//tools/perf/generate_legacy_perf_dashboard_json.py", | 142 "//tools/perf/generate_legacy_perf_dashboard_json.py", |
144 ] | 143 ] |
145 | 144 |
146 if (is_android) { | 145 if (is_android) { |
147 deps += [ "//testing/android/native_test:native_test_native_code" ] | 146 deps += [ "//testing/android/native_test:native_test_native_code" ] |
148 } | 147 } |
149 } | 148 } |
OLD | NEW |