Restrict memory maps dump provider to only android and linux The memory maps dump provider is used only in android and linux, and not yet supported in windows. So, this should be compiled only in linux and android. BUG=461788 Review URL: https://codereview.chromium.org/1391933002 Cr-Original-Commit-Position: refs/heads/master@{#353029} Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src Cr-Mirrored-Commit: cf0bd979e8594b8fe369ed3177038cb06c05f05b
diff --git a/tools/gn/bootstrap/bootstrap.py b/tools/gn/bootstrap/bootstrap.py index 8764f0d..53845c2 100755 --- a/tools/gn/bootstrap/bootstrap.py +++ b/tools/gn/bootstrap/bootstrap.py
@@ -250,7 +250,6 @@ 'base/trace_event/memory_profiler_allocation_context.cc', 'base/trace_event/process_memory_dump.cc', 'base/trace_event/process_memory_maps.cc', - 'base/trace_event/process_memory_maps_dump_provider.cc', 'base/trace_event/process_memory_totals.cc', 'base/trace_event/process_memory_totals_dump_provider.cc', 'base/trace_event/trace_buffer.cc', @@ -338,6 +337,7 @@ 'base/sys_info_linux.cc', 'base/threading/platform_thread_linux.cc', 'base/trace_event/malloc_dump_provider.cc', + 'base/trace_event/process_memory_maps_dump_provider.cc', ]) static_libraries['libevent']['include_dirs'].extend([ os.path.join(SRC_ROOT, 'third_party', 'libevent', 'linux')