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

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

Issue 1528233002: Make base a static ibrary (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/json/BUILD.gn » ('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 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
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 }
OLDNEW
« no previous file with comments | « base/BUILD.gn ('k') | base/json/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698