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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
204 | 204 |
205 # Disable file manager component extension by default. | 205 # Disable file manager component extension by default. |
206 'file_manager_extension%': 0, | 206 'file_manager_extension%': 0, |
207 | 207 |
208 # Disable image loader component extension by default. | 208 # Disable image loader component extension by default. |
209 'image_loader_extension%': 0, | 209 'image_loader_extension%': 0, |
210 | 210 |
211 # Python version. | 211 # Python version. |
212 'python_ver%': '2.6', | 212 'python_ver%': '2.6', |
213 | 213 |
214 # Set ARM-v7 compilation flags | 214 # Set ARM architecture version. |
215 'armv7%': 0, | 215 'arm_version%': 7, |
Torne
2013/04/11 13:04:22
This changes the default; is this intentional?
Fredrik Öhrn
2013/04/11 13:42:19
Maybe I misunderstood your comments on the previou
Torne
2013/04/11 13:55:00
That envsetup.sh script is specifically for Androi
Fredrik Öhrn
2013/04/11 15:18:46
Well, I could perhaps add an arm_version 0 default
| |
216 | 216 |
217 # Set Neon compilation flags (only meaningful if armv7==1). | 217 # Set Neon compilation flags. |
218 'arm_neon%': 1, | 218 'arm_neon%': 0, |
Torne
2013/04/11 13:04:22
Same here.
Fredrik Öhrn
2013/04/11 15:18:46
I have to keep arm_neon disabled when changing the
Fredrik Öhrn
2013/04/11 15:37:13
Turns out libvpx throws some handcrafted armv6 ass
| |
219 | 219 |
220 # The system root for cross-compiles. Default: none. | 220 # The system root for cross-compiles. Default: none. |
221 'sysroot%': '', | 221 'sysroot%': '', |
222 | 222 |
223 # The system libdir used for this ABI. | 223 # The system libdir used for this ABI. |
224 'system_libdir%': 'lib', | 224 'system_libdir%': 'lib', |
225 | 225 |
226 # On Linux, we build with sse2 for Chromium builds. | 226 # On Linux, we build with sse2 for Chromium builds. |
227 'disable_sse2%': 0, | 227 'disable_sse2%': 0, |
228 | 228 |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
603 | 603 |
604 # Enable Settings App only on Windows. | 604 # Enable Settings App only on Windows. |
605 ['enable_app_list==1 and OS=="win"', { | 605 ['enable_app_list==1 and OS=="win"', { |
606 'enable_settings_app%': 1, | 606 'enable_settings_app%': 1, |
607 }, { | 607 }, { |
608 'enable_settings_app%': 0, | 608 'enable_settings_app%': 0, |
609 }], | 609 }], |
610 | 610 |
611 ['OS=="linux" and target_arch=="arm" and chromeos==0', { | 611 ['OS=="linux" and target_arch=="arm" and chromeos==0', { |
612 # Set some defaults for arm/linux chrome builds | 612 # Set some defaults for arm/linux chrome builds |
613 'armv7%': 1, | 613 'arm_version%': 7, |
Torne
2013/04/11 13:04:22
This is setting it to the same value as above; if
| |
614 'linux_breakpad%': 0, | 614 'linux_breakpad%': 0, |
615 'linux_use_tcmalloc%': 0, | 615 'linux_use_tcmalloc%': 0, |
616 # sysroot needs to be an absolute path otherwise it generates | 616 # sysroot needs to be an absolute path otherwise it generates |
617 # incorrect results when passed to pkg-config | 617 # incorrect results when passed to pkg-config |
618 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/arm-sysroot', | 618 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/arm-sysroot', |
619 }], # OS=="linux" and target_arch=="arm" and chromeos==0 | 619 }], # OS=="linux" and target_arch=="arm" and chromeos==0 |
620 | 620 |
621 ['target_arch=="mipsel"', { | 621 ['target_arch=="mipsel"', { |
622 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/sysroot', | 622 'sysroot%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/sysroot', |
623 'CXX%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/bin/mipsel-linux-gnu -gcc', | 623 'CXX%': '<!(cd <(DEPTH) && pwd -P)/mipsel-sysroot/bin/mipsel-linux-gnu -gcc', |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
702 'enable_viewport%': '<(enable_viewport)', | 702 'enable_viewport%': '<(enable_viewport)', |
703 'enable_hidpi%': '<(enable_hidpi)', | 703 'enable_hidpi%': '<(enable_hidpi)', |
704 'enable_touch_ui%': '<(enable_touch_ui)', | 704 'enable_touch_ui%': '<(enable_touch_ui)', |
705 'use_xi2_mt%':'<(use_xi2_mt)', | 705 'use_xi2_mt%':'<(use_xi2_mt)', |
706 'file_manager_extension%': '<(file_manager_extension)', | 706 'file_manager_extension%': '<(file_manager_extension)', |
707 'image_loader_extension%': '<(image_loader_extension)', | 707 'image_loader_extension%': '<(image_loader_extension)', |
708 'inside_chromium_build%': '<(inside_chromium_build)', | 708 'inside_chromium_build%': '<(inside_chromium_build)', |
709 'fastbuild%': '<(fastbuild)', | 709 'fastbuild%': '<(fastbuild)', |
710 'dcheck_always_on%': '<(dcheck_always_on)', | 710 'dcheck_always_on%': '<(dcheck_always_on)', |
711 'python_ver%': '<(python_ver)', | 711 'python_ver%': '<(python_ver)', |
712 'armv7%': '<(armv7)', | 712 'arm_version%': '<(arm_version)', |
713 'arm_neon%': '<(arm_neon)', | 713 'arm_neon%': '<(arm_neon)', |
714 'sysroot%': '<(sysroot)', | 714 'sysroot%': '<(sysroot)', |
715 'system_libdir%': '<(system_libdir)', | 715 'system_libdir%': '<(system_libdir)', |
716 'component%': '<(component)', | 716 'component%': '<(component)', |
717 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', | 717 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', |
718 'use_third_party_translations%': '<(use_third_party_translations)', | 718 'use_third_party_translations%': '<(use_third_party_translations)', |
719 'remoting%': '<(remoting)', | 719 'remoting%': '<(remoting)', |
720 'enable_one_click_signin%': '<(enable_one_click_signin)', | 720 'enable_one_click_signin%': '<(enable_one_click_signin)', |
721 'enable_webrtc%': '<(enable_webrtc)', | 721 'enable_webrtc%': '<(enable_webrtc)', |
722 'chromium_win_pch%': '<(chromium_win_pch)', | 722 'chromium_win_pch%': '<(chromium_win_pch)', |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
919 | 919 |
920 # Disable shadow stack keeping used by heapcheck to unwind the stacks | 920 # Disable shadow stack keeping used by heapcheck to unwind the stacks |
921 # better. | 921 # better. |
922 'linux_keep_shadow_stacks%': 0, | 922 'linux_keep_shadow_stacks%': 0, |
923 | 923 |
924 # Set to 1 to link against libgnome-keyring instead of using dlopen(). | 924 # Set to 1 to link against libgnome-keyring instead of using dlopen(). |
925 'linux_link_gnome_keyring%': 0, | 925 'linux_link_gnome_keyring%': 0, |
926 # Set to 1 to link against gsettings APIs instead of using dlopen(). | 926 # Set to 1 to link against gsettings APIs instead of using dlopen(). |
927 'linux_link_gsettings%': 0, | 927 'linux_link_gsettings%': 0, |
928 | 928 |
929 # Set Thumb compilation flags. | |
930 'arm_thumb%': 0, | |
931 | |
932 # Set ARM fpu compilation flags (only meaningful if armv7==1 and | |
933 # arm_neon==0). | |
934 'arm_fpu%': 'vfpv3', | |
935 | |
936 # Set ARM float abi compilation flag. | |
937 'arm_float_abi%': 'softfp', | |
938 | |
939 # Enable use of OpenMAX DL FFT routines. | 929 # Enable use of OpenMAX DL FFT routines. |
940 'use_openmax_dl_fft%': '<(use_openmax_dl_fft)', | 930 'use_openmax_dl_fft%': '<(use_openmax_dl_fft)', |
941 | 931 |
942 # Enable new NPDevice API. | 932 # Enable new NPDevice API. |
943 'enable_new_npdevice_api%': 0, | 933 'enable_new_npdevice_api%': 0, |
944 | 934 |
945 # Enable EGLImage support in OpenMAX | 935 # Enable EGLImage support in OpenMAX |
946 'enable_eglimage%': 1, | 936 'enable_eglimage%': 1, |
947 | 937 |
948 # Enable a variable used elsewhere throughout the GYP files to determine | 938 # Enable a variable used elsewhere throughout the GYP files to determine |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1029 # Temporarily set android_build_type until all uses of it have been renamed. | 1019 # Temporarily set android_build_type until all uses of it have been renamed. |
1030 # http://crbug.com/184431 | 1020 # http://crbug.com/184431 |
1031 'android_build_type%': '<(android_webview_build)', | 1021 'android_build_type%': '<(android_webview_build)', |
1032 | 1022 |
1033 'sas_dll_exists': '<!(python <(DEPTH)/build/dir_exists.py <(sas_dll_path))', | 1023 'sas_dll_exists': '<!(python <(DEPTH)/build/dir_exists.py <(sas_dll_path))', |
1034 'wix_exists': '<!(python <(DEPTH)/build/dir_exists.py <(wix_path))', | 1024 'wix_exists': '<!(python <(DEPTH)/build/dir_exists.py <(wix_path))', |
1035 | 1025 |
1036 'windows_sdk_default_path': '<(DEPTH)/third_party/platformsdk_win8/files', | 1026 'windows_sdk_default_path': '<(DEPTH)/third_party/platformsdk_win8/files', |
1037 'directx_sdk_default_path': '<(DEPTH)/third_party/directxsdk/files', | 1027 'directx_sdk_default_path': '<(DEPTH)/third_party/directxsdk/files', |
1038 | 1028 |
1029 # Backward compatibility only, use arm_version. | |
1030 'armv7': 0, | |
Torne
2013/04/11 13:04:22
This shouldn't be necessary; this value will alway
Fredrik Öhrn
2013/04/11 13:42:19
I had to put it in or gyp would throw and undefine
| |
1031 | |
1039 # Whether we are using the rlz library or not. Platforms like Android send | 1032 # Whether we are using the rlz library or not. Platforms like Android send |
1040 # rlz codes for searches but do not use the library. | 1033 # rlz codes for searches but do not use the library. |
1041 'enable_rlz%': 0, | 1034 'enable_rlz%': 0, |
1042 | 1035 |
1043 'conditions': [ | 1036 'conditions': [ |
1044 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(windows_sdk_defa ult_path))"=="True"', { | 1037 ['OS=="win" and "<!(python <(DEPTH)/build/dir_exists.py <(windows_sdk_defa ult_path))"=="True"', { |
1045 'windows_sdk_path%': '<(windows_sdk_default_path)', | 1038 'windows_sdk_path%': '<(windows_sdk_default_path)', |
1046 }, { | 1039 }, { |
1047 'windows_sdk_path%': 'C:/Program Files (x86)/Windows Kits/8.0', | 1040 'windows_sdk_path%': 'C:/Program Files (x86)/Windows Kits/8.0', |
1048 }], | 1041 }], |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1167 # code compilation. | 1160 # code compilation. |
1168 'conditions': [ | 1161 'conditions': [ |
1169 ['target_arch == "ia32"', { | 1162 ['target_arch == "ia32"', { |
1170 'android_app_abi%': 'x86', | 1163 'android_app_abi%': 'x86', |
1171 'android_gdbserver%': '<(android_ndk_root)/prebuilt/android-x86/gd bserver/gdbserver', | 1164 'android_gdbserver%': '<(android_ndk_root)/prebuilt/android-x86/gd bserver/gdbserver', |
1172 'android_ndk_sysroot%': '<(android_ndk_root)/platforms/android-14/ arch-x86', | 1165 'android_ndk_sysroot%': '<(android_ndk_root)/platforms/android-14/ arch-x86', |
1173 'android_toolchain%': '<(android_ndk_root)/toolchains/x86-4.6/preb uilt/<(host_os)-<(android_host_arch)/bin', | 1166 'android_toolchain%': '<(android_ndk_root)/toolchains/x86-4.6/preb uilt/<(host_os)-<(android_host_arch)/bin', |
1174 }], | 1167 }], |
1175 ['target_arch=="arm"', { | 1168 ['target_arch=="arm"', { |
1176 'conditions': [ | 1169 'conditions': [ |
1177 ['armv7==0', { | 1170 ['arm_version<7', { |
1178 'android_app_abi%': 'armeabi', | 1171 'android_app_abi%': 'armeabi', |
1179 }, { | 1172 }, { |
1180 'android_app_abi%': 'armeabi-v7a', | 1173 'android_app_abi%': 'armeabi-v7a', |
1181 }], | 1174 }], |
1182 ], | 1175 ], |
1183 'android_gdbserver%': '<(android_ndk_root)/prebuilt/android-arm/gd bserver/gdbserver', | 1176 'android_gdbserver%': '<(android_ndk_root)/prebuilt/android-arm/gd bserver/gdbserver', |
1184 'android_ndk_sysroot%': '<(android_ndk_root)/platforms/android-14/ arch-arm', | 1177 'android_ndk_sysroot%': '<(android_ndk_root)/platforms/android-14/ arch-arm', |
1185 'android_toolchain%': '<(android_ndk_root)/toolchains/arm-linux-an droideabi-4.6/prebuilt/<(host_os)-<(android_host_arch)/bin', | 1178 'android_toolchain%': '<(android_ndk_root)/toolchains/arm-linux-an droideabi-4.6/prebuilt/<(host_os)-<(android_host_arch)/bin', |
1186 }], | 1179 }], |
1187 ], | 1180 ], |
(...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1586 'win_debug_InlineFunctionExpansion': 0, | 1579 'win_debug_InlineFunctionExpansion': 0, |
1587 'win_debug_OmitFramePointers': 0, | 1580 'win_debug_OmitFramePointers': 0, |
1588 # Keep the code under #ifndef NVALGRIND. | 1581 # Keep the code under #ifndef NVALGRIND. |
1589 'release_valgrind_build': 1, | 1582 'release_valgrind_build': 1, |
1590 }], | 1583 }], |
1591 | 1584 |
1592 # Enable RLZ on Win, Mac and ChromeOS. | 1585 # Enable RLZ on Win, Mac and ChromeOS. |
1593 ['branding=="Chrome" and (OS=="win" or OS=="mac" or chromeos==1)', { | 1586 ['branding=="Chrome" and (OS=="win" or OS=="mac" or chromeos==1)', { |
1594 'enable_rlz%': 1, | 1587 'enable_rlz%': 1, |
1595 }], | 1588 }], |
1589 | |
1590 ['android_webview_build==1', { | |
1591 # The WebView build gets its cpu-specific flags from the Android build s ystem. | |
1592 'arm_arch%': '', | |
1593 'arm_tune%': '', | |
1594 'arm_fpu%': '', | |
1595 'arm_float_abi%': '', | |
1596 'arm_thumb%': 0, | |
1597 }, { | |
1598 'conditions': [ | |
Torne
2013/04/11 13:04:22
I generally prefer not to use nested conditions se
| |
1599 # Set default compiler flags depending on ARM version. | |
1600 ['arm_version==5', { | |
1601 # Flags suitable for Android emulator | |
1602 'arm_arch%': 'armv5te', | |
1603 'arm_tune%': 'xscale', | |
1604 'arm_fpu%': '', | |
1605 'arm_float_abi%': 'soft', | |
1606 'arm_thumb%': 0, | |
1607 }], | |
1608 ['arm_version==6', { | |
1609 'arm_arch%': 'armv6', | |
1610 'arm_tune%': '', | |
1611 'arm_fpu%': '', | |
1612 'arm_float_abi%': 'soft', | |
1613 'arm_thumb%': 0, | |
1614 }], | |
1615 ['arm_version==7', { | |
1616 'arm_arch%': 'armv7-a', | |
1617 'arm_tune%': 'cortex-a8', | |
1618 'conditions': [ | |
1619 ['arm_neon==1', { | |
1620 'arm_fpu%': 'neon', | |
1621 }, { | |
1622 'arm_fpu%': 'vfpv3-d16', | |
1623 }], | |
1624 ], | |
1625 'arm_float_abi%': 'softfp', | |
1626 'arm_thumb%': 1, | |
1627 }], | |
1628 ], | |
1629 }], | |
1630 | |
1631 # Set armv7 for backward compatibility. | |
1632 ['arm_version==7', { | |
1633 'armv7': 1, | |
1634 }, { | |
1635 'armv7': 0, | |
1636 }], | |
1596 ], | 1637 ], |
1597 | 1638 |
1598 # List of default apps to install in new profiles. The first list contains | 1639 # List of default apps to install in new profiles. The first list contains |
1599 # the source files as found in svn. The second list, used only for linux, | 1640 # the source files as found in svn. The second list, used only for linux, |
1600 # contains the destination location for each of the files. When a crx | 1641 # contains the destination location for each of the files. When a crx |
1601 # is added or removed from the list, the chrome/browser/resources/ | 1642 # is added or removed from the list, the chrome/browser/resources/ |
1602 # default_apps/external_extensions.json file must also be updated. | 1643 # default_apps/external_extensions.json file must also be updated. |
1603 'default_apps_list': [ | 1644 'default_apps_list': [ |
1604 'browser/resources/default_apps/external_extensions.json', | 1645 'browser/resources/default_apps/external_extensions.json', |
1605 'browser/resources/default_apps/gmail.crx', | 1646 'browser/resources/default_apps/gmail.crx', |
(...skipping 1180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2786 'target_conditions': [ | 2827 'target_conditions': [ |
2787 ['_toolset=="target"', { | 2828 ['_toolset=="target"', { |
2788 'cflags_cc': [ | 2829 'cflags_cc': [ |
2789 # The codesourcery arm-2009q3 toolchain warns at that the ABI | 2830 # The codesourcery arm-2009q3 toolchain warns at that the ABI |
2790 # has changed whenever it encounters a varargs function. This | 2831 # has changed whenever it encounters a varargs function. This |
2791 # silences those warnings, as they are not helpful and | 2832 # silences those warnings, as they are not helpful and |
2792 # clutter legitimate warnings. | 2833 # clutter legitimate warnings. |
2793 '-Wno-abi', | 2834 '-Wno-abi', |
2794 ], | 2835 ], |
2795 'conditions': [ | 2836 'conditions': [ |
2796 ['arm_thumb==1 and android_webview_build==0', { | 2837 ['arm_arch!=""', { |
2838 'cflags': [ | |
2839 '-march=<(arm_arch)', | |
2840 ], | |
2841 }], | |
2842 ['arm_tune!=""', { | |
2843 'cflags': [ | |
2844 '-mtune=<(arm_tune)', | |
2845 ], | |
2846 }], | |
2847 ['arm_fpu!=""', { | |
2848 'cflags': [ | |
2849 '-mfpu=<(arm_fpu)', | |
2850 ], | |
2851 }], | |
2852 ['arm_float_abi!=""', { | |
2853 'cflags': [ | |
2854 '-mfloat-abi=<(arm_float_abi)', | |
2855 ], | |
2856 }], | |
2857 ['arm_thumb==1', { | |
2797 'cflags': [ | 2858 'cflags': [ |
2798 '-mthumb', | 2859 '-mthumb', |
2799 ] | 2860 ] |
2800 }], | 2861 }], |
2801 ['armv7==1 and android_webview_build==0', { | |
2802 'cflags': [ | |
2803 '-march=armv7-a', | |
2804 '-mtune=cortex-a8', | |
2805 '-mfloat-abi=<(arm_float_abi)', | |
2806 ], | |
2807 'conditions': [ | |
2808 ['arm_neon==1', { | |
2809 'cflags': [ '-mfpu=neon', ], | |
2810 }, { | |
2811 'cflags': [ '-mfpu=<(arm_fpu)', ], | |
2812 }], | |
2813 ], | |
2814 }], | |
2815 ['OS=="android"', { | 2862 ['OS=="android"', { |
2816 # Most of the following flags are derived from what Android | 2863 # Most of the following flags are derived from what Android |
2817 # uses by default when building for arm, reference for which | 2864 # uses by default when building for arm, reference for which |
2818 # can be found in the following file in the Android NDK: | 2865 # can be found in the following file in the Android NDK: |
2819 # toolchains/arm-linux-androideabi-4.4.3/setup.mk | 2866 # toolchains/arm-linux-androideabi-4.4.3/setup.mk |
2820 'cflags': [ | 2867 'cflags': [ |
2821 # The tree-sra optimization (scalar replacement for | 2868 # The tree-sra optimization (scalar replacement for |
2822 # aggregates enabling subsequent optimizations) leads to | 2869 # aggregates enabling subsequent optimizations) leads to |
2823 # invalid code generation when using the Android NDK's | 2870 # invalid code generation when using the Android NDK's |
2824 # compiler (r5-r7). This can be verified using | 2871 # compiler (r5-r7). This can be verified using |
2825 # TestWebKitAPI's WTF.Checked_int8_t test. | 2872 # TestWebKitAPI's WTF.Checked_int8_t test. |
2826 '-fno-tree-sra', | 2873 '-fno-tree-sra', |
2827 '-fuse-ld=gold', | 2874 '-fuse-ld=gold', |
2828 '-Wno-psabi', | 2875 '-Wno-psabi', |
2829 ], | 2876 ], |
2830 # Android now supports .relro sections properly. | 2877 # Android now supports .relro sections properly. |
2831 # NOTE: While these flags enable the generation of .relro | 2878 # NOTE: While these flags enable the generation of .relro |
2832 # sections, the generated libraries can still be loaded on | 2879 # sections, the generated libraries can still be loaded on |
2833 # older Android platform versions. | 2880 # older Android platform versions. |
2834 'ldflags': [ | 2881 'ldflags': [ |
2835 '-Wl,-z,relro', | 2882 '-Wl,-z,relro', |
2836 '-Wl,-z,now', | 2883 '-Wl,-z,now', |
2837 '-fuse-ld=gold', | 2884 '-fuse-ld=gold', |
2838 ], | 2885 ], |
2839 'conditions': [ | 2886 'conditions': [ |
2840 ['arm_thumb==1 and android_webview_build==0', { | 2887 ['arm_thumb==1', { |
2841 'cflags': [ '-mthumb-interwork' ], | 2888 'cflags': [ '-mthumb-interwork' ], |
2842 }], | 2889 }], |
2843 ['armv7==0 and android_webview_build==0', { | |
2844 # Flags suitable for Android emulator | |
Torne
2013/04/11 13:04:22
This block doesn't seem to have a replacement..
Fredrik Öhrn
2013/04/11 13:42:19
It's replaced by the arm_version==5 block on line
| |
2845 'cflags': [ | |
2846 '-march=armv5te', | |
2847 '-mtune=xscale', | |
2848 '-msoft-float', | |
2849 ], | |
2850 'defines': [ | |
2851 '__ARM_ARCH_5__', | |
2852 '__ARM_ARCH_5T__', | |
2853 '__ARM_ARCH_5E__', | |
2854 '__ARM_ARCH_5TE__', | |
2855 ], | |
2856 }], | |
2857 ['profiling==1', { | 2890 ['profiling==1', { |
2858 'cflags': [ | 2891 'cflags': [ |
2859 '-marm', # Probably reduntant, but recommend by "perf" docs. | 2892 '-marm', # Probably reduntant, but recommend by "perf" docs. |
2860 '-mapcs-frame', # Seems required by -fno-omit-frame-po inter. | 2893 '-mapcs-frame', # Seems required by -fno-omit-frame-po inter. |
2861 ], | 2894 ], |
2862 }], | 2895 }], |
2863 ['clang==1', { | 2896 ['clang==1', { |
2864 'cflags!': [ | 2897 'cflags!': [ |
2865 # Clang does not support the following options. | 2898 # Clang does not support the following options. |
2866 '-mthumb-interwork', | 2899 '-mthumb-interwork', |
(...skipping 1360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4227 # settings in target dicts. SYMROOT is a special case, because many other | 4260 # settings in target dicts. SYMROOT is a special case, because many other |
4228 # Xcode variables depend on it, including variables such as | 4261 # Xcode variables depend on it, including variables such as |
4229 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4262 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4230 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4263 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4231 # files to appear (when present) in the UI as actual files and not red | 4264 # files to appear (when present) in the UI as actual files and not red |
4232 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4265 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4233 # and therefore SYMROOT, needs to be set at the project level. | 4266 # and therefore SYMROOT, needs to be set at the project level. |
4234 'SYMROOT': '<(DEPTH)/xcodebuild', | 4267 'SYMROOT': '<(DEPTH)/xcodebuild', |
4235 }, | 4268 }, |
4236 } | 4269 } |
OLD | NEW |