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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 # compiler optimized the code, since the value is always kept | 120 # compiler optimized the code, since the value is always kept |
121 # in its specified precision. | 121 # in its specified precision. |
122 'cflags': [ | 122 'cflags': [ |
123 '-m32', | 123 '-m32', |
124 '-pthread', | 124 '-pthread', |
125 '-march=pentium4', | 125 '-march=pentium4', |
126 '-fno-exceptions', | 126 '-fno-exceptions', |
127 '-msse2', | 127 '-msse2', |
128 '-mfpmath=sse', | 128 '-mfpmath=sse', |
129 ], | 129 ], |
130 'linkflags': [ | 130 'ldflags': [ |
131 '-m32', | 131 '-m32', |
132 '-pthread', | 132 '-pthread', |
133 ], | 133 ], |
134 'scons_variable_settings': { | 134 'scons_variable_settings': { |
135 'LIBPATH': ['$LIB_DIR'], | 135 'LIBPATH': ['$LIB_DIR'], |
136 # Linking of large files uses lots of RAM, so serialize links | 136 # Linking of large files uses lots of RAM, so serialize links |
137 # using the handy flock command from util-linux. | 137 # using the handy flock command from util-linux. |
138 'FLOCK_LINK': ['flock', '$TOP_BUILDDIR/linker.lock', '$LINK'], | 138 'FLOCK_LINK': ['flock', '$TOP_BUILDDIR/linker.lock', '$LINK'], |
139 'FLOCK_SHLINK': ['flock', '$TOP_BUILDDIR/linker.lock', '$SHLINK'], | 139 'FLOCK_SHLINK': ['flock', '$TOP_BUILDDIR/linker.lock', '$SHLINK'], |
140 'FLOCK_LDMODULE': ['flock', '$TOP_BUILDDIR/linker.lock', '$LDMODULE'], | 140 'FLOCK_LDMODULE': ['flock', '$TOP_BUILDDIR/linker.lock', '$LDMODULE'], |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 # settings in target dicts. SYMROOT is a special case, because many other | 334 # settings in target dicts. SYMROOT is a special case, because many other |
335 # Xcode variables depend on it, including variables such as | 335 # Xcode variables depend on it, including variables such as |
336 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 336 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
337 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 337 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
338 # files to appear (when present) in the UI as actual files and not red | 338 # files to appear (when present) in the UI as actual files and not red |
339 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 339 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
340 # and therefore SYMROOT, needs to be set at the project level. | 340 # and therefore SYMROOT, needs to be set at the project level. |
341 'SYMROOT': '<(DEPTH)/xcodebuild', | 341 'SYMROOT': '<(DEPTH)/xcodebuild', |
342 }, | 342 }, |
343 } | 343 } |
OLD | NEW |