| 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 'branding%': '<(branding)', | 148 'branding%': '<(branding)', |
| 149 'host_arch%': '<(host_arch)', | 149 'host_arch%': '<(host_arch)', |
| 150 'target_arch%': '<(target_arch)', | 150 'target_arch%': '<(target_arch)', |
| 151 | 151 |
| 152 'target_subarch%': '', | 152 'target_subarch%': '', |
| 153 | 153 |
| 154 # The channel to build on Android: stable, beta, dev, canary, or | 154 # The channel to build on Android: stable, beta, dev, canary, or |
| 155 # default. "default" should be used on non-official builds. | 155 # default. "default" should be used on non-official builds. |
| 156 'android_channel%': 'default', | 156 'android_channel%': 'default', |
| 157 | 157 |
| 158 # WebView now builds in a normal android build; don't use this. | |
| 159 # TODO(torne): remove this. http://crbug.com/440793 | |
| 160 'android_webview_build%': 0, | |
| 161 | |
| 162 # Set ARM architecture version. | 158 # Set ARM architecture version. |
| 163 'arm_version%': 7, | 159 'arm_version%': 7, |
| 164 | 160 |
| 165 # Use aurax11 for clipboard implementation. This is true on linux_aura. | 161 # Use aurax11 for clipboard implementation. This is true on linux_aura. |
| 166 'use_clipboard_aurax11%': 0, | 162 'use_clipboard_aurax11%': 0, |
| 167 | 163 |
| 168 # goma settings. | 164 # goma settings. |
| 169 # 1 to use goma. | 165 # 1 to use goma. |
| 170 # If no gomadir is set, it uses the default gomadir. | 166 # If no gomadir is set, it uses the default gomadir. |
| 171 'use_goma%': 0, | 167 'use_goma%': 0, |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 'use_libpci%': '<(use_libpci)', | 279 'use_libpci%': '<(use_libpci)', |
| 284 'use_ozone%': '<(use_ozone)', | 280 'use_ozone%': '<(use_ozone)', |
| 285 'use_ozone_evdev%': '<(use_ozone_evdev)', | 281 'use_ozone_evdev%': '<(use_ozone_evdev)', |
| 286 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', | 282 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', |
| 287 'embedded%': '<(embedded)', | 283 'embedded%': '<(embedded)', |
| 288 'use_openssl%': '<(use_openssl)', | 284 'use_openssl%': '<(use_openssl)', |
| 289 'use_openssl_certs%': '<(use_openssl_certs)', | 285 'use_openssl_certs%': '<(use_openssl_certs)', |
| 290 'enable_viewport%': '<(enable_viewport)', | 286 'enable_viewport%': '<(enable_viewport)', |
| 291 'enable_hidpi%': '<(enable_hidpi)', | 287 'enable_hidpi%': '<(enable_hidpi)', |
| 292 'android_channel%': '<(android_channel)', | 288 'android_channel%': '<(android_channel)', |
| 293 'android_webview_build%': '<(android_webview_build)', | |
| 294 'use_goma%': '<(use_goma)', | 289 'use_goma%': '<(use_goma)', |
| 295 'gomadir%': '<(gomadir)', | 290 'gomadir%': '<(gomadir)', |
| 296 'enable_app_list%': '<(enable_app_list)', | 291 'enable_app_list%': '<(enable_app_list)', |
| 297 'use_default_render_theme%': '<(use_default_render_theme)', | 292 'use_default_render_theme%': '<(use_default_render_theme)', |
| 298 'buildtype%': '<(buildtype)', | 293 'buildtype%': '<(buildtype)', |
| 299 'branding%': '<(branding)', | 294 'branding%': '<(branding)', |
| 300 'arm_version%': '<(arm_version)', | 295 'arm_version%': '<(arm_version)', |
| 301 'sysroot%': '<(sysroot)', | 296 'sysroot%': '<(sysroot)', |
| 302 'chroot_cmd%': '<(chroot_cmd)', | 297 'chroot_cmd%': '<(chroot_cmd)', |
| 303 'system_libdir%': '<(system_libdir)', | 298 'system_libdir%': '<(system_libdir)', |
| (...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 657 # Control Flow Integrity for casts. | 652 # Control Flow Integrity for casts. |
| 658 # See http://clang.llvm.org/docs/ControlFlowIntegrity.html | 653 # See http://clang.llvm.org/docs/ControlFlowIntegrity.html |
| 659 'cfi_derived_cast%': 0, | 654 'cfi_derived_cast%': 0, |
| 660 'cfi_unrelated_cast%': 0, | 655 'cfi_unrelated_cast%': 0, |
| 661 | 656 |
| 662 'cfi_blacklist%': '<(PRODUCT_DIR)/../../tools/cfi/blacklist.txt', | 657 'cfi_blacklist%': '<(PRODUCT_DIR)/../../tools/cfi/blacklist.txt', |
| 663 | 658 |
| 664 # Whether the entire browser uses toolkit-views on Mac instead of Cocoa. | 659 # Whether the entire browser uses toolkit-views on Mac instead of Cocoa. |
| 665 'mac_views_browser%': 0, | 660 'mac_views_browser%': 0, |
| 666 | 661 |
| 662 # By default, use ICU data file (icudtl.dat). |
| 663 'icu_use_data_file_flag%': 1, |
| 664 |
| 665 # Turn on JNI generation optimizations by default. |
| 666 'optimize_jni_generation%': 1, |
| 667 |
| 667 'conditions': [ | 668 'conditions': [ |
| 668 # A flag for POSIX platforms | 669 # A flag for POSIX platforms |
| 669 ['OS=="win"', { | 670 ['OS=="win"', { |
| 670 'os_posix%': 0, | 671 'os_posix%': 0, |
| 671 }, { | 672 }, { |
| 672 'os_posix%': 1, | 673 'os_posix%': 1, |
| 673 }], | 674 }], |
| 674 | 675 |
| 675 # A flag for BSD platforms | 676 # A flag for BSD platforms |
| 676 ['OS=="freebsd" or OS=="openbsd"', { | 677 ['OS=="freebsd" or OS=="openbsd"', { |
| (...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 987 'v8_optimized_debug%': 2, | 988 'v8_optimized_debug%': 2, |
| 988 }], | 989 }], |
| 989 | 990 |
| 990 # Disable various features by default on embedded. | 991 # Disable various features by default on embedded. |
| 991 ['embedded==1', { | 992 ['embedded==1', { |
| 992 'remoting%': 0, | 993 'remoting%': 0, |
| 993 'enable_basic_printing%': 0, | 994 'enable_basic_printing%': 0, |
| 994 'enable_print_preview%': 0, | 995 'enable_print_preview%': 0, |
| 995 }], | 996 }], |
| 996 | 997 |
| 997 # By default, use ICU data file (icudtl.dat) on all platforms | |
| 998 # except when building Android WebView. | |
| 999 # TODO(jshin): Handle 'use_system_icu' on Linux (Chromium). | |
| 1000 # Set the data reduction proxy origin for Android Webview. | |
| 1001 ['android_webview_build==0', { | |
| 1002 'icu_use_data_file_flag%' : 1, | |
| 1003 }, { | |
| 1004 'icu_use_data_file_flag%' : 0, | |
| 1005 }], | |
| 1006 ['OS=="win" or OS=="mac"', { | 998 ['OS=="win" or OS=="mac"', { |
| 1007 'enable_wifi_bootstrapping%' : 1, | 999 'enable_wifi_bootstrapping%' : 1, |
| 1008 }], | 1000 }], |
| 1009 | 1001 |
| 1010 # Path to sas.dll, which provides the SendSAS function. | 1002 # Path to sas.dll, which provides the SendSAS function. |
| 1011 # http://msdn.microsoft.com/en-us/library/windows/desktop/dd979761(v=vs.
85).aspx | 1003 # http://msdn.microsoft.com/en-us/library/windows/desktop/dd979761(v=vs.
85).aspx |
| 1012 ['target_arch=="x64"', { | 1004 ['target_arch=="x64"', { |
| 1013 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/a
md64', | 1005 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/a
md64', |
| 1014 }, { | 1006 }, { |
| 1015 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/x
86', | 1007 'sas_dll_path%': '<(DEPTH)/third_party/platformsdk_win7/files/redist/x
86', |
| 1016 }], | 1008 }], |
| 1017 | |
| 1018 # Turn on JNI generation optimizations on non-WebView builds. | |
| 1019 ['OS=="android" and android_webview_build==0', { | |
| 1020 'optimize_jni_generation%': 1, | |
| 1021 }, { | |
| 1022 'optimize_jni_generation%': 0, | |
| 1023 }], | |
| 1024 ], | 1009 ], |
| 1025 | 1010 |
| 1026 # Setting this to '0' will cause V8's startup snapshot to be | 1011 # Setting this to '0' will cause V8's startup snapshot to be |
| 1027 # embedded in the binary instead of being a external files. | 1012 # embedded in the binary instead of being a external files. |
| 1028 'v8_use_external_startup_data%': 1, | 1013 'v8_use_external_startup_data%': 1, |
| 1029 | 1014 |
| 1030 # Set this to 1 to enable use of concatenated impulse responses | 1015 # Set this to 1 to enable use of concatenated impulse responses |
| 1031 # for the HRTF panner in WebAudio. | 1016 # for the HRTF panner in WebAudio. |
| 1032 'use_concatenated_impulse_responses': 1, | 1017 'use_concatenated_impulse_responses': 1, |
| 1033 | 1018 |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1198 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', | 1183 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', |
| 1199 'disable_file_support%': '<(disable_file_support)', | 1184 'disable_file_support%': '<(disable_file_support)', |
| 1200 'disable_ftp_support%': '<(disable_ftp_support)', | 1185 'disable_ftp_support%': '<(disable_ftp_support)', |
| 1201 'use_icu_alternatives_on_android%': '<(use_icu_alternatives_on_android)', | 1186 'use_icu_alternatives_on_android%': '<(use_icu_alternatives_on_android)', |
| 1202 'enable_task_manager%': '<(enable_task_manager)', | 1187 'enable_task_manager%': '<(enable_task_manager)', |
| 1203 'sas_dll_path%': '<(sas_dll_path)', | 1188 'sas_dll_path%': '<(sas_dll_path)', |
| 1204 'wix_path%': '<(wix_path)', | 1189 'wix_path%': '<(wix_path)', |
| 1205 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', | 1190 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', |
| 1206 'use_system_libjpeg%': '<(use_system_libjpeg)', | 1191 'use_system_libjpeg%': '<(use_system_libjpeg)', |
| 1207 'android_channel%': '<(android_channel)', | 1192 'android_channel%': '<(android_channel)', |
| 1208 'android_webview_build%': '<(android_webview_build)', | |
| 1209 'icu_use_data_file_flag%': '<(icu_use_data_file_flag)', | 1193 'icu_use_data_file_flag%': '<(icu_use_data_file_flag)', |
| 1210 'gyp_managed_install%': 0, | 1194 'gyp_managed_install%': 0, |
| 1211 'create_standalone_apk%': 1, | 1195 'create_standalone_apk%': 1, |
| 1212 'enable_app_list%': '<(enable_app_list)', | 1196 'enable_app_list%': '<(enable_app_list)', |
| 1213 'use_default_render_theme%': '<(use_default_render_theme)', | 1197 'use_default_render_theme%': '<(use_default_render_theme)', |
| 1214 'enable_settings_app%': '<(enable_settings_app)', | 1198 'enable_settings_app%': '<(enable_settings_app)', |
| 1215 'google_api_key%': '<(google_api_key)', | 1199 'google_api_key%': '<(google_api_key)', |
| 1216 'google_default_client_id%': '<(google_default_client_id)', | 1200 'google_default_client_id%': '<(google_default_client_id)', |
| 1217 'google_default_client_secret%': '<(google_default_client_secret)', | 1201 'google_default_client_secret%': '<(google_default_client_secret)', |
| 1218 'enable_supervised_users%': '<(enable_supervised_users)', | 1202 'enable_supervised_users%': '<(enable_supervised_users)', |
| (...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1813 | 1797 |
| 1814 # Sessions are store separately in the Java side. | 1798 # Sessions are store separately in the Java side. |
| 1815 'enable_session_service%': 0, | 1799 'enable_session_service%': 0, |
| 1816 | 1800 |
| 1817 'p2p_apis%' : 0, | 1801 'p2p_apis%' : 0, |
| 1818 | 1802 |
| 1819 'gtest_target_type%': 'shared_library', | 1803 'gtest_target_type%': 'shared_library', |
| 1820 | 1804 |
| 1821 # Uses system APIs for decoding audio and video. | 1805 # Uses system APIs for decoding audio and video. |
| 1822 'use_libffmpeg%': '0', | 1806 'use_libffmpeg%': '0', |
| 1823 | |
| 1824 # TODO(torne): Remove this unsupported option once all the places that | |
| 1825 # test it have been updated. | |
| 1826 'use_system_stlport%': 0, | |
| 1827 | |
| 1828 # Copy it out one scope. | |
| 1829 'android_webview_build%': '<(android_webview_build)', | |
| 1830 }], # OS=="android" | 1807 }], # OS=="android" |
| 1831 ['embedded==1', { | 1808 ['embedded==1', { |
| 1832 'use_system_fontconfig%': 0, | 1809 'use_system_fontconfig%': 0, |
| 1833 }, { | 1810 }, { |
| 1834 'use_system_fontconfig%': 1, | 1811 'use_system_fontconfig%': 1, |
| 1835 }], | 1812 }], |
| 1836 ['chromecast==1', { | 1813 ['chromecast==1', { |
| 1837 'enable_mpeg2ts_stream_parser%': 1, | 1814 'enable_mpeg2ts_stream_parser%': 1, |
| 1838 'ffmpeg_branding%': 'ChromeOS', | 1815 'ffmpeg_branding%': 'ChromeOS', |
| 1839 'ozone_platform_ozonex%': 1, | 1816 'ozone_platform_ozonex%': 1, |
| (...skipping 4260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6100 # settings in target dicts. SYMROOT is a special case, because many other | 6077 # settings in target dicts. SYMROOT is a special case, because many other |
| 6101 # Xcode variables depend on it, including variables such as | 6078 # Xcode variables depend on it, including variables such as |
| 6102 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6079 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 6103 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6080 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 6104 # files to appear (when present) in the UI as actual files and not red | 6081 # files to appear (when present) in the UI as actual files and not red |
| 6105 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6082 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 6106 # and therefore SYMROOT, needs to be set at the project level. | 6083 # and therefore SYMROOT, needs to be set at the project level. |
| 6107 'SYMROOT': '<(DEPTH)/xcodebuild', | 6084 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 6108 }, | 6085 }, |
| 6109 } | 6086 } |
| OLD | NEW |