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

Side by Side Diff: build/config/BUILD.gn

Issue 972203003: Fix GN NaCl Debug build of base. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase again Created 5 years, 9 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/trace_event/BUILD.gn ('k') | build/config/compiler/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) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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/config/allocator.gni") 5 import("//build/config/allocator.gni")
6 import("//build/config/crypto.gni") 6 import("//build/config/crypto.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//build/module_args/v8.gni") 9 import("//build/module_args/v8.gni")
10 10
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 229
230 # Debug/release ---------------------------------------------------------------- 230 # Debug/release ----------------------------------------------------------------
231 231
232 config("debug") { 232 config("debug") {
233 defines = [ 233 defines = [
234 "_DEBUG", 234 "_DEBUG",
235 "DYNAMIC_ANNOTATIONS_ENABLED=1", 235 "DYNAMIC_ANNOTATIONS_ENABLED=1",
236 "WTF_USE_DYNAMIC_ANNOTATIONS=1", 236 "WTF_USE_DYNAMIC_ANNOTATIONS=1",
237 ] 237 ]
238 238
239 if (is_nacl) {
240 defines += [ "DYNAMIC_ANNOTATIONS_PREFIX=NACL_" ]
241 }
242
239 if (is_win) { 243 if (is_win) {
240 if (disable_iterator_debugging) { 244 if (disable_iterator_debugging) {
241 # Iterator debugging is enabled by the compiler on debug builds, and we 245 # Iterator debugging is enabled by the compiler on debug builds, and we
242 # have to tell it to turn it off. 246 # have to tell it to turn it off.
243 defines += [ "_HAS_ITERATOR_DEBUGGING=0" ] 247 defines += [ "_HAS_ITERATOR_DEBUGGING=0" ]
244 } 248 }
245 } else if (is_linux && !is_android && current_cpu == "x64" && 249 } else if (is_linux && !is_android && current_cpu == "x64" &&
246 !disable_iterator_debugging) { 250 !disable_iterator_debugging) {
247 # Enable libstdc++ debugging facilities to help catch problems early, see 251 # Enable libstdc++ debugging facilities to help catch problems early, see
248 # http://crbug.com/65151 . 252 # http://crbug.com/65151 .
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 "CoreFoundation.framework", 325 "CoreFoundation.framework",
322 "CoreGraphics.framework", 326 "CoreGraphics.framework",
323 "CoreText.framework", 327 "CoreText.framework",
324 "Foundation.framework", 328 "Foundation.framework",
325 "UIKit.framework", 329 "UIKit.framework",
326 ] 330 ]
327 } else if (is_linux) { 331 } else if (is_linux) {
328 libs = [ "dl" ] 332 libs = [ "dl" ]
329 } 333 }
330 } 334 }
OLDNEW
« no previous file with comments | « base/trace_event/BUILD.gn ('k') | build/config/compiler/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698