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

Unified Diff: base/BUILD.gn

Issue 1346453004: NativeStackSampler implementation for Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Binding libraries and nits. 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') | no next file with comments »
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 84d8bf94b6f86fe01dd57b398207c203205b8683..f7f213928c44b9833ebd3be1d4868cbd12e5e67b 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -395,6 +395,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",
@@ -821,6 +822,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698