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

Unified Diff: base/trace_event/BUILD.gn

Issue 1397483002: Restrict memory maps dump provider to only android and linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@smaps_fscan
Patch Set: Fixing. Created 5 years, 2 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/trace_event/process_memory_maps_dump_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/trace_event/BUILD.gn
diff --git a/base/trace_event/BUILD.gn b/base/trace_event/BUILD.gn
index a55c55d75ce9f722bd9b268b7b224a8c51c10709..ad9344265bdcfee2beb55c627c708d31ebab47fc 100644
--- a/base/trace_event/BUILD.gn
+++ b/base/trace_event/BUILD.gn
@@ -23,7 +23,6 @@ source_set("trace_event") {
"process_memory_dump.h",
"process_memory_maps.cc",
"process_memory_maps.h",
- "process_memory_maps_dump_provider.cc",
"process_memory_maps_dump_provider.h",
"process_memory_totals.cc",
"process_memory_totals.h",
@@ -72,6 +71,7 @@ source_set("trace_event") {
sources += [
"malloc_dump_provider.cc",
"malloc_dump_provider.h",
+ "process_memory_maps_dump_provider.cc",
]
}
@@ -106,7 +106,6 @@ source_set("trace_event_unittests") {
"memory_dump_manager_unittest.cc",
"memory_profiler_allocation_context_unittest.cc",
"process_memory_dump_unittest.cc",
- "process_memory_maps_dump_provider_unittest.cc",
"process_memory_totals_dump_provider_unittest.cc",
"trace_config_memory_test_util.h",
"trace_config_unittest.cc",
@@ -119,6 +118,10 @@ source_set("trace_event_unittests") {
"winheap_dump_provider_win_unittest.cc",
]
+ if (is_linux || is_android) {
+ sources += [ "process_memory_maps_dump_provider_unittest.cc" ]
+ }
+
deps = [
"//base/test:test_support",
"//testing/gmock",
« no previous file with comments | « no previous file | base/trace_event/process_memory_maps_dump_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698