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.
5 source_set("trace_event") {
7 "memory_allocator_attributes.h",
8 "memory_allocator_dump.cc",
9 "memory_allocator_dump.h",
10 "memory_dump_manager.cc",
11 "memory_dump_manager.h",
12 "memory_dump_provider.cc",
13 "memory_dump_provider.h",
14 "memory_dump_request_args.h",
15 "process_memory_dump.cc",
16 "process_memory_dump.h",
17 "process_memory_maps.cc",
18 "process_memory_maps.h",
19 "process_memory_maps_dump_provider.cc",
20 "process_memory_maps_dump_provider.h",
21 "process_memory_totals.cc",
22 "process_memory_totals.h",
23 "process_memory_totals_dump_provider.cc",
24 "process_memory_totals_dump_provider.h",
26 "trace_event_android.cc",
27 "trace_event_argument.cc",
28 "trace_event_argument.h",
29 "trace_event_etw_export_win.cc",
30 "trace_event_etw_export_win.h",
31 "trace_event_impl.cc",
33 "trace_event_impl_constants.cc",
34 "trace_event_memory.cc",
35 "trace_event_memory.h",
36 "trace_event_synthetic_delay.cc",
37 "trace_event_synthetic_delay.h",
38 "trace_event_system_stats_monitor.cc",
39 "trace_event_system_stats_monitor.h",
46 "process_memory_totals_dump_provider.cc",
47 "trace_event_system_stats_monitor.cc",
51 if (is_linux || is_android) {
53 "malloc_dump_provider.cc",
54 "malloc_dump_provider.h",
58 configs += [ "//base:base_implementation" ]
65 "//base/third_party/dynamic_annotations",
69 deps += [ "//base/trace_event/etw_manifest:chrome_events_win" ]
72 allow_circular_includes_from = [
78 visibility = [ "//base/*" ]
81 source_set("trace_event_unittests") {
84 "memory_allocator_dump_unittest.cc",
85 "memory_dump_manager_unittest.cc",
86 "process_memory_maps_dump_provider_unittest.cc",
87 "process_memory_totals_dump_provider_unittest.cc",
88 "trace_event_argument_unittest.cc",
89 "trace_event_memory_unittest.cc",
90 "trace_event_synthetic_delay_unittest.cc",
91 "trace_event_system_stats_monitor_unittest.cc",
92 "trace_event_unittest.cc",
93 "trace_event_win_unittest.cc",
97 "//base/test:test_support",