| 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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 'target_arch%': '<(target_arch)', | 146 'target_arch%': '<(target_arch)', |
| 147 | 147 |
| 148 'target_subarch%': '', | 148 'target_subarch%': '', |
| 149 | 149 |
| 150 # This is set when building the Android WebView inside the Android | 150 # This is set when building the Android WebView inside the Android |
| 151 # build system, using the 'android' gyp backend. The WebView code is | 151 # build system, using the 'android' gyp backend. The WebView code is |
| 152 # still built when this is unset, but builds using the normal chromium | 152 # still built when this is unset, but builds using the normal chromium |
| 153 # build system. | 153 # build system. |
| 154 'android_webview_build%': 0, | 154 'android_webview_build%': 0, |
| 155 | 155 |
| 156 # This is set when building the Android WebView in ninja for the |
| 157 # telemetry bot. |
| 158 'android_webview_telemetry_build%': 0, |
| 159 |
| 156 # Set ARM architecture version. | 160 # Set ARM architecture version. |
| 157 'arm_version%': 7, | 161 'arm_version%': 7, |
| 158 | 162 |
| 159 # Use aurax11 for clipboard implementation. This is true on linux_aura. | 163 # Use aurax11 for clipboard implementation. This is true on linux_aura. |
| 160 'use_clipboard_aurax11%': 0, | 164 'use_clipboard_aurax11%': 0, |
| 161 | 165 |
| 162 # goma settings. | 166 # goma settings. |
| 163 # 1 to use goma. | 167 # 1 to use goma. |
| 164 # If no gomadir is set, it uses the default gomadir. | 168 # If no gomadir is set, it uses the default gomadir. |
| 165 'use_goma%': 0, | 169 'use_goma%': 0, |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 'use_cras%': '<(use_cras)', | 254 'use_cras%': '<(use_cras)', |
| 251 'use_ozone%': '<(use_ozone)', | 255 'use_ozone%': '<(use_ozone)', |
| 252 'use_ozone_evdev%': '<(use_ozone_evdev)', | 256 'use_ozone_evdev%': '<(use_ozone_evdev)', |
| 253 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', | 257 'use_clipboard_aurax11%': '<(use_clipboard_aurax11)', |
| 254 'embedded%': '<(embedded)', | 258 'embedded%': '<(embedded)', |
| 255 'use_openssl%': '<(use_openssl)', | 259 'use_openssl%': '<(use_openssl)', |
| 256 'use_openssl_certs%': '<(use_openssl_certs)', | 260 'use_openssl_certs%': '<(use_openssl_certs)', |
| 257 'enable_viewport%': '<(enable_viewport)', | 261 'enable_viewport%': '<(enable_viewport)', |
| 258 'enable_hidpi%': '<(enable_hidpi)', | 262 'enable_hidpi%': '<(enable_hidpi)', |
| 259 'android_webview_build%': '<(android_webview_build)', | 263 'android_webview_build%': '<(android_webview_build)', |
| 264 'android_webview_telemetry_build%': '<(android_webview_telemetry_build)', |
| 260 'use_goma%': '<(use_goma)', | 265 'use_goma%': '<(use_goma)', |
| 261 'gomadir%': '<(gomadir)', | 266 'gomadir%': '<(gomadir)', |
| 262 'enable_app_list%': '<(enable_app_list)', | 267 'enable_app_list%': '<(enable_app_list)', |
| 263 'use_default_render_theme%': '<(use_default_render_theme)', | 268 'use_default_render_theme%': '<(use_default_render_theme)', |
| 264 'buildtype%': '<(buildtype)', | 269 'buildtype%': '<(buildtype)', |
| 265 'branding%': '<(branding)', | 270 'branding%': '<(branding)', |
| 266 'arm_version%': '<(arm_version)', | 271 'arm_version%': '<(arm_version)', |
| 267 'sysroot%': '<(sysroot)', | 272 'sysroot%': '<(sysroot)', |
| 268 'chroot_cmd%': '<(chroot_cmd)', | 273 'chroot_cmd%': '<(chroot_cmd)', |
| 269 'system_libdir%': '<(system_libdir)', | 274 'system_libdir%': '<(system_libdir)', |
| (...skipping 653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 923 # Disable various features by default on embedded. | 928 # Disable various features by default on embedded. |
| 924 ['embedded==1', { | 929 ['embedded==1', { |
| 925 'remoting%': 0, | 930 'remoting%': 0, |
| 926 'enable_printing%': 0, | 931 'enable_printing%': 0, |
| 927 }], | 932 }], |
| 928 | 933 |
| 929 # By default, use ICU data file (icudtl.dat) on all platforms | 934 # By default, use ICU data file (icudtl.dat) on all platforms |
| 930 # except when building Android WebView or Chromecast. | 935 # except when building Android WebView or Chromecast. |
| 931 # TODO(jshin): Handle 'use_system_icu' on Linux (Chromium). | 936 # TODO(jshin): Handle 'use_system_icu' on Linux (Chromium). |
| 932 # Set the data reduction proxy origin for Android Webview. | 937 # Set the data reduction proxy origin for Android Webview. |
| 933 ['android_webview_build==0 and chromecast==0', { | 938 ['android_webview_build==0 and android_webview_telemetry_build==0 and ch
romecast==0', { |
| 934 'icu_use_data_file_flag%' : 1, | 939 'icu_use_data_file_flag%' : 1, |
| 935 'spdy_proxy_auth_origin%': '', | 940 'spdy_proxy_auth_origin%': '', |
| 936 'data_reduction_proxy_probe_url%': '', | 941 'data_reduction_proxy_probe_url%': '', |
| 937 'data_reduction_proxy_warmup_url%': '', | 942 'data_reduction_proxy_warmup_url%': '', |
| 938 'data_reduction_dev_host%': '', | 943 'data_reduction_dev_host%': '', |
| 939 'data_reduction_fallback_host%': '', | 944 'data_reduction_fallback_host%': '', |
| 940 }, { | 945 }, { |
| 941 'icu_use_data_file_flag%' : 0, | 946 'icu_use_data_file_flag%' : 0, |
| 942 'spdy_proxy_auth_origin%': 'https://proxy.googlezip.net:443/', | 947 'spdy_proxy_auth_origin%': 'https://proxy.googlezip.net:443/', |
| 943 'data_reduction_proxy_probe_url%': 'http://check.googlezip.net/connect
', | 948 'data_reduction_proxy_probe_url%': 'http://check.googlezip.net/connect
', |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1107 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', | 1112 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', |
| 1108 'disable_file_support%': '<(disable_file_support)', | 1113 'disable_file_support%': '<(disable_file_support)', |
| 1109 'disable_ftp_support%': '<(disable_ftp_support)', | 1114 'disable_ftp_support%': '<(disable_ftp_support)', |
| 1110 'use_icu_alternatives_on_android%': '<(use_icu_alternatives_on_android)', | 1115 'use_icu_alternatives_on_android%': '<(use_icu_alternatives_on_android)', |
| 1111 'enable_task_manager%': '<(enable_task_manager)', | 1116 'enable_task_manager%': '<(enable_task_manager)', |
| 1112 'sas_dll_path%': '<(sas_dll_path)', | 1117 'sas_dll_path%': '<(sas_dll_path)', |
| 1113 'wix_path%': '<(wix_path)', | 1118 'wix_path%': '<(wix_path)', |
| 1114 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', | 1119 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', |
| 1115 'use_system_libjpeg%': '<(use_system_libjpeg)', | 1120 'use_system_libjpeg%': '<(use_system_libjpeg)', |
| 1116 'android_webview_build%': '<(android_webview_build)', | 1121 'android_webview_build%': '<(android_webview_build)', |
| 1122 'android_webview_telemetry_build%': '<(android_webview_telemetry_build)', |
| 1117 'icu_use_data_file_flag%': '<(icu_use_data_file_flag)', | 1123 'icu_use_data_file_flag%': '<(icu_use_data_file_flag)', |
| 1118 'gyp_managed_install%': 0, | 1124 'gyp_managed_install%': 0, |
| 1119 'create_standalone_apk%': 1, | 1125 'create_standalone_apk%': 1, |
| 1120 'enable_app_list%': '<(enable_app_list)', | 1126 'enable_app_list%': '<(enable_app_list)', |
| 1121 'use_default_render_theme%': '<(use_default_render_theme)', | 1127 'use_default_render_theme%': '<(use_default_render_theme)', |
| 1122 'enable_settings_app%': '<(enable_settings_app)', | 1128 'enable_settings_app%': '<(enable_settings_app)', |
| 1123 'google_api_key%': '<(google_api_key)', | 1129 'google_api_key%': '<(google_api_key)', |
| 1124 'google_default_client_id%': '<(google_default_client_id)', | 1130 'google_default_client_id%': '<(google_default_client_id)', |
| 1125 'google_default_client_secret%': '<(google_default_client_secret)', | 1131 'google_default_client_secret%': '<(google_default_client_secret)', |
| 1126 'enable_managed_users%': '<(enable_managed_users)', | 1132 'enable_managed_users%': '<(enable_managed_users)', |
| (...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1765 'conditions': [ | 1771 'conditions': [ |
| 1766 ['target_arch=="arm"', { | 1772 ['target_arch=="arm"', { |
| 1767 'arm_arch%': '', | 1773 'arm_arch%': '', |
| 1768 'arm_tune%': 'cortex-a9', | 1774 'arm_tune%': 'cortex-a9', |
| 1769 'arm_thumb%': 1, | 1775 'arm_thumb%': 1, |
| 1770 'enable_mpeg2ts_stream_parser%': 1, | 1776 'enable_mpeg2ts_stream_parser%': 1, |
| 1771 'video_hole%': 1, | 1777 'video_hole%': 1, |
| 1772 }], | 1778 }], |
| 1773 ], | 1779 ], |
| 1774 }], | 1780 }], |
| 1775 ['android_webview_build==1', { | 1781 ['android_webview_build==1 or android_webview_telemetry_build==1', { |
| 1776 # When building the WebView in the Android tree, jarjar will remap all | 1782 # When building the WebView in the Android tree, jarjar will remap all |
| 1777 # the class names, so the JNI generator needs to know this. | 1783 # the class names, so the JNI generator needs to know this. |
| 1778 'jni_generator_jarjar_file': '../android_webview/build/jarjar-rules.txt'
, | 1784 'jni_generator_jarjar_file': '../android_webview/build/jarjar-rules.txt'
, |
| 1779 }], | 1785 }], |
| 1780 ['OS=="linux"', { | 1786 ['OS=="linux"', { |
| 1781 # TODO(thakis): This is here to measure perf for a while. | 1787 # TODO(thakis): This is here to measure perf for a while. |
| 1782 'clang%': 1, | 1788 'clang%': 1, |
| 1783 }], # OS=="mac" | 1789 }], # OS=="mac" |
| 1784 ['OS=="mac"', { | 1790 ['OS=="mac"', { |
| 1785 'conditions': [ | 1791 'conditions': [ |
| (...skipping 3830 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5616 # settings in target dicts. SYMROOT is a special case, because many other | 5622 # settings in target dicts. SYMROOT is a special case, because many other |
| 5617 # Xcode variables depend on it, including variables such as | 5623 # Xcode variables depend on it, including variables such as |
| 5618 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5624 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 5619 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5625 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 5620 # files to appear (when present) in the UI as actual files and not red | 5626 # files to appear (when present) in the UI as actual files and not red |
| 5621 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5627 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 5622 # and therefore SYMROOT, needs to be set at the project level. | 5628 # and therefore SYMROOT, needs to be set at the project level. |
| 5623 'SYMROOT': '<(DEPTH)/xcodebuild', | 5629 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 5624 }, | 5630 }, |
| 5625 } | 5631 } |
| OLD | NEW |