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 "category_filter.cc", | |
8 "category_filter.h", | |
9 "java_heap_dump_provider_android.cc", | 7 "java_heap_dump_provider_android.cc", |
10 "java_heap_dump_provider_android.h", | 8 "java_heap_dump_provider_android.h", |
11 "memory_allocator_dump.cc", | 9 "memory_allocator_dump.cc", |
12 "memory_allocator_dump.h", | 10 "memory_allocator_dump.h", |
13 "memory_allocator_dump_guid.cc", | 11 "memory_allocator_dump_guid.cc", |
14 "memory_allocator_dump_guid.h", | 12 "memory_allocator_dump_guid.h", |
15 "memory_dump_manager.cc", | 13 "memory_dump_manager.cc", |
16 "memory_dump_manager.h", | 14 "memory_dump_manager.h", |
17 "memory_dump_provider.h", | 15 "memory_dump_provider.h", |
18 "memory_dump_request_args.h", | 16 "memory_dump_request_args.h", |
(...skipping 21 matching lines...) Expand all Loading... |
40 "trace_event_impl.h", | 38 "trace_event_impl.h", |
41 "trace_event_impl_constants.cc", | 39 "trace_event_impl_constants.cc", |
42 "trace_event_memory.cc", | 40 "trace_event_memory.cc", |
43 "trace_event_memory.h", | 41 "trace_event_memory.h", |
44 "trace_event_synthetic_delay.cc", | 42 "trace_event_synthetic_delay.cc", |
45 "trace_event_synthetic_delay.h", | 43 "trace_event_synthetic_delay.h", |
46 "trace_event_system_stats_monitor.cc", | 44 "trace_event_system_stats_monitor.cc", |
47 "trace_event_system_stats_monitor.h", | 45 "trace_event_system_stats_monitor.h", |
48 "trace_event_win.cc", | 46 "trace_event_win.cc", |
49 "trace_event_win.h", | 47 "trace_event_win.h", |
50 "trace_options.cc", | |
51 "trace_options.h", | |
52 "winheap_dump_provider_win.cc", | 48 "winheap_dump_provider_win.cc", |
53 "winheap_dump_provider_win.h", | 49 "winheap_dump_provider_win.h", |
54 ] | 50 ] |
55 | 51 |
56 if (is_nacl) { | 52 if (is_nacl) { |
57 sources -= [ | 53 sources -= [ |
58 "process_memory_totals_dump_provider.cc", | 54 "process_memory_totals_dump_provider.cc", |
59 "trace_event_system_stats_monitor.cc", | 55 "trace_event_system_stats_monitor.cc", |
60 ] | 56 ] |
61 } | 57 } |
(...skipping 24 matching lines...) Expand all Loading... |
86 "//base/memory", | 82 "//base/memory", |
87 "//base/process", | 83 "//base/process", |
88 ] | 84 ] |
89 | 85 |
90 visibility = [ "//base/*" ] | 86 visibility = [ "//base/*" ] |
91 } | 87 } |
92 | 88 |
93 source_set("trace_event_unittests") { | 89 source_set("trace_event_unittests") { |
94 testonly = true | 90 testonly = true |
95 sources = [ | 91 sources = [ |
96 "category_filter_unittest.cc", | |
97 "java_heap_dump_provider_android_unittest.cc", | 92 "java_heap_dump_provider_android_unittest.cc", |
98 "memory_allocator_dump_unittest.cc", | 93 "memory_allocator_dump_unittest.cc", |
99 "memory_dump_manager_unittest.cc", | 94 "memory_dump_manager_unittest.cc", |
100 "process_memory_dump_unittest.cc", | 95 "process_memory_dump_unittest.cc", |
101 "process_memory_maps_dump_provider_unittest.cc", | 96 "process_memory_maps_dump_provider_unittest.cc", |
102 "process_memory_totals_dump_provider_unittest.cc", | 97 "process_memory_totals_dump_provider_unittest.cc", |
103 "trace_config_unittest.cc", | 98 "trace_config_unittest.cc", |
104 "trace_event_argument_unittest.cc", | 99 "trace_event_argument_unittest.cc", |
105 "trace_event_memory_unittest.cc", | 100 "trace_event_memory_unittest.cc", |
106 "trace_event_synthetic_delay_unittest.cc", | 101 "trace_event_synthetic_delay_unittest.cc", |
107 "trace_event_system_stats_monitor_unittest.cc", | 102 "trace_event_system_stats_monitor_unittest.cc", |
108 "trace_event_unittest.cc", | 103 "trace_event_unittest.cc", |
109 "trace_event_win_unittest.cc", | 104 "trace_event_win_unittest.cc", |
110 "trace_options_unittest.cc", | |
111 "winheap_dump_provider_win_unittest.cc", | 105 "winheap_dump_provider_win_unittest.cc", |
112 ] | 106 ] |
113 | 107 |
114 deps = [ | 108 deps = [ |
115 "//base/test:test_support", | 109 "//base/test:test_support", |
116 "//testing/gmock", | 110 "//testing/gmock", |
117 "//testing/gtest", | 111 "//testing/gtest", |
118 ] | 112 ] |
119 } | 113 } |
OLD | NEW |