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

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

Issue 1059613002: Enable large file support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « build/common.gypi ('k') | no next file » | 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/android/config.gni") 5 import("//build/config/android/config.gni")
6 if (current_cpu == "arm") { 6 if (current_cpu == "arm") {
7 import("//build/config/arm.gni") 7 import("//build/config/arm.gni")
8 } 8 }
9 if (current_cpu == "mipsel" || current_cpu == "mips64el") { 9 if (current_cpu == "mipsel" || current_cpu == "mips64el") {
10 import("//build/config/mips.gni") 10 import("//build/config/mips.gni")
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
319 cflags += [ 319 cflags += [
320 "-mips64r2", 320 "-mips64r2",
321 "-Wa,-mips64r2", 321 "-Wa,-mips64r2",
322 ] 322 ]
323 ldflags += [ "-mips64r2" ] 323 ldflags += [ "-mips64r2" ]
324 } 324 }
325 } 325 }
326 326
327 defines += [ "_FILE_OFFSET_BITS=64" ] 327 defines += [ "_FILE_OFFSET_BITS=64" ]
328 328
329 if (!is_android) {
330 defines += [
331 "_LARGEFILE_SOURCE",
332 "_LARGEFILE64_SOURCE",
333 ]
334 }
335
329 # Omit unwind support in official builds to save space. We can use breakpad 336 # Omit unwind support in official builds to save space. We can use breakpad
330 # for these builds. 337 # for these builds.
331 if (is_chrome_branded && is_official_build) { 338 if (is_chrome_branded && is_official_build) {
332 cflags += [ 339 cflags += [
333 "-fno-unwind-tables", 340 "-fno-unwind-tables",
334 "-fno-asynchronous-unwind-tables", 341 "-fno-asynchronous-unwind-tables",
335 ] 342 ]
336 } else { 343 } else {
337 cflags += [ "-funwind-tables" ] 344 cflags += [ "-funwind-tables" ]
338 } 345 }
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after
1074 cflags += [ "-gsplit-dwarf" ] 1081 cflags += [ "-gsplit-dwarf" ]
1075 } 1082 }
1076 } 1083 }
1077 } 1084 }
1078 1085
1079 config("no_symbols") { 1086 config("no_symbols") {
1080 if (!is_win) { 1087 if (!is_win) {
1081 cflags = [ "-g0" ] 1088 cflags = [ "-g0" ]
1082 } 1089 }
1083 } 1090 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698