Index: base/BUILD.gn |
diff --git a/base/BUILD.gn b/base/BUILD.gn |
index f1034466a65dbb033103fd4743edf6b288509322..8b9b5bf19056236ef193fef6e453d7f28959881b 100644 |
--- a/base/BUILD.gn |
+++ b/base/BUILD.gn |
@@ -370,6 +370,10 @@ component("base") { |
"profiler/scoped_profile.h", |
"profiler/scoped_tracker.cc", |
"profiler/scoped_tracker.h", |
+ "profiler/stack_sampling_profiler.cc", |
+ "profiler/stack_sampling_profiler.h", |
+ "profiler/stack_sampling_profiler_posix.cc", |
+ "profiler/stack_sampling_profiler_win.cc", |
"profiler/tracked_time.cc", |
"profiler/tracked_time.h", |
"rand_util.cc", |
@@ -484,6 +488,8 @@ component("base") { |
"threading/non_thread_safe_impl.h", |
"threading/platform_thread.h", |
"threading/platform_thread_android.cc", |
+ "threading/platform_thread_internal_posix.cc", |
+ "threading/platform_thread_internal_posix.h", |
"threading/platform_thread_linux.cc", |
"threading/platform_thread_mac.mm", |
"threading/platform_thread_posix.cc", |
@@ -740,6 +746,7 @@ component("base") { |
sources -= [ |
"native_library_posix.cc", |
"strings/sys_string_conversions_posix.cc", |
+ "threading/platform_thread_internal_posix.cc", |
] |
} else { |
# Non-Mac. |
@@ -1188,6 +1195,7 @@ test("base_unittests") { |
"process/process_unittest.cc", |
"process/process_util_unittest.cc", |
"process/process_util_unittest_ios.cc", |
+ "profiler/stack_sampling_profiler_unittest.cc", |
"profiler/tracked_time_unittest.cc", |
"rand_util_unittest.cc", |
"scoped_clear_errno_unittest.cc", |
@@ -1248,15 +1256,6 @@ test("base_unittests") { |
"timer/mock_timer_unittest.cc", |
"timer/timer_unittest.cc", |
"tools_sanity_unittest.cc", |
- "trace_event/memory_dump_manager_unittest.cc", |
- "trace_event/process_memory_maps_dump_provider_unittest.cc", |
- "trace_event/process_memory_totals_dump_provider_unittest.cc", |
- "trace_event/trace_event_argument_unittest.cc", |
- "trace_event/trace_event_memory_unittest.cc", |
- "trace_event/trace_event_synthetic_delay_unittest.cc", |
- "trace_event/trace_event_system_stats_monitor_unittest.cc", |
- "trace_event/trace_event_unittest.cc", |
- "trace_event/trace_event_win_unittest.cc", |
"tracked_objects_unittest.cc", |
"tuple_unittest.cc", |
"values_unittest.cc", |
@@ -1294,6 +1293,7 @@ test("base_unittests") { |
"//base/test:test_support", |
"//base/third_party/dynamic_annotations", |
"//base/third_party/nspr", |
+ "//base/trace_event:trace_event_unittests", |
"//testing/gmock", |
"//testing/gtest", |
"//third_party/icu", |