| 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 16 matching lines...) Expand all Loading... |
| 27 "memory_dump_manager.h", | 27 "memory_dump_manager.h", |
| 28 "memory_dump_provider.h", | 28 "memory_dump_provider.h", |
| 29 "memory_dump_request_args.cc", | 29 "memory_dump_request_args.cc", |
| 30 "memory_dump_request_args.h", | 30 "memory_dump_request_args.h", |
| 31 "memory_dump_session_state.cc", | 31 "memory_dump_session_state.cc", |
| 32 "memory_dump_session_state.h", | 32 "memory_dump_session_state.h", |
| 33 "process_memory_dump.cc", | 33 "process_memory_dump.cc", |
| 34 "process_memory_dump.h", | 34 "process_memory_dump.h", |
| 35 "process_memory_maps.cc", | 35 "process_memory_maps.cc", |
| 36 "process_memory_maps.h", | 36 "process_memory_maps.h", |
| 37 "process_memory_maps_dump_provider.h", | |
| 38 "process_memory_totals.cc", | 37 "process_memory_totals.cc", |
| 39 "process_memory_totals.h", | 38 "process_memory_totals.h", |
| 40 "process_memory_totals_dump_provider.cc", | |
| 41 "process_memory_totals_dump_provider.h", | |
| 42 "trace_buffer.cc", | 39 "trace_buffer.cc", |
| 43 "trace_buffer.h", | 40 "trace_buffer.h", |
| 44 "trace_config.cc", | 41 "trace_config.cc", |
| 45 "trace_config.h", | 42 "trace_config.h", |
| 46 "trace_event.h", | 43 "trace_event.h", |
| 47 "trace_event_android.cc", | 44 "trace_event_android.cc", |
| 48 "trace_event_argument.cc", | 45 "trace_event_argument.cc", |
| 49 "trace_event_argument.h", | 46 "trace_event_argument.h", |
| 50 "trace_event_etw_export_win.cc", | 47 "trace_event_etw_export_win.cc", |
| 51 "trace_event_etw_export_win.h", | 48 "trace_event_etw_export_win.h", |
| (...skipping 10 matching lines...) Expand all Loading... |
| 62 "trace_log.cc", | 59 "trace_log.cc", |
| 63 "trace_log.h", | 60 "trace_log.h", |
| 64 "trace_log_constants.cc", | 61 "trace_log_constants.cc", |
| 65 "trace_sampling_thread.cc", | 62 "trace_sampling_thread.cc", |
| 66 "trace_sampling_thread.h", | 63 "trace_sampling_thread.h", |
| 67 "winheap_dump_provider_win.cc", | 64 "winheap_dump_provider_win.cc", |
| 68 "winheap_dump_provider_win.h", | 65 "winheap_dump_provider_win.h", |
| 69 ] | 66 ] |
| 70 | 67 |
| 71 if (is_nacl) { | 68 if (is_nacl) { |
| 72 sources -= [ | 69 sources -= [ "trace_event_system_stats_monitor.cc" ] |
| 73 "process_memory_totals_dump_provider.cc", | |
| 74 "trace_event_system_stats_monitor.cc", | |
| 75 ] | |
| 76 } | 70 } |
| 77 | 71 |
| 78 if (is_linux || is_android || is_mac) { | 72 if (is_linux || is_android || is_mac) { |
| 79 sources += [ | 73 sources += [ |
| 80 "malloc_dump_provider.cc", | 74 "malloc_dump_provider.cc", |
| 81 "malloc_dump_provider.h", | 75 "malloc_dump_provider.h", |
| 82 ] | 76 ] |
| 83 } | 77 } |
| 84 | 78 |
| 85 if (is_linux || is_android) { | |
| 86 sources += [ "process_memory_maps_dump_provider.cc" ] | |
| 87 } | |
| 88 | |
| 89 configs += [ "//base:base_implementation" ] | 79 configs += [ "//base:base_implementation" ] |
| 90 | 80 |
| 91 deps = [ | 81 deps = [ |
| 92 "//base/debug", | 82 "//base/debug", |
| 93 "//base/json", | 83 "//base/json", |
| 94 "//base/memory", | 84 "//base/memory", |
| 95 "//base/process", | 85 "//base/process", |
| 96 "//base/third_party/dynamic_annotations", | 86 "//base/third_party/dynamic_annotations", |
| 97 ] | 87 ] |
| 98 | 88 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 113 testonly = true | 103 testonly = true |
| 114 sources = [ | 104 sources = [ |
| 115 "heap_profiler_allocation_context_tracker_unittest.cc", | 105 "heap_profiler_allocation_context_tracker_unittest.cc", |
| 116 "heap_profiler_allocation_register_unittest.cc", | 106 "heap_profiler_allocation_register_unittest.cc", |
| 117 "heap_profiler_heap_dump_writer_unittest.cc", | 107 "heap_profiler_heap_dump_writer_unittest.cc", |
| 118 "heap_profiler_stack_frame_deduplicator_unittest.cc", | 108 "heap_profiler_stack_frame_deduplicator_unittest.cc", |
| 119 "java_heap_dump_provider_android_unittest.cc", | 109 "java_heap_dump_provider_android_unittest.cc", |
| 120 "memory_allocator_dump_unittest.cc", | 110 "memory_allocator_dump_unittest.cc", |
| 121 "memory_dump_manager_unittest.cc", | 111 "memory_dump_manager_unittest.cc", |
| 122 "process_memory_dump_unittest.cc", | 112 "process_memory_dump_unittest.cc", |
| 123 "process_memory_totals_dump_provider_unittest.cc", | |
| 124 "trace_config_memory_test_util.h", | 113 "trace_config_memory_test_util.h", |
| 125 "trace_config_unittest.cc", | 114 "trace_config_unittest.cc", |
| 126 "trace_event_argument_unittest.cc", | 115 "trace_event_argument_unittest.cc", |
| 127 "trace_event_memory_unittest.cc", | 116 "trace_event_memory_unittest.cc", |
| 128 "trace_event_synthetic_delay_unittest.cc", | 117 "trace_event_synthetic_delay_unittest.cc", |
| 129 "trace_event_system_stats_monitor_unittest.cc", | 118 "trace_event_system_stats_monitor_unittest.cc", |
| 130 "trace_event_unittest.cc", | 119 "trace_event_unittest.cc", |
| 131 "winheap_dump_provider_win_unittest.cc", | 120 "winheap_dump_provider_win_unittest.cc", |
| 132 ] | 121 ] |
| 133 | 122 |
| 134 if (is_linux || is_android) { | |
| 135 sources += [ "process_memory_maps_dump_provider_unittest.cc" ] | |
| 136 } | |
| 137 | |
| 138 deps = [ | 123 deps = [ |
| 139 "//base/test:test_support", | 124 "//base/test:test_support", |
| 140 "//testing/gmock", | 125 "//testing/gmock", |
| 141 "//testing/gtest", | 126 "//testing/gtest", |
| 142 ] | 127 ] |
| 143 } | 128 } |
| OLD | NEW |