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

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

Issue 1647803004: Move base to DEPS (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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/critical_closure_internal_ios.mm ('k') | base/debug/OWNERS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 if (is_android) {
6 import("//build/config/android/rules.gni")
7 }
8
9 source_set("debug") {
10 sources = [
11 "alias.cc",
12 "alias.h",
13 "asan_invalid_access.cc",
14 "asan_invalid_access.h",
15 "crash_logging.cc",
16 "crash_logging.h",
17 "debugger.cc",
18 "debugger.h",
19 "debugger_posix.cc",
20 "debugger_win.cc",
21 "dump_without_crashing.cc",
22 "dump_without_crashing.h",
23 "gdi_debug_util_win.cc",
24 "gdi_debug_util_win.h",
25
26 # This file depends on files from the "allocator" target,
27 # but this target does not depend on "allocator" (see
28 # allocator.gyp for details).
29 "leak_annotations.h",
30 "leak_tracker.h",
31 "proc_maps_linux.cc",
32 "proc_maps_linux.h",
33 "profiler.cc",
34 "profiler.h",
35 "stack_trace.cc",
36 "stack_trace.h",
37 "stack_trace_android.cc",
38 "stack_trace_posix.cc",
39 "stack_trace_win.cc",
40 "task_annotator.cc",
41 "task_annotator.h",
42 ]
43
44 if (is_android) {
45 # Android uses some Linux sources, put those back.
46 set_sources_assignment_filter([])
47 sources += [ "proc_maps_linux.cc" ]
48 set_sources_assignment_filter(sources_assignment_filter)
49
50 sources -= [ "stack_trace_posix.cc" ]
51
52 defines = [ "ANDROID_LOG_TAG=$android_log_tag" ]
53 }
54
55 if (is_nacl) {
56 sources -= [
57 "crash_logging.cc",
58 "crash_logging.h",
59 "stack_trace.cc",
60 "stack_trace_posix.cc",
61 ]
62 }
63
64 configs += [ "//base:base_implementation" ]
65
66 deps = [
67 "//base/memory",
68 "//base/process",
69 ]
70
71 if (is_linux) {
72 defines = [ "USE_SYMBOLIZE" ]
73 deps += [ "//base/third_party/symbolize" ]
74 }
75
76 allow_circular_includes_from = [
77 "//base/memory",
78 "//base/process",
79 ]
80
81 visibility = [ "//base/*" ]
82 }
OLDNEW
« no previous file with comments | « base/critical_closure_internal_ios.mm ('k') | base/debug/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698