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