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

Unified Diff: base/BUILD.gn

Issue 1346453004: NativeStackSampler implementation for Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: wittman's comments. Created 5 years, 3 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/base.gypi » ('j') | base/profiler/native_stack_sampler_mac.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/BUILD.gn
diff --git a/base/BUILD.gn b/base/BUILD.gn
index aa9261df467ae3255860fed980232ae9c8b3ab2d..c7af37370d3d342aecf641f121ac3c1710eaf59d 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -396,6 +396,7 @@ component("base") {
"profiler/alternate_timer.h",
"profiler/native_stack_sampler.cc",
"profiler/native_stack_sampler.h",
+ "profiler/native_stack_sampler_mac.cc",
"profiler/native_stack_sampler_posix.cc",
"profiler/native_stack_sampler_win.cc",
"profiler/scoped_profile.cc",
@@ -822,6 +823,10 @@ component("base") {
"threading/platform_thread_internal_posix.cc",
]
+ if (is_mac) {
+ sources -= [ "profiler/native_stack_sampler_posix.cc" ]
+ }
+
if (is_asan) {
# TODO(GYP) hook up asan on Mac. GYP has this extra dylib:
#data += [ "$root_out_dir/libclang_rt.asan_osx_dynamic.dylib" ]
« no previous file with comments | « no previous file | base/base.gypi » ('j') | base/profiler/native_stack_sampler_mac.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698