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_memory_dump_manager_delegate_impl.cc", | 10 "child/child_memory_dump_manager_delegate_impl.cc", |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 "//components/tracing/proto:protos", | 43 "//components/tracing/proto:protos", |
44 ] | 44 ] |
45 | 45 |
46 if (is_nacl) { | 46 if (is_nacl) { |
47 sources -= [ "common/process_metrics_memory_dump_provider.cc" ] | 47 sources -= [ "common/process_metrics_memory_dump_provider.cc" ] |
48 } | 48 } |
49 } | 49 } |
50 | 50 |
51 component("startup_tracing") { | 51 component("startup_tracing") { |
52 sources = [ | 52 sources = [ |
53 "browser/trace_config_file.cc", | 53 "common/trace_config_file.cc", |
54 "browser/trace_config_file.h", | 54 "common/trace_config_file.h", |
| 55 "common/trace_startup.cc", |
| 56 "common/trace_startup.h", |
55 "common/trace_to_console.cc", | 57 "common/trace_to_console.cc", |
56 "common/trace_to_console.h", | 58 "common/trace_to_console.h", |
57 "common/tracing_switches.cc", | 59 "common/tracing_switches.cc", |
58 "common/tracing_switches.h", | 60 "common/tracing_switches.h", |
59 "tracing_export.h", | 61 "tracing_export.h", |
60 ] | 62 ] |
61 | 63 |
62 defines = [ "TRACING_IMPLEMENTATION" ] | 64 defines = [ "TRACING_IMPLEMENTATION" ] |
63 | 65 |
64 deps = [ | 66 deps = [ |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 ":proto_zero_testing_messages", | 108 ":proto_zero_testing_messages", |
107 ":tracing", | 109 ":tracing", |
108 "//base/test:test_support", | 110 "//base/test:test_support", |
109 "//components/tracing/proto:golden_protos_for_tests", | 111 "//components/tracing/proto:golden_protos_for_tests", |
110 "//ipc", | 112 "//ipc", |
111 "//testing/gmock:gmock", | 113 "//testing/gmock:gmock", |
112 "//testing/gtest", | 114 "//testing/gtest", |
113 ] | 115 ] |
114 | 116 |
115 if (!is_android) { | 117 if (!is_android) { |
116 sources += [ "browser/trace_config_file_unittest.cc" ] | 118 sources += [ "common/trace_config_file_unittest.cc" ] |
117 deps += [ ":startup_tracing" ] | 119 deps += [ ":startup_tracing" ] |
118 } | 120 } |
119 } | 121 } |
120 | 122 |
121 test("tracing_perftests") { | 123 test("tracing_perftests") { |
122 sources = [ | 124 sources = [ |
123 "test/perf_test_helpers.cc", | 125 "test/perf_test_helpers.cc", |
124 "test/perf_test_helpers.h", | 126 "test/perf_test_helpers.h", |
125 "test/trace_event_perftest.cc", | 127 "test/trace_event_perftest.cc", |
126 ] | 128 ] |
(...skipping 10 matching lines...) Expand all Loading... |
137 "//testing/scripts/common.py", | 139 "//testing/scripts/common.py", |
138 "//testing/xvfb.py", | 140 "//testing/xvfb.py", |
139 "//testing/scripts/run_gtest_perf_test.py", | 141 "//testing/scripts/run_gtest_perf_test.py", |
140 "//tools/perf/generate_legacy_perf_dashboard_json.py", | 142 "//tools/perf/generate_legacy_perf_dashboard_json.py", |
141 ] | 143 ] |
142 | 144 |
143 if (is_android) { | 145 if (is_android) { |
144 deps += [ "//testing/android/native_test:native_test_native_code" ] | 146 deps += [ "//testing/android/native_test:native_test_native_code" ] |
145 } | 147 } |
146 } | 148 } |
OLD | NEW |