| 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 'LDMODULECOM': [['$FLOCK_LDMODULE', '-o', '$TARGET', '$_LIBDIRFLAGS',
'$LDMODULEFLAGS', '$SOURCES', '-Wl,--start-group', '$_LIBFLAGS', '-Wl,--end-grou
p']], | 222 'LDMODULECOM': [['$FLOCK_LDMODULE', '-o', '$TARGET', '$_LIBDIRFLAGS',
'$LDMODULEFLAGS', '$SOURCES', '-Wl,--start-group', '$_LIBFLAGS', '-Wl,--end-grou
p']], |
| 223 'IMPLICIT_COMMAND_DEPENDENCIES': 0, | 223 'IMPLICIT_COMMAND_DEPENDENCIES': 0, |
| 224 # -rpath is only used when building with shared libraries. | 224 # -rpath is only used when building with shared libraries. |
| 225 'conditions': [ | 225 'conditions': [ |
| 226 [ 'library=="shared_library"', { | 226 [ 'library=="shared_library"', { |
| 227 'RPATH': '$LIB_DIR', | 227 'RPATH': '$LIB_DIR', |
| 228 }], | 228 }], |
| 229 ], | 229 ], |
| 230 }, | 230 }, |
| 231 'scons_import_variables': [ | 231 'scons_import_variables': [ |
| 232 'AS', |
| 232 'CC', | 233 'CC', |
| 233 'CXX', | 234 'CXX', |
| 234 'LINK', | 235 'LINK', |
| 235 ], | 236 ], |
| 236 'scons_propagate_variables': [ | 237 'scons_propagate_variables': [ |
| 238 'AS', |
| 237 'CC', | 239 'CC', |
| 238 'CCACHE_DIR', | 240 'CCACHE_DIR', |
| 239 'CXX', | 241 'CXX', |
| 240 'DISTCC_DIR', | 242 'DISTCC_DIR', |
| 241 'DISTCC_HOSTS', | 243 'DISTCC_HOSTS', |
| 242 'HOME', | 244 'HOME', |
| 243 'INCLUDE_SERVER_ARGS', | 245 'INCLUDE_SERVER_ARGS', |
| 244 'INCLUDE_SERVER_PORT', | 246 'INCLUDE_SERVER_PORT', |
| 245 'LINK', | 247 'LINK', |
| 246 ], | 248 ], |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 430 # settings in target dicts. SYMROOT is a special case, because many other | 432 # settings in target dicts. SYMROOT is a special case, because many other |
| 431 # Xcode variables depend on it, including variables such as | 433 # Xcode variables depend on it, including variables such as |
| 432 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 434 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 433 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 435 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 434 # files to appear (when present) in the UI as actual files and not red | 436 # files to appear (when present) in the UI as actual files and not red |
| 435 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 437 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 436 # and therefore SYMROOT, needs to be set at the project level. | 438 # and therefore SYMROOT, needs to be set at the project level. |
| 437 'SYMROOT': '<(DEPTH)/xcodebuild', | 439 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 438 }, | 440 }, |
| 439 } | 441 } |
| OLD | NEW |