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

Side by Side Diff: base/BUILD.gn

Issue 1346453004: NativeStackSampler implementation for Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Rob'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 unified diff | Download patch
« no previous file with comments | « no previous file | base/base.gypi » ('j') | base/profiler/native_stack_sampler_mac.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/rules.gni") 9 import("//build/config/android/rules.gni")
10 } 10 }
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 "power_monitor/power_monitor_device_source_mac.mm", 389 "power_monitor/power_monitor_device_source_mac.mm",
390 "power_monitor/power_monitor_device_source_posix.cc", 390 "power_monitor/power_monitor_device_source_posix.cc",
391 "power_monitor/power_monitor_device_source_win.cc", 391 "power_monitor/power_monitor_device_source_win.cc",
392 "power_monitor/power_monitor_source.cc", 392 "power_monitor/power_monitor_source.cc",
393 "power_monitor/power_monitor_source.h", 393 "power_monitor/power_monitor_source.h",
394 "power_monitor/power_observer.h", 394 "power_monitor/power_observer.h",
395 "profiler/alternate_timer.cc", 395 "profiler/alternate_timer.cc",
396 "profiler/alternate_timer.h", 396 "profiler/alternate_timer.h",
397 "profiler/native_stack_sampler.cc", 397 "profiler/native_stack_sampler.cc",
398 "profiler/native_stack_sampler.h", 398 "profiler/native_stack_sampler.h",
399 "profiler/native_stack_sampler_mac.cc",
399 "profiler/native_stack_sampler_posix.cc", 400 "profiler/native_stack_sampler_posix.cc",
400 "profiler/native_stack_sampler_win.cc", 401 "profiler/native_stack_sampler_win.cc",
401 "profiler/scoped_profile.cc", 402 "profiler/scoped_profile.cc",
402 "profiler/scoped_profile.h", 403 "profiler/scoped_profile.h",
403 "profiler/scoped_tracker.cc", 404 "profiler/scoped_tracker.cc",
404 "profiler/scoped_tracker.h", 405 "profiler/scoped_tracker.h",
405 "profiler/stack_sampling_profiler.cc", 406 "profiler/stack_sampling_profiler.cc",
406 "profiler/stack_sampling_profiler.h", 407 "profiler/stack_sampling_profiler.h",
407 "profiler/tracked_time.cc", 408 "profiler/tracked_time.cc",
408 "profiler/tracked_time.h", 409 "profiler/tracked_time.h",
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
815 816
816 # Mac. 817 # Mac.
817 if (is_mac || is_ios) { 818 if (is_mac || is_ios) {
818 # Common Desktop / iOS excludes 819 # Common Desktop / iOS excludes
819 sources -= [ 820 sources -= [
820 "native_library_posix.cc", 821 "native_library_posix.cc",
821 "strings/sys_string_conversions_posix.cc", 822 "strings/sys_string_conversions_posix.cc",
822 "threading/platform_thread_internal_posix.cc", 823 "threading/platform_thread_internal_posix.cc",
823 ] 824 ]
824 825
826 if (is_mac) {
827 sources -= [ "profiler/native_stack_sampler_posix.cc" ]
828 }
829
825 if (is_asan) { 830 if (is_asan) {
826 # TODO(GYP) hook up asan on Mac. GYP has this extra dylib: 831 # TODO(GYP) hook up asan on Mac. GYP has this extra dylib:
827 #data += [ "$root_out_dir/libclang_rt.asan_osx_dynamic.dylib" ] 832 #data += [ "$root_out_dir/libclang_rt.asan_osx_dynamic.dylib" ]
828 } 833 }
829 834
830 if (is_ios) { 835 if (is_ios) {
831 sources -= [ 836 sources -= [
832 "files/file_path_watcher_fsevents.cc", 837 "files/file_path_watcher_fsevents.cc",
833 "files/file_path_watcher_fsevents.h", 838 "files/file_path_watcher_fsevents.h",
834 ] 839 ]
(...skipping 858 matching lines...) Expand 10 before | Expand all | Expand 10 after
1693 1698
1694 # GYP: //base.gyp:base_java_unittest_support 1699 # GYP: //base.gyp:base_java_unittest_support
1695 android_library("base_java_unittest_support") { 1700 android_library("base_java_unittest_support") {
1696 deps = [ 1701 deps = [
1697 ":base_java", 1702 ":base_java",
1698 ] 1703 ]
1699 java_files = 1704 java_files =
1700 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] 1705 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ]
1701 } 1706 }
1702 } 1707 }
OLDNEW
« 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