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 3 # found in the LICENSE file. 4 { 5 'variables': { 6 'trace_event_sources' : [ 7 'trace_event/common/trace_event_common.h', 8 'trace_event/heap_profiler_allocation_context.cc', 9 'trace_event/heap_profiler_allocation_context.h', 10 'trace_event/heap_profiler_allocation_context_tracker.cc', 11 'trace_event/heap_profiler_allocation_context_tracker.h', 12 'trace_event/heap_profiler_allocation_register.cc', 13 'trace_event/heap_profiler_allocation_register_posix.cc', 14 'trace_event/heap_profiler_allocation_register_win.cc', 15 'trace_event/heap_profiler_allocation_register.h', 16 'trace_event/heap_profiler_heap_dump_writer.cc', 17 'trace_event/heap_profiler_heap_dump_writer.h', 18 'trace_event/heap_profiler_stack_frame_deduplicator.cc', 19 'trace_event/heap_profiler_stack_frame_deduplicator.h', 20 'trace_event/heap_profiler_type_name_deduplicator.cc', 21 'trace_event/heap_profiler_type_name_deduplicator.h', 22 'trace_event/java_heap_dump_provider_android.cc', 23 'trace_event/java_heap_dump_provider_android.h', 24 'trace_event/memory_allocator_dump.cc', 25 'trace_event/memory_allocator_dump.h', 26 'trace_event/memory_allocator_dump_guid.cc', 27 'trace_event/memory_allocator_dump_guid.h', 28 'trace_event/memory_dump_manager.cc', 29 'trace_event/memory_dump_manager.h', 30 'trace_event/memory_dump_provider.h', 31 'trace_event/memory_dump_request_args.cc', 32 'trace_event/memory_dump_request_args.h', 33 'trace_event/memory_dump_session_state.cc', 34 'trace_event/memory_dump_session_state.h', 35 'trace_event/process_memory_dump.cc', 36 'trace_event/process_memory_dump.h', 37 'trace_event/process_memory_maps.cc', 38 'trace_event/process_memory_maps.h', 39 'trace_event/process_memory_maps_dump_provider.h', 40 'trace_event/process_memory_totals.cc', 41 'trace_event/process_memory_totals.h', 42 'trace_event/process_memory_totals_dump_provider.cc', 43 'trace_event/process_memory_totals_dump_provider.h', 44 'trace_event/trace_buffer.cc', 45 'trace_event/trace_buffer.h', 46 'trace_event/trace_config.cc', 47 'trace_event/trace_config.h', 48 'trace_event/trace_event.h', 49 'trace_event/trace_event_android.cc', 50 'trace_event/trace_event_argument.cc', 51 'trace_event/trace_event_argument.h', 52 'trace_event/trace_event_etw_export_win.cc', 53 'trace_event/trace_event_etw_export_win.h', 54 'trace_event/trace_event_impl.cc', 55 'trace_event/trace_event_impl.h', 56 'trace_event/trace_event_memory_overhead.cc', 57 'trace_event/trace_event_memory_overhead.h', 58 'trace_event/trace_event_synthetic_delay.cc', 59 'trace_event/trace_event_synthetic_delay.h', 60 'trace_event/trace_event_system_stats_monitor.cc', 61 'trace_event/trace_event_system_stats_monitor.h', 62 'trace_event/trace_log.cc', 63 'trace_event/trace_log.h', 64 'trace_event/trace_log_constants.cc', 65 'trace_event/trace_sampling_thread.cc', 66 'trace_event/trace_sampling_thread.h', 67 'trace_event/tracing_agent.cc', 68 'trace_event/tracing_agent.h', 69 'trace_event/winheap_dump_provider_win.cc', 70 'trace_event/winheap_dump_provider_win.h', 71 ], 72 'trace_event_test_sources' : [ 73 'trace_event/heap_profiler_allocation_context_tracker_unittest.cc', 74 'trace_event/heap_profiler_allocation_register_unittest.cc', 75 'trace_event/heap_profiler_heap_dump_writer_unittest.cc', 76 'trace_event/heap_profiler_stack_frame_deduplicator_unittest.cc', 77 'trace_event/heap_profiler_type_name_deduplicator_unittest.cc', 78 'trace_event/java_heap_dump_provider_android_unittest.cc', 79 'trace_event/memory_allocator_dump_unittest.cc', 80 'trace_event/memory_dump_manager_unittest.cc', 81 'trace_event/process_memory_dump_unittest.cc', 82 'trace_event/process_memory_totals_dump_provider_unittest.cc', 83 'trace_event/trace_config_memory_test_util.h', 84 'trace_event/trace_config_unittest.cc', 85 'trace_event/trace_event_argument_unittest.cc', 86 'trace_event/trace_event_synthetic_delay_unittest.cc', 87 'trace_event/trace_event_system_stats_monitor_unittest.cc', 88 'trace_event/trace_event_unittest.cc', 89 'trace_event/winheap_dump_provider_win_unittest.cc', 90 ], 91 'conditions': [ 92 ['OS == "linux" or OS=="android" or OS=="mac"', { 93 'trace_event_sources': [ 94 'trace_event/malloc_dump_provider.cc', 95 'trace_event/malloc_dump_provider.h', 96 ], 97 }], 98 ['OS == "linux" or OS == "android"', { 99 'trace_event_sources': [ 100 'trace_event/process_memory_maps_dump_provider.cc', 101 ], 102 'trace_event_test_sources' : [ 103 'trace_event/process_memory_maps_dump_provider_unittest.cc', 104 ], 105 }], 106 ['OS == "android"', { 107 'trace_event_test_sources' : [ 108 'trace_event/trace_event_android_unittest.cc', 109 ], 110 }], 111 ], 112 }, 113 } 114