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

Side by Side Diff: base/debug/BUILD.gn

Issue 1644753002: Make base work on iOS (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: rebase Created 4 years, 10 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 | « base/BUILD.gn ('k') | base/debug/stack_trace_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2015 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 if (is_android) {
6 import("//build/config/android/rules.gni")
7 }
8
5 source_set("debug") { 9 source_set("debug") {
6 sources = [ 10 sources = [
7 "alias.cc", 11 "alias.cc",
8 "alias.h", 12 "alias.h",
9 "asan_invalid_access.cc", 13 "asan_invalid_access.cc",
10 "asan_invalid_access.h", 14 "asan_invalid_access.h",
11 "crash_logging.cc", 15 "crash_logging.cc",
12 "crash_logging.h", 16 "crash_logging.h",
13 "debugger.cc", 17 "debugger.cc",
14 "debugger.h", 18 "debugger.h",
(...skipping 22 matching lines...) Expand all
37 "task_annotator.h", 41 "task_annotator.h",
38 ] 42 ]
39 43
40 if (is_android) { 44 if (is_android) {
41 # Android uses some Linux sources, put those back. 45 # Android uses some Linux sources, put those back.
42 set_sources_assignment_filter([]) 46 set_sources_assignment_filter([])
43 sources += [ "proc_maps_linux.cc" ] 47 sources += [ "proc_maps_linux.cc" ]
44 set_sources_assignment_filter(sources_assignment_filter) 48 set_sources_assignment_filter(sources_assignment_filter)
45 49
46 sources -= [ "stack_trace_posix.cc" ] 50 sources -= [ "stack_trace_posix.cc" ]
51
52 defines = [ "ANDROID_LOG_TAG=$android_log_tag" ]
47 } 53 }
48 54
49 if (is_nacl) { 55 if (is_nacl) {
50 sources -= [ 56 sources -= [
51 "crash_logging.cc", 57 "crash_logging.cc",
52 "crash_logging.h", 58 "crash_logging.h",
53 "stack_trace.cc", 59 "stack_trace.cc",
54 "stack_trace_posix.cc", 60 "stack_trace_posix.cc",
55 ] 61 ]
56 } 62 }
(...skipping 10 matching lines...) Expand all
67 deps += [ "//base/third_party/symbolize" ] 73 deps += [ "//base/third_party/symbolize" ]
68 } 74 }
69 75
70 allow_circular_includes_from = [ 76 allow_circular_includes_from = [
71 "//base/memory", 77 "//base/memory",
72 "//base/process", 78 "//base/process",
73 ] 79 ]
74 80
75 visibility = [ "//base/*" ] 81 visibility = [ "//base/*" ]
76 } 82 }
OLDNEW
« no previous file with comments | « base/BUILD.gn ('k') | base/debug/stack_trace_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698