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", |
125 "test/perf_test_helpers.cc", | 126 "test/perf_test_helpers.cc", |
126 "test/perf_test_helpers.h", | 127 "test/perf_test_helpers.h", |
127 "test/trace_event_perftest.cc", | 128 "test/trace_event_perftest.cc", |
128 ] | 129 ] |
129 deps = [ | 130 deps = [ |
130 "//base:base", | 131 "//base:base", |
131 "//base/test:test_support", | 132 "//base/test:test_support", |
132 "//base/test:test_support_perf", | 133 "//base/test:test_support_perf", |
133 "//testing/gtest", | 134 "//testing/gtest", |
134 "//testing/perf", | 135 "//testing/perf", |
135 ] | 136 ] |
136 | 137 |
137 data = [ | 138 data = [ |
138 # Needed for isolate script to execute. | 139 # Needed for isolate script to execute. |
139 "//testing/scripts/common.py", | 140 "//testing/scripts/common.py", |
140 "//testing/xvfb.py", | 141 "//testing/xvfb.py", |
141 "//testing/scripts/run_gtest_perf_test.py", | 142 "//testing/scripts/run_gtest_perf_test.py", |
142 "//tools/perf/generate_legacy_perf_dashboard_json.py", | 143 "//tools/perf/generate_legacy_perf_dashboard_json.py", |
143 ] | 144 ] |
144 | 145 |
145 if (is_android) { | 146 if (is_android) { |
146 deps += [ "//testing/android/native_test:native_test_native_code" ] | 147 deps += [ "//testing/android/native_test:native_test_native_code" ] |
147 } | 148 } |
148 } | 149 } |
OLD | NEW |