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

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

Issue 913373002: Update Chomium's build files to work w/ latest GN binaries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn_cpu_arch_changes
Patch Set: merge to #317214 Created 5 years, 10 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
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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 "DYNAMIC_ANNOTATIONS_ENABLED=1", 224 "DYNAMIC_ANNOTATIONS_ENABLED=1",
225 "WTF_USE_DYNAMIC_ANNOTATIONS=1", 225 "WTF_USE_DYNAMIC_ANNOTATIONS=1",
226 ] 226 ]
227 227
228 if (is_win) { 228 if (is_win) {
229 if (disable_iterator_debugging) { 229 if (disable_iterator_debugging) {
230 # Iterator debugging is enabled by the compiler on debug builds, and we 230 # Iterator debugging is enabled by the compiler on debug builds, and we
231 # have to tell it to turn it off. 231 # have to tell it to turn it off.
232 defines += [ "_HAS_ITERATOR_DEBUGGING=0" ] 232 defines += [ "_HAS_ITERATOR_DEBUGGING=0" ]
233 } 233 }
234 } else if (is_linux && !is_android && cpu_arch == "x64" && 234 } else if (is_linux && !is_android && current_cpu == "x64" &&
235 !disable_iterator_debugging) { 235 !disable_iterator_debugging) {
236 # Enable libstdc++ debugging facilities to help catch problems early, see 236 # Enable libstdc++ debugging facilities to help catch problems early, see
237 # http://crbug.com/65151 . 237 # http://crbug.com/65151 .
238 # TODO(phajdan.jr): Should we enable this for all of POSIX? 238 # TODO(phajdan.jr): Should we enable this for all of POSIX?
239 defines += [ "_GLIBCXX_DEBUG=1" ] 239 defines += [ "_GLIBCXX_DEBUG=1" ]
240 } 240 }
241 } 241 }
242 242
243 config("release") { 243 config("release") {
244 defines = [ "NDEBUG" ] 244 defines = [ "NDEBUG" ]
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 "CoreFoundation.framework", 310 "CoreFoundation.framework",
311 "CoreGraphics.framework", 311 "CoreGraphics.framework",
312 "CoreText.framework", 312 "CoreText.framework",
313 "Foundation.framework", 313 "Foundation.framework",
314 "UIKit.framework", 314 "UIKit.framework",
315 ] 315 ]
316 } else if (is_linux) { 316 } else if (is_linux) {
317 libs = [ "dl" ] 317 libs = [ "dl" ]
318 } 318 }
319 } 319 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698