summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorpan.deng@intel.com <pan.deng@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-29 03:54:40 +0000
committerpan.deng@intel.com <pan.deng@intel.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-29 03:54:40 +0000
commit3f412884f275f0a45a53a4859dbe1337e1b4dd1f (patch)
treec46857ca3b217c53d0b6f6bbb17b0643023659b6 /build
parentc7d388d8096f06909cdc613fdb7e5b055b03c129 (diff)
downloadchromium_src-3f412884f275f0a45a53a4859dbe1337e1b4dd1f.zip
chromium_src-3f412884f275f0a45a53a4859dbe1337e1b4dd1f.tar.gz
chromium_src-3f412884f275f0a45a53a4859dbe1337e1b4dd1f.tar.bz2
Fix ResourceLoadTiming resolution lose issue (chromium part)
To Fix ResourceLoadTiming resolution lose issue, "int" deltas in millisecond will be replaced by "double" monotonicallyIncreasing time in blink. This change remove previous delta calculation in glue, and pass nature monotonicallyIncreasing time to blink. Contributed by pan.deng@intel.com BUG=242452 Review URL: https://chromiumcodereview.appspot.com/15552003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202765 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi9
1 files changed, 9 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 5e36f7f..5516c63 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)',
@@ -746,6 +751,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)',
@@ -1849,6 +1855,9 @@
],
},
}],
+ ['enable_double_resource_load_timing==1', {
+ 'defines': ['ENABLE_DOUBLE_RESOURCE_LOAD_TIMING'],
+ }],
['enable_rlz==1', {
'defines': ['ENABLE_RLZ'],
}],