| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 # IMPORTANT: | 5 # IMPORTANT: |
| 6 # Please don't directly include this file if you are building via gyp_chromium, | 6 # Please don't directly include this file if you are building via gyp_chromium, |
| 7 # since gyp_chromium is automatically forcing its inclusion. | 7 # since gyp_chromium is automatically forcing its inclusion. |
| 8 { | 8 { |
| 9 # Variables expected to be overriden on the GYP command line (-D) or by | 9 # Variables expected to be overriden on the GYP command line (-D) or by |
| 10 # ~/.gyp/include.gypi. | 10 # ~/.gyp/include.gypi. |
| (...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/de
bian_wheezy_amd64-sysroot', | 299 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/de
bian_wheezy_amd64-sysroot', |
| 300 }], | 300 }], |
| 301 ['target_arch=="ia32"', { | 301 ['target_arch=="ia32"', { |
| 302 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/de
bian_wheezy_i386-sysroot', | 302 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/de
bian_wheezy_i386-sysroot', |
| 303 }], | 303 }], |
| 304 ], | 304 ], |
| 305 }], # OS=="linux" and branding=="Chrome" and buildtype=="Official" and
chromeos==0 | 305 }], # OS=="linux" and branding=="Chrome" and buildtype=="Official" and
chromeos==0 |
| 306 | 306 |
| 307 ['OS=="linux" and target_arch=="mipsel"', { | 307 ['OS=="linux" and target_arch=="mipsel"', { |
| 308 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/sysroot', | 308 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/sysroot', |
| 309 'CXX%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/bin/mipsel-linux-g
nu-gcc', | |
| 310 }], | 309 }], |
| 311 ], | 310 ], |
| 312 }, | 311 }, |
| 313 | 312 |
| 314 # Copy conditionally-set variables out one scope. | 313 # Copy conditionally-set variables out one scope. |
| 315 'chromeos%': '<(chromeos)', | 314 'chromeos%': '<(chromeos)', |
| 316 'chromecast%': '<(chromecast)', | 315 'chromecast%': '<(chromecast)', |
| 317 'host_arch%': '<(host_arch)', | 316 'host_arch%': '<(host_arch)', |
| 318 'target_arch%': '<(target_arch)', | 317 'target_arch%': '<(target_arch)', |
| 319 'target_subarch%': '<(target_subarch)', | 318 'target_subarch%': '<(target_subarch)', |
| (...skipping 1282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1602 'windows_driver_kit_path%': '$(WDK_DIR)', | 1601 'windows_driver_kit_path%': '$(WDK_DIR)', |
| 1603 }], | 1602 }], |
| 1604 ['os_posix==1 and OS!="mac" and OS!="ios"', { | 1603 ['os_posix==1 and OS!="mac" and OS!="ios"', { |
| 1605 'conditions': [ | 1604 'conditions': [ |
| 1606 ['target_arch=="mipsel" or target_arch=="mips64el"', { | 1605 ['target_arch=="mipsel" or target_arch=="mips64el"', { |
| 1607 'werror%': '', | 1606 'werror%': '', |
| 1608 'disable_nacl%': 1, | 1607 'disable_nacl%': 1, |
| 1609 'nacl_untrusted_build%': 0, | 1608 'nacl_untrusted_build%': 0, |
| 1610 'use_allocator%': 'none', | 1609 'use_allocator%': 'none', |
| 1611 }], | 1610 }], |
| 1612 ['OS=="linux" and target_arch=="mipsel"', { | |
| 1613 'sysroot%': '<(sysroot)', | |
| 1614 'CXX%': '<(CXX)', | |
| 1615 }], | |
| 1616 # Use a 64-bit linker to avoid running out of address space. The | 1611 # Use a 64-bit linker to avoid running out of address space. The |
| 1617 # buildbots should have a 64-bit kernel and a 64-bit libc installed. | 1612 # buildbots should have a 64-bit kernel and a 64-bit libc installed. |
| 1618 ['host_arch=="ia32" and target_arch=="ia32"', { | 1613 ['host_arch=="ia32" and target_arch=="ia32"', { |
| 1619 # TODO(thestig) This is a horrible way to force the desired | 1614 # TODO(thestig) This is a horrible way to force the desired |
| 1620 # configuration. Our gyp variable scoping is likely wrong and | 1615 # configuration. Our gyp variable scoping is likely wrong and |
| 1621 # needs to be cleaned up. The GN configuration should be changed | 1616 # needs to be cleaned up. The GN configuration should be changed |
| 1622 # to match. | 1617 # to match. |
| 1623 'binutils_version%': 224, | 1618 'binutils_version%': 224, |
| 1624 'linux_use_bundled_binutils%': '1', | 1619 'linux_use_bundled_binutils%': '1', |
| 1625 'linux_use_bundled_gold%': '1', | 1620 'linux_use_bundled_gold%': '1', |
| (...skipping 4569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6195 # settings in target dicts. SYMROOT is a special case, because many other | 6190 # settings in target dicts. SYMROOT is a special case, because many other |
| 6196 # Xcode variables depend on it, including variables such as | 6191 # Xcode variables depend on it, including variables such as |
| 6197 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6192 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 6198 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6193 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 6199 # files to appear (when present) in the UI as actual files and not red | 6194 # files to appear (when present) in the UI as actual files and not red |
| 6200 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6195 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 6201 # and therefore SYMROOT, needs to be set at the project level. | 6196 # and therefore SYMROOT, needs to be set at the project level. |
| 6202 'SYMROOT': '<(DEPTH)/xcodebuild', | 6197 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 6203 }, | 6198 }, |
| 6204 } | 6199 } |
| OLD | NEW |