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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 "process_memory_totals_dump_provider.cc", | 83 "process_memory_totals_dump_provider.cc", |
84 "trace_event_system_stats_monitor.cc", | 84 "trace_event_system_stats_monitor.cc", |
85 ] | 85 ] |
86 } | 86 } |
87 | 87 |
88 if (is_linux || is_android || is_mac) { | 88 if (is_linux || is_android || is_mac) { |
89 sources += [ | 89 sources += [ |
90 "malloc_dump_provider.cc", | 90 "malloc_dump_provider.cc", |
91 "malloc_dump_provider.h", | 91 "malloc_dump_provider.h", |
92 ] | 92 ] |
93 deps += [ "//base/allocator:extension_thunks" ] | |
94 } | 93 } |
95 | 94 |
96 if (is_linux || is_android) { | 95 if (is_linux || is_android) { |
97 sources += [ "process_memory_maps_dump_provider.cc" ] | 96 sources += [ "process_memory_maps_dump_provider.cc" ] |
98 } | 97 } |
99 if (is_win) { | 98 if (is_win) { |
100 deps += [ "//base/trace_event/etw_manifest:chrome_events_win" ] | 99 deps += [ "//base/trace_event/etw_manifest:chrome_events_win" ] |
101 } | 100 } |
102 | 101 |
103 allow_circular_includes_from = [ | 102 allow_circular_includes_from = [ |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 if (is_android) { | 137 if (is_android) { |
139 sources += [ "trace_event_android_unittest.cc" ] | 138 sources += [ "trace_event_android_unittest.cc" ] |
140 } | 139 } |
141 | 140 |
142 deps = [ | 141 deps = [ |
143 "//base/test:test_support", | 142 "//base/test:test_support", |
144 "//testing/gmock", | 143 "//testing/gmock", |
145 "//testing/gtest", | 144 "//testing/gtest", |
146 ] | 145 ] |
147 } | 146 } |
OLD | NEW |