Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Side by Side Diff: components/tracing/BUILD.gn

Issue 2049653002: tracing v2: Add TraceRingBuffer class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: petrcermak + fix win Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 component("tracing") { 5 component("tracing") {
6 sources = [ 6 sources = [
7 "child/child_memory_dump_manager_delegate_impl.cc", 7 "child/child_memory_dump_manager_delegate_impl.cc",
8 "child/child_memory_dump_manager_delegate_impl.h", 8 "child/child_memory_dump_manager_delegate_impl.h",
9 "child/child_trace_message_filter.cc", 9 "child/child_trace_message_filter.cc",
10 "child/child_trace_message_filter.h", 10 "child/child_trace_message_filter.h",
11 "common/graphics_memory_dump_provider_android.cc", 11 "common/graphics_memory_dump_provider_android.cc",
12 "common/graphics_memory_dump_provider_android.h", 12 "common/graphics_memory_dump_provider_android.h",
13 "common/process_metrics_memory_dump_provider.cc", 13 "common/process_metrics_memory_dump_provider.cc",
14 "common/process_metrics_memory_dump_provider.h", 14 "common/process_metrics_memory_dump_provider.h",
15 "common/tracing_messages.cc", 15 "common/tracing_messages.cc",
16 "common/tracing_messages.h", 16 "common/tracing_messages.h",
17 "core/trace_ring_buffer.cc",
18 "core/trace_ring_buffer.h",
17 "tracing_export.h", 19 "tracing_export.h",
18 ] 20 ]
19 21
20 defines = [ "TRACING_IMPLEMENTATION" ] 22 defines = [ "TRACING_IMPLEMENTATION" ]
21 23
22 deps = [ 24 deps = [
23 "//base", 25 "//base",
24 "//ipc", 26 "//ipc",
25 ] 27 ]
26 28
(...skipping 20 matching lines...) Expand all
47 ] 49 ]
48 } 50 }
49 51
50 source_set("unit_tests") { 52 source_set("unit_tests") {
51 testonly = true 53 testonly = true
52 54
53 sources = [ 55 sources = [
54 "child/child_trace_message_filter_unittest.cc", 56 "child/child_trace_message_filter_unittest.cc",
55 "common/graphics_memory_dump_provider_android_unittest.cc", 57 "common/graphics_memory_dump_provider_android_unittest.cc",
56 "common/process_metrics_memory_dump_provider_unittest.cc", 58 "common/process_metrics_memory_dump_provider_unittest.cc",
59 "core/trace_ring_buffer_unittest.cc",
57 ] 60 ]
58 61
59 deps = [ 62 deps = [
60 ":tracing", 63 ":tracing",
61 "//base/test:test_support", 64 "//base/test:test_support",
62 "//ipc", 65 "//ipc",
63 "//testing/gmock:gmock", 66 "//testing/gmock:gmock",
64 "//testing/gtest", 67 "//testing/gtest",
65 ] 68 ]
66 69
67 if (!is_android) { 70 if (!is_android) {
68 sources += [ "browser/trace_config_file_unittest.cc" ] 71 sources += [ "browser/trace_config_file_unittest.cc" ]
69 deps += [ ":startup_tracing" ] 72 deps += [ ":startup_tracing" ]
70 } 73 }
71 } 74 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698