Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(114)

Side by Side Diff: build/common.gypi

Issue 338723002: Add probe to warm data reduction proxy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/net/chrome_network_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 555
556 # Platform sends memory pressure signals natively. 556 # Platform sends memory pressure signals natively.
557 'native_memory_pressure_signals%': 0, 557 'native_memory_pressure_signals%': 0,
558 558
559 'data_reduction_fallback_host%' : '', 559 'data_reduction_fallback_host%' : '',
560 'data_reduction_dev_host%' : '', 560 'data_reduction_dev_host%' : '',
561 'spdy_proxy_auth_origin%' : '', 561 'spdy_proxy_auth_origin%' : '',
562 'spdy_proxy_auth_property%' : '', 562 'spdy_proxy_auth_property%' : '',
563 'spdy_proxy_auth_value%' : '', 563 'spdy_proxy_auth_value%' : '',
564 'data_reduction_proxy_probe_url%' : '', 564 'data_reduction_proxy_probe_url%' : '',
565 'data_reduction_proxy_warmup_url%' : '',
565 'data_reduction_proxy_ssl_origin%' : '', 566 'data_reduction_proxy_ssl_origin%' : '',
566 'data_reduction_proxy_alt_origin%' : '', 567 'data_reduction_proxy_alt_origin%' : '',
567 'data_reduction_proxy_alt_fallback_origin%' : '', 568 'data_reduction_proxy_alt_fallback_origin%' : '',
568 'enable_mdns%' : 0, 569 'enable_mdns%' : 0,
569 'enable_service_discovery%': 0, 570 'enable_service_discovery%': 0,
570 'enable_wifi_bootstrapping%': 0, 571 'enable_wifi_bootstrapping%': 0,
571 'enable_hangout_services_extension%': 0, 572 'enable_hangout_services_extension%': 0,
572 573
573 # Enable the Syzygy optimization step. 574 # Enable the Syzygy optimization step.
574 'syzygy_optimize%': 0, 575 'syzygy_optimize%': 0,
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
918 }], 919 }],
919 920
920 # By default, use ICU data file (icudtl.dat) on all platforms 921 # By default, use ICU data file (icudtl.dat) on all platforms
921 # except when building Android WebView. 922 # except when building Android WebView.
922 # TODO(jshin): Handle 'use_system_icu' on Linux (Chromium). 923 # TODO(jshin): Handle 'use_system_icu' on Linux (Chromium).
923 # Set the data reduction proxy origin for Android Webview. 924 # Set the data reduction proxy origin for Android Webview.
924 ['android_webview_build==0', { 925 ['android_webview_build==0', {
925 'icu_use_data_file_flag%' : 1, 926 'icu_use_data_file_flag%' : 1,
926 'spdy_proxy_auth_origin%': '', 927 'spdy_proxy_auth_origin%': '',
927 'data_reduction_proxy_probe_url%': '', 928 'data_reduction_proxy_probe_url%': '',
929 'data_reduction_proxy_warmup_url%': '',
928 'data_reduction_dev_host%': '', 930 'data_reduction_dev_host%': '',
929 'data_reduction_fallback_host%': '', 931 'data_reduction_fallback_host%': '',
930 }, { 932 }, {
931 'icu_use_data_file_flag%' : 0, 933 'icu_use_data_file_flag%' : 0,
932 'spdy_proxy_auth_origin%': 'https://proxy.googlezip.net:443/', 934 'spdy_proxy_auth_origin%': 'https://proxy.googlezip.net:443/',
933 'data_reduction_proxy_probe_url%': 'http://check.googlezip.net/connect ', 935 'data_reduction_proxy_probe_url%': 'http://check.googlezip.net/connect ',
936 'data_reduction_proxy_warmup_url%': 'http://www.gstatic.com/generate_2 04',
934 'data_reduction_dev_host%': 'http://proxy-dev.googlezip.net:80/', 937 'data_reduction_dev_host%': 'http://proxy-dev.googlezip.net:80/',
935 'data_reduction_fallback_host%': 'http://compress.googlezip.net:80/', 938 'data_reduction_fallback_host%': 'http://compress.googlezip.net:80/',
936 }], 939 }],
937 ['OS=="win" or OS=="mac"', { 940 ['OS=="win" or OS=="mac"', {
938 'enable_wifi_bootstrapping%' : 1, 941 'enable_wifi_bootstrapping%' : 1,
939 }], 942 }],
940 ], 943 ],
941 944
942 # Set this to 1 to enable use of concatenated impulse responses 945 # Set this to 1 to enable use of concatenated impulse responses
943 # for the HRTF panner in WebAudio. 946 # for the HRTF panner in WebAudio.
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
1111 'google_default_client_secret%': '<(google_default_client_secret)', 1114 'google_default_client_secret%': '<(google_default_client_secret)',
1112 'enable_managed_users%': '<(enable_managed_users)', 1115 'enable_managed_users%': '<(enable_managed_users)',
1113 'native_discardable_memory%': '<(native_discardable_memory)', 1116 'native_discardable_memory%': '<(native_discardable_memory)',
1114 'native_memory_pressure_signals%': '<(native_memory_pressure_signals)', 1117 'native_memory_pressure_signals%': '<(native_memory_pressure_signals)',
1115 'data_reduction_fallback_host%': '<(data_reduction_fallback_host)', 1118 'data_reduction_fallback_host%': '<(data_reduction_fallback_host)',
1116 'data_reduction_dev_host%': '<(data_reduction_dev_host)', 1119 'data_reduction_dev_host%': '<(data_reduction_dev_host)',
1117 'spdy_proxy_auth_origin%': '<(spdy_proxy_auth_origin)', 1120 'spdy_proxy_auth_origin%': '<(spdy_proxy_auth_origin)',
1118 'spdy_proxy_auth_property%': '<(spdy_proxy_auth_property)', 1121 'spdy_proxy_auth_property%': '<(spdy_proxy_auth_property)',
1119 'spdy_proxy_auth_value%': '<(spdy_proxy_auth_value)', 1122 'spdy_proxy_auth_value%': '<(spdy_proxy_auth_value)',
1120 'data_reduction_proxy_probe_url%': '<(data_reduction_proxy_probe_url)', 1123 'data_reduction_proxy_probe_url%': '<(data_reduction_proxy_probe_url)',
1124 'data_reduction_proxy_warmup_url%': '<(data_reduction_proxy_warmup_url)',
1121 'data_reduction_proxy_ssl_origin%' : '<(data_reduction_proxy_ssl_origin)', 1125 'data_reduction_proxy_ssl_origin%' : '<(data_reduction_proxy_ssl_origin)',
1122 'data_reduction_proxy_alt_origin%' : '<(data_reduction_proxy_alt_origin)', 1126 'data_reduction_proxy_alt_origin%' : '<(data_reduction_proxy_alt_origin)',
1123 'data_reduction_proxy_alt_fallback_origin%' : '<(data_reduction_proxy_alt_fa llback_origin)', 1127 'data_reduction_proxy_alt_fallback_origin%' : '<(data_reduction_proxy_alt_fa llback_origin)',
1124 'enable_mdns%' : '<(enable_mdns)', 1128 'enable_mdns%' : '<(enable_mdns)',
1125 'enable_service_discovery%' : '<(enable_service_discovery)', 1129 'enable_service_discovery%' : '<(enable_service_discovery)',
1126 'enable_wifi_bootstrapping%': '<(enable_wifi_bootstrapping)', 1130 'enable_wifi_bootstrapping%': '<(enable_wifi_bootstrapping)',
1127 'enable_hangout_services_extension%' : '<(enable_hangout_services_extension) ', 1131 'enable_hangout_services_extension%' : '<(enable_hangout_services_extension) ',
1128 'v8_optimized_debug%': '<(v8_optimized_debug)', 1132 'v8_optimized_debug%': '<(v8_optimized_debug)',
1129 'proprietary_codecs%': '<(proprietary_codecs)', 1133 'proprietary_codecs%': '<(proprietary_codecs)',
1130 'use_goma%': '<(use_goma)', 1134 'use_goma%': '<(use_goma)',
(...skipping 1611 matching lines...) Expand 10 before | Expand all | Expand 10 after
2742 ['spdy_proxy_auth_property != ""', { 2746 ['spdy_proxy_auth_property != ""', {
2743 'defines': ['SPDY_PROXY_AUTH_PROPERTY="<(spdy_proxy_auth_property)"'], 2747 'defines': ['SPDY_PROXY_AUTH_PROPERTY="<(spdy_proxy_auth_property)"'],
2744 }], 2748 }],
2745 ['spdy_proxy_auth_value != ""', { 2749 ['spdy_proxy_auth_value != ""', {
2746 'defines': ['SPDY_PROXY_AUTH_VALUE="<(spdy_proxy_auth_value)"'], 2750 'defines': ['SPDY_PROXY_AUTH_VALUE="<(spdy_proxy_auth_value)"'],
2747 }], 2751 }],
2748 ['data_reduction_proxy_probe_url != ""', { 2752 ['data_reduction_proxy_probe_url != ""', {
2749 'defines': [ 2753 'defines': [
2750 'DATA_REDUCTION_PROXY_PROBE_URL="<(data_reduction_proxy_probe_url)"'], 2754 'DATA_REDUCTION_PROXY_PROBE_URL="<(data_reduction_proxy_probe_url)"'],
2751 }], 2755 }],
2756 ['data_reduction_proxy_warmup_url != ""', {
2757 'defines': [
2758 'DATA_REDUCTION_PROXY_WARMUP_URL="<(data_reduction_proxy_warmup_url)"' ],
2759 }],
2752 ['data_reduction_proxy_ssl_origin != ""', { 2760 ['data_reduction_proxy_ssl_origin != ""', {
2753 'defines': [ 2761 'defines': [
2754 'DATA_REDUCTION_PROXY_SSL_ORIGIN="<(data_reduction_proxy_ssl_origin)"' ], 2762 'DATA_REDUCTION_PROXY_SSL_ORIGIN="<(data_reduction_proxy_ssl_origin)"' ],
2755 }], 2763 }],
2756 ['data_reduction_proxy_alt_origin != ""', { 2764 ['data_reduction_proxy_alt_origin != ""', {
2757 'defines': [ 2765 'defines': [
2758 'DATA_REDUCTION_PROXY_ALT_ORIGIN="<(data_reduction_proxy_alt_origin)"' ], 2766 'DATA_REDUCTION_PROXY_ALT_ORIGIN="<(data_reduction_proxy_alt_origin)"' ],
2759 }], 2767 }],
2760 ['data_reduction_proxy_alt_fallback_origin != ""', { 2768 ['data_reduction_proxy_alt_fallback_origin != ""', {
2761 'defines': [ 2769 'defines': [
(...skipping 2701 matching lines...) Expand 10 before | Expand all | Expand 10 after
5463 # settings in target dicts. SYMROOT is a special case, because many other 5471 # settings in target dicts. SYMROOT is a special case, because many other
5464 # Xcode variables depend on it, including variables such as 5472 # Xcode variables depend on it, including variables such as
5465 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5473 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5466 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5474 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5467 # files to appear (when present) in the UI as actual files and not red 5475 # files to appear (when present) in the UI as actual files and not red
5468 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5476 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5469 # and therefore SYMROOT, needs to be set at the project level. 5477 # and therefore SYMROOT, needs to be set at the project level.
5470 'SYMROOT': '<(DEPTH)/xcodebuild', 5478 'SYMROOT': '<(DEPTH)/xcodebuild',
5471 }, 5479 },
5472 } 5480 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/net/chrome_network_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698