OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 # .gyp files should set chromium_code to 1 if they build Chromium-specific | 7 # .gyp files should set chromium_code to 1 if they build Chromium-specific |
8 # code, as opposed to external code. This variable is used to control | 8 # code, as opposed to external code. This variable is used to control |
9 # such things as the set of warnings to enable, and whether warnings are | 9 # such things as the set of warnings to enable, and whether warnings are |
10 # treated as errors. | 10 # treated as errors. |
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 # Enable -Werror by default, but put it in a variable so it can | 335 # Enable -Werror by default, but put it in a variable so it can |
336 # be disabled in ~/.gyp/include.gypi on the valgrind builders. | 336 # be disabled in ~/.gyp/include.gypi on the valgrind builders. |
337 'variables': { | 337 'variables': { |
338 'werror%': '-Werror', | 338 'werror%': '-Werror', |
339 }, | 339 }, |
340 'cflags': [ | 340 'cflags': [ |
341 '<(werror)', # See note above about the werror variable. | 341 '<(werror)', # See note above about the werror variable. |
342 '-pthread', | 342 '-pthread', |
343 '-fno-exceptions', | 343 '-fno-exceptions', |
344 '-Wall', | 344 '-Wall', |
| 345 '-D_FILE_OFFSET_BITS=64', |
345 ], | 346 ], |
346 'cflags_cc': [ | 347 'cflags_cc': [ |
347 '-fno-threadsafe-statics', | 348 '-fno-threadsafe-statics', |
348 ], | 349 ], |
349 'ldflags': [ | 350 'ldflags': [ |
350 '-pthread', | 351 '-pthread', |
351 ], | 352 ], |
352 'scons_variable_settings': { | 353 'scons_variable_settings': { |
353 'LIBPATH': ['$LIB_DIR'], | 354 'LIBPATH': ['$LIB_DIR'], |
354 # Linking of large files uses lots of RAM, so serialize links | 355 # Linking of large files uses lots of RAM, so serialize links |
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
724 # settings in target dicts. SYMROOT is a special case, because many other | 725 # settings in target dicts. SYMROOT is a special case, because many other |
725 # Xcode variables depend on it, including variables such as | 726 # Xcode variables depend on it, including variables such as |
726 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 727 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
727 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 728 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
728 # files to appear (when present) in the UI as actual files and not red | 729 # files to appear (when present) in the UI as actual files and not red |
729 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 730 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
730 # and therefore SYMROOT, needs to be set at the project level. | 731 # and therefore SYMROOT, needs to be set at the project level. |
731 'SYMROOT': '<(DEPTH)/xcodebuild', | 732 'SYMROOT': '<(DEPTH)/xcodebuild', |
732 }, | 733 }, |
733 } | 734 } |
OLD | NEW |