| 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" ]
|
|
|