Index: base/BUILD.gn |
diff --git a/base/BUILD.gn b/base/BUILD.gn |
index 8c73a6e475ec2ccb4b97d9d736cdc036d38eca24..d5b815d207a85f98da84aba2243da59f3c8291c7 100644 |
--- a/base/BUILD.gn |
+++ b/base/BUILD.gn |
@@ -842,8 +842,11 @@ |
"trace_event/process_memory_dump.h", |
"trace_event/process_memory_maps.cc", |
"trace_event/process_memory_maps.h", |
+ "trace_event/process_memory_maps_dump_provider.h", |
"trace_event/process_memory_totals.cc", |
"trace_event/process_memory_totals.h", |
+ "trace_event/process_memory_totals_dump_provider.cc", |
+ "trace_event/process_memory_totals_dump_provider.h", |
"trace_event/trace_buffer.cc", |
"trace_event/trace_buffer.h", |
"trace_event/trace_config.cc", |
@@ -984,6 +987,7 @@ |
"sys_info_linux.cc", |
"trace_event/malloc_dump_provider.cc", |
"trace_event/malloc_dump_provider.h", |
+ "trace_event/process_memory_maps_dump_provider.cc", |
] |
set_sources_assignment_filter(sources_assignment_filter) |
@@ -1050,6 +1054,7 @@ |
"sync_socket_posix.cc", |
"sys_info.cc", |
"sys_info_posix.cc", |
+ "trace_event/process_memory_totals_dump_provider.cc", |
"trace_event/trace_event_system_stats_monitor.cc", |
] |
@@ -1178,6 +1183,7 @@ |
sources += [ |
"trace_event/malloc_dump_provider.cc", |
"trace_event/malloc_dump_provider.h", |
+ "trace_event/process_memory_maps_dump_provider.cc", |
] |
if (is_asan || is_lsan || is_msan || is_tsan) { |
@@ -1814,6 +1820,7 @@ |
"trace_event/memory_allocator_dump_unittest.cc", |
"trace_event/memory_dump_manager_unittest.cc", |
"trace_event/process_memory_dump_unittest.cc", |
+ "trace_event/process_memory_totals_dump_provider_unittest.cc", |
"trace_event/trace_config_memory_test_util.h", |
"trace_event/trace_config_unittest.cc", |
"trace_event/trace_event_argument_unittest.cc", |
@@ -1928,6 +1935,10 @@ |
} |
} |
+ if (is_linux || is_android) { |
+ sources += [ "trace_event/process_memory_maps_dump_provider_unittest.cc" ] |
+ } |
+ |
if (!is_linux || use_ozone) { |
sources -= [ "message_loop/message_pump_glib_unittest.cc" ] |
} |