Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Side by Side Diff: base/trace_event/BUILD.gn

Issue 1540953003: Move base GN subprojects into base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/process/BUILD.gn ('k') | base/trace_event/etw_manifest/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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 source_set("trace_event") {
6 sources = [
7 "common/trace_event_common.h",
8 "heap_profiler_allocation_context.cc",
9 "heap_profiler_allocation_context.h",
10 "heap_profiler_allocation_context_tracker.cc",
11 "heap_profiler_allocation_context_tracker.h",
12 "heap_profiler_allocation_register.cc",
13 "heap_profiler_allocation_register.h",
14 "heap_profiler_allocation_register_posix.cc",
15 "heap_profiler_allocation_register_win.cc",
16 "heap_profiler_heap_dump_writer.cc",
17 "heap_profiler_heap_dump_writer.h",
18 "heap_profiler_stack_frame_deduplicator.cc",
19 "heap_profiler_stack_frame_deduplicator.h",
20 "heap_profiler_type_name_deduplicator.cc",
21 "heap_profiler_type_name_deduplicator.h",
22 "java_heap_dump_provider_android.cc",
23 "java_heap_dump_provider_android.h",
24 "memory_allocator_dump.cc",
25 "memory_allocator_dump.h",
26 "memory_allocator_dump_guid.cc",
27 "memory_allocator_dump_guid.h",
28 "memory_dump_manager.cc",
29 "memory_dump_manager.h",
30 "memory_dump_provider.h",
31 "memory_dump_request_args.cc",
32 "memory_dump_request_args.h",
33 "memory_dump_session_state.cc",
34 "memory_dump_session_state.h",
35 "process_memory_dump.cc",
36 "process_memory_dump.h",
37 "process_memory_maps.cc",
38 "process_memory_maps.h",
39 "process_memory_maps_dump_provider.h",
40 "process_memory_totals.cc",
41 "process_memory_totals.h",
42 "process_memory_totals_dump_provider.cc",
43 "process_memory_totals_dump_provider.h",
44 "trace_buffer.cc",
45 "trace_buffer.h",
46 "trace_config.cc",
47 "trace_config.h",
48 "trace_event.h",
49 "trace_event_android.cc",
50 "trace_event_argument.cc",
51 "trace_event_argument.h",
52 "trace_event_etw_export_win.cc",
53 "trace_event_etw_export_win.h",
54 "trace_event_impl.cc",
55 "trace_event_impl.h",
56 "trace_event_memory_overhead.cc",
57 "trace_event_memory_overhead.h",
58 "trace_event_synthetic_delay.cc",
59 "trace_event_synthetic_delay.h",
60 "trace_event_system_stats_monitor.cc",
61 "trace_event_system_stats_monitor.h",
62 "trace_log.cc",
63 "trace_log.h",
64 "trace_log_constants.cc",
65 "trace_sampling_thread.cc",
66 "trace_sampling_thread.h",
67 "tracing_agent.cc",
68 "tracing_agent.h",
69 "winheap_dump_provider_win.cc",
70 "winheap_dump_provider_win.h",
71 ]
72
73 configs += [ "//base:base_implementation" ]
74
75 deps = [
76 "//base/debug",
77 "//base/json",
78 "//base/memory",
79 "//base/process",
80 "//base/third_party/dynamic_annotations",
81 ]
82
83 if (is_nacl) {
84 sources -= [
85 "process_memory_totals_dump_provider.cc",
86 "trace_event_system_stats_monitor.cc",
87 ]
88 }
89
90 if (is_linux || is_android || is_mac) {
91 sources += [
92 "malloc_dump_provider.cc",
93 "malloc_dump_provider.h",
94 ]
95 }
96
97 if (is_linux || is_android) {
98 sources += [ "process_memory_maps_dump_provider.cc" ]
99 }
100 if (is_win) {
101 deps += [ "//base/trace_event/etw_manifest:chrome_events_win" ]
102 }
103
104 allow_circular_includes_from = [
105 "//base/debug",
106 "//base/memory",
107 "//base/process",
108 ]
109
110 visibility = [ "//base/*" ]
111 }
112
113 source_set("trace_event_unittests") {
114 testonly = true
115 sources = [
116 "heap_profiler_allocation_context_tracker_unittest.cc",
117 "heap_profiler_allocation_register_unittest.cc",
118 "heap_profiler_heap_dump_writer_unittest.cc",
119 "heap_profiler_stack_frame_deduplicator_unittest.cc",
120 "heap_profiler_type_name_deduplicator_unittest.cc",
121 "java_heap_dump_provider_android_unittest.cc",
122 "memory_allocator_dump_unittest.cc",
123 "memory_dump_manager_unittest.cc",
124 "process_memory_dump_unittest.cc",
125 "process_memory_totals_dump_provider_unittest.cc",
126 "trace_config_memory_test_util.h",
127 "trace_config_unittest.cc",
128 "trace_event_argument_unittest.cc",
129 "trace_event_synthetic_delay_unittest.cc",
130 "trace_event_system_stats_monitor_unittest.cc",
131 "trace_event_unittest.cc",
132 "winheap_dump_provider_win_unittest.cc",
133 ]
134
135 if (is_linux || is_android) {
136 sources += [ "process_memory_maps_dump_provider_unittest.cc" ]
137 }
138
139 if (is_android) {
140 sources += [ "trace_event_android_unittest.cc" ]
141 }
142
143 deps = [
144 "//base/test:test_support",
145 "//testing/gmock",
146 "//testing/gtest",
147 ]
148 }
OLDNEW
« no previous file with comments | « base/process/BUILD.gn ('k') | base/trace_event/etw_manifest/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698