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 import("//build/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//build/config/compiler/compiler.gni") | 6 import("//build/config/compiler/compiler.gni") |
7 | 7 |
8 source_set("debug") { | 8 # Should be static library, see documentation on //base:base for discussion. |
| 9 static_library("debug") { |
9 sources = [ | 10 sources = [ |
10 "alias.cc", | 11 "alias.cc", |
11 "alias.h", | 12 "alias.h", |
12 "asan_invalid_access.cc", | 13 "asan_invalid_access.cc", |
13 "asan_invalid_access.h", | 14 "asan_invalid_access.h", |
14 "close_handle_hook_win.cc", | 15 "close_handle_hook_win.cc", |
15 "close_handle_hook_win.h", | 16 "close_handle_hook_win.h", |
16 "crash_logging.cc", | 17 "crash_logging.cc", |
17 "crash_logging.h", | 18 "crash_logging.h", |
18 "debugger.cc", | 19 "debugger.cc", |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 ] | 81 ] |
81 | 82 |
82 visibility = [ "//base/*" ] | 83 visibility = [ "//base/*" ] |
83 } | 84 } |
84 | 85 |
85 buildflag_header("debugging_flags") { | 86 buildflag_header("debugging_flags") { |
86 header = "debugging_flags.h" | 87 header = "debugging_flags.h" |
87 | 88 |
88 flags = [ "ENABLE_PROFILING=$enable_profiling" ] | 89 flags = [ "ENABLE_PROFILING=$enable_profiling" ] |
89 } | 90 } |
OLD | NEW |