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

Unified Diff: build/common.gypi

Issue 286013002: Added alternative configuration for the data reduction proxy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index d8e60f182335a6007d2cea3c3ecede989ec27f01..3d9e51a6a333347f563ed73732c840430a401788 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -551,6 +551,9 @@
'spdy_proxy_auth_property%' : '',
'spdy_proxy_auth_value%' : '',
'data_reduction_proxy_probe_url%' : '',
+ 'data_reduction_proxy_ssl_origin%' : '',
+ 'data_reduction_proxy_alt_origin%' : '',
+ 'data_reduction_proxy_alt_fallback_origin%' : '',
Lei Zhang 2014/05/21 19:41:28 I'm a little concerned by the number of gyp variab
'enable_mdns%' : 0,
'enable_service_discovery%': 0,
'enable_hangout_services_extension%': 0,
@@ -1084,6 +1087,9 @@
'spdy_proxy_auth_property%': '<(spdy_proxy_auth_property)',
'spdy_proxy_auth_value%': '<(spdy_proxy_auth_value)',
'data_reduction_proxy_probe_url%': '<(data_reduction_proxy_probe_url)',
+ 'data_reduction_proxy_ssl_origin%' : '<(data_reduction_proxy_ssl_origin)',
+ 'data_reduction_proxy_alt_origin%' : '<(data_reduction_proxy_alt_origin)',
+ 'data_reduction_proxy_alt_fallback_origin%' : '<(data_reduction_proxy_alt_fallback_origin)',
'enable_mdns%' : '<(enable_mdns)',
'enable_service_discovery%' : '<(enable_service_discovery)',
'enable_hangout_services_extension%' : '<(enable_hangout_services_extension)',
@@ -2663,6 +2669,18 @@
'defines': [
'DATA_REDUCTION_PROXY_PROBE_URL="<(data_reduction_proxy_probe_url)"'],
}],
+ ['data_reduction_proxy_ssl_origin != ""', {
+ 'defines': [
+ 'DATA_REDUCTION_PROXY_SSL_ORIGIN="<(data_reduction_proxy_ssl_origin)"'],
+ }],
+ ['data_reduction_proxy_alt_origin != ""', {
+ 'defines': [
+ 'DATA_REDUCTION_PROXY_ALT_ORIGIN="<(data_reduction_proxy_alt_origin)"'],
+ }],
+ ['data_reduction_proxy_alt_fallback_origin != ""', {
+ 'defines': [
+ 'DATA_REDUCTION_PROXY_ALT_FALLBACK_ORIGIN="<(data_reduction_proxy_alt_fallback_origin)"'],
+ }],
['enable_mdns==1', {
'defines': ['ENABLE_MDNS=1'],
}],

Powered by Google App Engine
This is Rietveld 408576698