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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 | 218 |
219 # Disable file manager component extension by default. | 219 # Disable file manager component extension by default. |
220 'file_manager_extension%': 0, | 220 'file_manager_extension%': 0, |
221 | 221 |
222 # Disable image loader component extension by default. | 222 # Disable image loader component extension by default. |
223 'image_loader_extension%': 0, | 223 'image_loader_extension%': 0, |
224 | 224 |
225 # Python version. | 225 # Python version. |
226 'python_ver%': '2.6', | 226 'python_ver%': '2.6', |
227 | 227 |
228 | |
229 # Set NEON compilation flags. | 228 # Set NEON compilation flags. |
230 'arm_neon%': 1, | 229 'arm_neon%': 1, |
231 | 230 |
232 # Detect NEON support at run-time. | 231 # Detect NEON support at run-time. |
233 'arm_neon_optional%': 0, | 232 'arm_neon_optional%': 0, |
234 | 233 |
235 # The system root for cross-compiles. Default: none. | 234 # The system root for cross-compiles. Default: none. |
236 'sysroot%': '', | 235 'sysroot%': '', |
237 | 236 |
238 # The system libdir used for this ABI. | 237 # The system libdir used for this ABI. |
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
668 }], | 667 }], |
669 | 668 |
670 ['OS=="linux" and target_arch=="arm" and chromeos==0', { | 669 ['OS=="linux" and target_arch=="arm" and chromeos==0', { |
671 # Set some defaults for arm/linux chrome builds | 670 # Set some defaults for arm/linux chrome builds |
672 'linux_use_tcmalloc%': 0, | 671 'linux_use_tcmalloc%': 0, |
673 # sysroot needs to be an absolute path otherwise it generates | 672 # sysroot needs to be an absolute path otherwise it generates |
674 # incorrect results when passed to pkg-config | 673 # incorrect results when passed to pkg-config |
675 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/arm-sysroot', | 674 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/arm-sysroot', |
676 }], # OS=="linux" and target_arch=="arm" and chromeos==0 | 675 }], # OS=="linux" and target_arch=="arm" and chromeos==0 |
677 | 676 |
678 | |
679 ['OS=="linux" and branding=="Chrome" and buildtype=="Official" and chrom
eos==0', { | 677 ['OS=="linux" and branding=="Chrome" and buildtype=="Official" and chrom
eos==0', { |
680 'conditions': [ | 678 'conditions': [ |
681 ['target_arch=="x64"', { | 679 ['target_arch=="x64"', { |
682 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/debi
an_wheezy_amd64-sysroot', | 680 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/debi
an_wheezy_amd64-sysroot', |
683 }], | 681 }], |
684 ['target_arch=="ia32"', { | 682 ['target_arch=="ia32"', { |
685 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/debi
an_wheezy_i386-sysroot', | 683 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/chrome/installer/linux/debi
an_wheezy_i386-sysroot', |
686 }], | 684 }], |
687 ], | 685 ], |
688 }], # OS=="linux" and branding=="Chrome" and buildtype=="Official" and c
hromeos==0 | 686 }], # OS=="linux" and branding=="Chrome" and buildtype=="Official" and c
hromeos==0 |
(...skipping 1075 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1764 ['arm_version==7 and android_webview_build==0', { | 1762 ['arm_version==7 and android_webview_build==0', { |
1765 'arm_arch%': 'armv7-a', | 1763 'arm_arch%': 'armv7-a', |
1766 'arm_tune%': 'cortex-a8', | 1764 'arm_tune%': 'cortex-a8', |
1767 'conditions': [ | 1765 'conditions': [ |
1768 ['arm_neon==1', { | 1766 ['arm_neon==1', { |
1769 'arm_fpu%': 'neon', | 1767 'arm_fpu%': 'neon', |
1770 }, { | 1768 }, { |
1771 'arm_fpu%': 'vfpv3-d16', | 1769 'arm_fpu%': 'vfpv3-d16', |
1772 }], | 1770 }], |
1773 ], | 1771 ], |
| 1772 # Change the default to hard once the armhf transition is complete. |
1774 'arm_float_abi%': 'softfp', | 1773 'arm_float_abi%': 'softfp', |
1775 'arm_thumb%': 1, | 1774 'arm_thumb%': 1, |
1776 }], | 1775 }], |
1777 | 1776 |
1778 ['android_webview_build==1', { | 1777 ['android_webview_build==1', { |
1779 # The WebView build gets its cpu-specific flags from the Android build s
ystem. | 1778 # The WebView build gets its cpu-specific flags from the Android build s
ystem. |
1780 'arm_arch%': '', | 1779 'arm_arch%': '', |
1781 'arm_tune%': '', | 1780 'arm_tune%': '', |
1782 'arm_fpu%': '', | 1781 'arm_fpu%': '', |
1783 'arm_float_abi%': '', | 1782 'arm_float_abi%': '', |
(...skipping 2948 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4732 # settings in target dicts. SYMROOT is a special case, because many other | 4731 # settings in target dicts. SYMROOT is a special case, because many other |
4733 # Xcode variables depend on it, including variables such as | 4732 # Xcode variables depend on it, including variables such as |
4734 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4733 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4735 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4734 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4736 # files to appear (when present) in the UI as actual files and not red | 4735 # files to appear (when present) in the UI as actual files and not red |
4737 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4736 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4738 # and therefore SYMROOT, needs to be set at the project level. | 4737 # and therefore SYMROOT, needs to be set at the project level. |
4739 'SYMROOT': '<(DEPTH)/xcodebuild', | 4738 'SYMROOT': '<(DEPTH)/xcodebuild', |
4740 }, | 4739 }, |
4741 } | 4740 } |
OLD | NEW |