Index: base/trace_event/BUILD.gn |
diff --git a/base/trace_event/BUILD.gn b/base/trace_event/BUILD.gn |
index 10f7ec900e9d48b07ca92b2597a0f8fb21cfea79..479a918484322712ffaef6d261584225418a7c93 100644 |
--- a/base/trace_event/BUILD.gn |
+++ b/base/trace_event/BUILD.gn |
@@ -1,11 +1,15 @@ |
-# Copyright (c) 2015 The Chromium Authors. All rights reserved. |
+# Copyright 2015 The Chromium Authors. All rights reserved. |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
source_set("trace_event") { |
sources = [ |
+ "memory_allocator_attributes.h", |
+ "memory_allocator_dump.cc", |
+ "memory_allocator_dump.h", |
"memory_dump_manager.cc", |
"memory_dump_manager.h", |
+ "memory_dump_provider.cc", |
"memory_dump_provider.h", |
"process_memory_dump.cc", |
"process_memory_dump.h", |
@@ -59,3 +63,25 @@ source_set("trace_event") { |
visibility = [ "//base/*" ] |
} |
+ |
+source_set("trace_event_unittests") { |
+ testonly = true |
+ sources = [ |
+ "memory_allocator_dump_unittest.cc", |
+ "memory_dump_manager_unittest.cc", |
+ "process_memory_maps_dump_provider_unittest.cc", |
+ "process_memory_totals_dump_provider_unittest.cc", |
+ "trace_event_argument_unittest.cc", |
+ "trace_event_memory_unittest.cc", |
+ "trace_event_synthetic_delay_unittest.cc", |
+ "trace_event_system_stats_monitor_unittest.cc", |
+ "trace_event_unittest.cc", |
+ "trace_event_win_unittest.cc", |
+ ] |
+ |
+ deps = [ |
+ "//base/test:test_support", |
+ "//testing/gmock", |
+ "//testing/gtest", |
+ ] |
+} |