Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 2a01a66b66fc96f056ed3a7c4c6036fbbde1636a..38b56d85e6867f4c550cd6eec7d80f9244d99988 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -45,6 +45,9 @@ |
# Disable viewport meta tag by default. |
'enable_viewport%': 0, |
+ # Enable DoubleResourceLoadTiming support. |
+ 'enable_double_resource_load_timing%': 1, |
+ |
# Enable HiDPI support. |
'enable_hidpi%': 0, |
@@ -101,6 +104,7 @@ |
'use_ozone%': '<(use_ozone)', |
'use_openssl%': '<(use_openssl)', |
'enable_viewport%': '<(enable_viewport)', |
+ 'enable_double_resource_load_timing%': '<(enable_double_resource_load_timing)', |
'enable_hidpi%': '<(enable_hidpi)', |
'enable_touch_ui%': '<(enable_touch_ui)', |
'buildtype%': '<(buildtype)', |
@@ -182,6 +186,7 @@ |
'use_ozone%': '<(use_ozone)', |
'use_openssl%': '<(use_openssl)', |
'enable_viewport%': '<(enable_viewport)', |
+ 'enable_double_resource_load_timing%': '<(enable_double_resource_load_timing)', |
'enable_hidpi%': '<(enable_hidpi)', |
'enable_touch_ui%': '<(enable_touch_ui)', |
'android_webview_build%': '<(android_webview_build)', |
@@ -742,6 +747,7 @@ |
'linux_fpic%': '<(linux_fpic)', |
'chromeos%': '<(chromeos)', |
'enable_viewport%': '<(enable_viewport)', |
+ 'enable_double_resource_load_timing%': '<(enable_double_resource_load_timing)', |
'enable_hidpi%': '<(enable_hidpi)', |
'enable_touch_ui%': '<(enable_touch_ui)', |
'use_xi2_mt%':'<(use_xi2_mt)', |
@@ -1837,6 +1843,9 @@ |
], |
}, |
}], |
+ ['enable_double_resource_load_timing==1', { |
+ 'defines': ['ENABLE_DOUBLE_RESOURCE_LOAD_TIMING'], |
+ }], |
['enable_rlz==1', { |
'defines': ['ENABLE_RLZ'], |
}], |