OLD | NEW |
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 source_set("debug") { | 5 source_set("debug") { |
6 sources = [ | 6 sources = [ |
7 "alias.cc", | 7 "alias.cc", |
8 "alias.h", | 8 "alias.h", |
9 "asan_invalid_access.cc", | 9 "asan_invalid_access.cc", |
10 "asan_invalid_access.h", | 10 "asan_invalid_access.h", |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 | 48 |
49 if (is_nacl) { | 49 if (is_nacl) { |
50 sources -= [ | 50 sources -= [ |
51 "crash_logging.cc", | 51 "crash_logging.cc", |
52 "crash_logging.h", | 52 "crash_logging.h", |
53 "stack_trace.cc", | 53 "stack_trace.cc", |
54 "stack_trace_posix.cc", | 54 "stack_trace_posix.cc", |
55 ] | 55 ] |
56 } | 56 } |
57 | 57 |
58 defines = [ "BASE_IMPLEMENTATION" ] | 58 configs += [ "//base:base_implementation" ] |
59 | 59 |
60 deps = [ | 60 deps = [ |
61 "//base/memory", | 61 "//base/memory", |
62 "//base/process", | 62 "//base/process", |
63 ] | 63 ] |
64 | 64 |
65 if (is_linux) { | 65 if (is_linux) { |
| 66 defines = [ "USE_SYMBOLIZE" ] |
66 deps += [ "//base/third_party/symbolize" ] | 67 deps += [ "//base/third_party/symbolize" ] |
67 } | 68 } |
68 | 69 |
69 allow_circular_includes_from = [ | 70 allow_circular_includes_from = [ |
70 "//base/memory", | 71 "//base/memory", |
71 "//base/process", | 72 "//base/process", |
72 ] | 73 ] |
73 | 74 |
74 visibility = [ "//base/*" ] | 75 visibility = [ "//base/*" ] |
75 } | 76 } |
OLD | NEW |