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