OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 source_set("trace_event") { | 5 source_set("trace_event") { |
6 sources = [ | 6 sources = [ |
7 "common/trace_event_common.h", | 7 "common/trace_event_common.h", |
8 "heap_profiler_allocation_context.cc", | 8 "heap_profiler_allocation_context.cc", |
9 "heap_profiler_allocation_context.h", | 9 "heap_profiler_allocation_context.h", |
10 "heap_profiler_allocation_context_tracker.cc", | 10 "heap_profiler_allocation_context_tracker.cc", |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 "trace_event_system_stats_monitor.h", | 61 "trace_event_system_stats_monitor.h", |
62 "trace_log.cc", | 62 "trace_log.cc", |
63 "trace_log.h", | 63 "trace_log.h", |
64 "trace_log_constants.cc", | 64 "trace_log_constants.cc", |
65 "trace_sampling_thread.cc", | 65 "trace_sampling_thread.cc", |
66 "trace_sampling_thread.h", | 66 "trace_sampling_thread.h", |
67 "winheap_dump_provider_win.cc", | 67 "winheap_dump_provider_win.cc", |
68 "winheap_dump_provider_win.h", | 68 "winheap_dump_provider_win.h", |
69 ] | 69 ] |
70 | 70 |
| 71 configs += [ "//base:base_implementation" ] |
| 72 |
| 73 deps = [ |
| 74 "//base/debug", |
| 75 "//base/json", |
| 76 "//base/memory", |
| 77 "//base/process", |
| 78 "//base/third_party/dynamic_annotations", |
| 79 ] |
| 80 |
71 if (is_nacl) { | 81 if (is_nacl) { |
72 sources -= [ | 82 sources -= [ |
73 "process_memory_totals_dump_provider.cc", | 83 "process_memory_totals_dump_provider.cc", |
74 "trace_event_system_stats_monitor.cc", | 84 "trace_event_system_stats_monitor.cc", |
75 ] | 85 ] |
76 } | 86 } |
77 | 87 |
78 if (is_linux || is_android || is_mac) { | 88 if (is_linux || is_android || is_mac) { |
79 sources += [ | 89 sources += [ |
80 "malloc_dump_provider.cc", | 90 "malloc_dump_provider.cc", |
81 "malloc_dump_provider.h", | 91 "malloc_dump_provider.h", |
82 ] | 92 ] |
| 93 deps += [ "//base/allocator:extension_thunks" ] |
83 } | 94 } |
84 | 95 |
85 if (is_linux || is_android) { | 96 if (is_linux || is_android) { |
86 sources += [ "process_memory_maps_dump_provider.cc" ] | 97 sources += [ "process_memory_maps_dump_provider.cc" ] |
87 } | 98 } |
88 | |
89 configs += [ "//base:base_implementation" ] | |
90 | |
91 deps = [ | |
92 "//base/debug", | |
93 "//base/json", | |
94 "//base/memory", | |
95 "//base/process", | |
96 "//base/third_party/dynamic_annotations", | |
97 ] | |
98 | |
99 if (is_win) { | 99 if (is_win) { |
100 deps += [ "//base/trace_event/etw_manifest:chrome_events_win" ] | 100 deps += [ "//base/trace_event/etw_manifest:chrome_events_win" ] |
101 } | 101 } |
102 | 102 |
103 allow_circular_includes_from = [ | 103 allow_circular_includes_from = [ |
104 "//base/debug", | 104 "//base/debug", |
105 "//base/memory", | 105 "//base/memory", |
106 "//base/process", | 106 "//base/process", |
107 ] | 107 ] |
108 | 108 |
(...skipping 25 matching lines...) Expand all Loading... |
134 if (is_linux || is_android) { | 134 if (is_linux || is_android) { |
135 sources += [ "process_memory_maps_dump_provider_unittest.cc" ] | 135 sources += [ "process_memory_maps_dump_provider_unittest.cc" ] |
136 } | 136 } |
137 | 137 |
138 deps = [ | 138 deps = [ |
139 "//base/test:test_support", | 139 "//base/test:test_support", |
140 "//testing/gmock", | 140 "//testing/gmock", |
141 "//testing/gtest", | 141 "//testing/gtest", |
142 ] | 142 ] |
143 } | 143 } |
OLD | NEW |