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

Unified Diff: build/common.gypi

Issue 15552003: Fix ResourceLoadTiming resolution lose issue (chromium part) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Patch for landing Created 7 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
« no previous file with comments | « no previous file | webkit/glue/weburlloader_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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'],
}],
« no previous file with comments | « no previous file | webkit/glue/weburlloader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698