| 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 "java_heap_dump_provider_android.cc", | 7 "java_heap_dump_provider_android.cc", |
| 8 "java_heap_dump_provider_android.h", | 8 "java_heap_dump_provider_android.h", |
| 9 "memory_allocator_dump.cc", | 9 "memory_allocator_dump.cc", |
| 10 "memory_allocator_dump.h", | 10 "memory_allocator_dump.h", |
| 11 "memory_allocator_dump_guid.cc", | 11 "memory_allocator_dump_guid.cc", |
| 12 "memory_allocator_dump_guid.h", | 12 "memory_allocator_dump_guid.h", |
| 13 "memory_dump_manager.cc", | 13 "memory_dump_manager.cc", |
| 14 "memory_dump_manager.h", | 14 "memory_dump_manager.h", |
| 15 "memory_dump_provider.h", | 15 "memory_dump_provider.h", |
| 16 "memory_dump_request_args.cc", | 16 "memory_dump_request_args.cc", |
| 17 "memory_dump_request_args.h", | 17 "memory_dump_request_args.h", |
| 18 "memory_dump_session_state.cc", | 18 "memory_dump_session_state.cc", |
| 19 "memory_dump_session_state.h", | 19 "memory_dump_session_state.h", |
| 20 "memory_profiler_allocation_context.cc", | 20 "memory_profiler_allocation_context.cc", |
| 21 "memory_profiler_allocation_context.h", | 21 "memory_profiler_allocation_context.h", |
| 22 "process_memory_dump.cc", | 22 "process_memory_dump.cc", |
| 23 "process_memory_dump.h", | 23 "process_memory_dump.h", |
| 24 "process_memory_maps.cc", | 24 "process_memory_maps.cc", |
| 25 "process_memory_maps.h", | 25 "process_memory_maps.h", |
| 26 "process_memory_maps_dump_provider.cc", | |
| 27 "process_memory_maps_dump_provider.h", | 26 "process_memory_maps_dump_provider.h", |
| 28 "process_memory_totals.cc", | 27 "process_memory_totals.cc", |
| 29 "process_memory_totals.h", | 28 "process_memory_totals.h", |
| 30 "process_memory_totals_dump_provider.cc", | 29 "process_memory_totals_dump_provider.cc", |
| 31 "process_memory_totals_dump_provider.h", | 30 "process_memory_totals_dump_provider.h", |
| 32 "trace_buffer.cc", | 31 "trace_buffer.cc", |
| 33 "trace_buffer.h", | 32 "trace_buffer.h", |
| 34 "trace_config.cc", | 33 "trace_config.cc", |
| 35 "trace_config.h", | 34 "trace_config.h", |
| 36 "trace_event.h", | 35 "trace_event.h", |
| (...skipping 28 matching lines...) Expand all Loading... |
| 65 sources -= [ | 64 sources -= [ |
| 66 "process_memory_totals_dump_provider.cc", | 65 "process_memory_totals_dump_provider.cc", |
| 67 "trace_event_system_stats_monitor.cc", | 66 "trace_event_system_stats_monitor.cc", |
| 68 ] | 67 ] |
| 69 } | 68 } |
| 70 | 69 |
| 71 if (is_linux || is_android) { | 70 if (is_linux || is_android) { |
| 72 sources += [ | 71 sources += [ |
| 73 "malloc_dump_provider.cc", | 72 "malloc_dump_provider.cc", |
| 74 "malloc_dump_provider.h", | 73 "malloc_dump_provider.h", |
| 74 "process_memory_maps_dump_provider.cc", |
| 75 ] | 75 ] |
| 76 } | 76 } |
| 77 | 77 |
| 78 configs += [ "//base:base_implementation" ] | 78 configs += [ "//base:base_implementation" ] |
| 79 | 79 |
| 80 deps = [ | 80 deps = [ |
| 81 "//base/debug", | 81 "//base/debug", |
| 82 "//base/json", | 82 "//base/json", |
| 83 "//base/memory", | 83 "//base/memory", |
| 84 "//base/process", | 84 "//base/process", |
| (...skipping 14 matching lines...) Expand all Loading... |
| 99 } | 99 } |
| 100 | 100 |
| 101 source_set("trace_event_unittests") { | 101 source_set("trace_event_unittests") { |
| 102 testonly = true | 102 testonly = true |
| 103 sources = [ | 103 sources = [ |
| 104 "java_heap_dump_provider_android_unittest.cc", | 104 "java_heap_dump_provider_android_unittest.cc", |
| 105 "memory_allocator_dump_unittest.cc", | 105 "memory_allocator_dump_unittest.cc", |
| 106 "memory_dump_manager_unittest.cc", | 106 "memory_dump_manager_unittest.cc", |
| 107 "memory_profiler_allocation_context_unittest.cc", | 107 "memory_profiler_allocation_context_unittest.cc", |
| 108 "process_memory_dump_unittest.cc", | 108 "process_memory_dump_unittest.cc", |
| 109 "process_memory_maps_dump_provider_unittest.cc", | |
| 110 "process_memory_totals_dump_provider_unittest.cc", | 109 "process_memory_totals_dump_provider_unittest.cc", |
| 111 "trace_config_memory_test_util.h", | 110 "trace_config_memory_test_util.h", |
| 112 "trace_config_unittest.cc", | 111 "trace_config_unittest.cc", |
| 113 "trace_event_argument_unittest.cc", | 112 "trace_event_argument_unittest.cc", |
| 114 "trace_event_memory_unittest.cc", | 113 "trace_event_memory_unittest.cc", |
| 115 "trace_event_synthetic_delay_unittest.cc", | 114 "trace_event_synthetic_delay_unittest.cc", |
| 116 "trace_event_system_stats_monitor_unittest.cc", | 115 "trace_event_system_stats_monitor_unittest.cc", |
| 117 "trace_event_unittest.cc", | 116 "trace_event_unittest.cc", |
| 118 "trace_event_win_unittest.cc", | 117 "trace_event_win_unittest.cc", |
| 119 "winheap_dump_provider_win_unittest.cc", | 118 "winheap_dump_provider_win_unittest.cc", |
| 120 ] | 119 ] |
| 121 | 120 |
| 121 if (is_linux || is_android) { |
| 122 sources += [ "process_memory_maps_dump_provider_unittest.cc" ] |
| 123 } |
| 124 |
| 122 deps = [ | 125 deps = [ |
| 123 "//base/test:test_support", | 126 "//base/test:test_support", |
| 124 "//testing/gmock", | 127 "//testing/gmock", |
| 125 "//testing/gtest", | 128 "//testing/gtest", |
| 126 ] | 129 ] |
| 127 } | 130 } |
| OLD | NEW |