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 ], |
1774 'arm_float_abi%': 'softfp', | 1772 # For ARM/linux builds we default to using the compilers default abi |
1773 # (normally arm-linux-gnueabi-gcc or arm-linux-gnueabihf-gcc) | |
Lei Zhang
2013/10/28 21:23:17
Mention the permissible values are soft, softfp an
| |
1774 'arm_float_abi%': 'default', | |
1775 'arm_thumb%': 1, | 1775 'arm_thumb%': 1, |
1776 }], | 1776 }], |
1777 | 1777 |
1778 ['android_webview_build==1', { | 1778 ['android_webview_build==1', { |
1779 # The WebView build gets its cpu-specific flags from the Android build s ystem. | 1779 # The WebView build gets its cpu-specific flags from the Android build s ystem. |
1780 'arm_arch%': '', | 1780 'arm_arch%': '', |
1781 'arm_tune%': '', | 1781 'arm_tune%': '', |
1782 'arm_fpu%': '', | 1782 'arm_fpu%': '', |
1783 'arm_float_abi%': '', | 1783 'arm_float_abi%': '', |
1784 'arm_thumb%': 0, | 1784 'arm_thumb%': 0, |
(...skipping 1273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3058 ['arm_tune!=""', { | 3058 ['arm_tune!=""', { |
3059 'cflags': [ | 3059 'cflags': [ |
3060 '-mtune=<(arm_tune)', | 3060 '-mtune=<(arm_tune)', |
3061 ], | 3061 ], |
3062 }], | 3062 }], |
3063 ['arm_fpu!=""', { | 3063 ['arm_fpu!=""', { |
3064 'cflags': [ | 3064 'cflags': [ |
3065 '-mfpu=<(arm_fpu)', | 3065 '-mfpu=<(arm_fpu)', |
3066 ], | 3066 ], |
3067 }], | 3067 }], |
3068 ['arm_float_abi!=""', { | 3068 ['arm_float_abi!="" and arm_float_abi!="default"', { |
3069 'cflags': [ | 3069 'cflags': [ |
3070 '-mfloat-abi=<(arm_float_abi)', | 3070 '-mfloat-abi=<(arm_float_abi)', |
3071 ], | 3071 ], |
3072 }], | 3072 }], |
3073 ['arm_thumb==1', { | 3073 ['arm_thumb==1', { |
3074 'cflags': [ | 3074 'cflags': [ |
3075 '-mthumb', | 3075 '-mthumb', |
3076 ] | 3076 ] |
3077 }], | 3077 }], |
3078 ['OS=="android"', { | 3078 ['OS=="android"', { |
(...skipping 1653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4732 # settings in target dicts. SYMROOT is a special case, because many other | 4732 # settings in target dicts. SYMROOT is a special case, because many other |
4733 # Xcode variables depend on it, including variables such as | 4733 # Xcode variables depend on it, including variables such as |
4734 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4734 # 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 | 4735 # 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 | 4736 # 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, | 4737 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4738 # and therefore SYMROOT, needs to be set at the project level. | 4738 # and therefore SYMROOT, needs to be set at the project level. |
4739 'SYMROOT': '<(DEPTH)/xcodebuild', | 4739 'SYMROOT': '<(DEPTH)/xcodebuild', |
4740 }, | 4740 }, |
4741 } | 4741 } |
OLD | NEW |