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

Unified Diff: chrome/browser/resources/md_history/compiled_resources2.gyp

Issue 2230003002: MD History: Add lazy-render element for simple lazy initialization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Lazy render synced tabs menu Created 4 years, 4 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: chrome/browser/resources/md_history/compiled_resources2.gyp
diff --git a/chrome/browser/resources/md_history/compiled_resources2.gyp b/chrome/browser/resources/md_history/compiled_resources2.gyp
index c363db961c54583d9d4a7ae71dfdde3d53390c5a..aee18eff3fa41bccaba7601488e3aff53cbf6146 100644
--- a/chrome/browser/resources/md_history/compiled_resources2.gyp
+++ b/chrome/browser/resources/md_history/compiled_resources2.gyp
@@ -5,9 +5,6 @@
'targets': [
{
'target_name': 'constants',
- 'dependencies': [
- '../history/compiled_resources2.gyp:externs',
- ],
'includes': ['../../../../third_party/closure_compiler/compile_js2.gypi'],
},
{
@@ -19,6 +16,14 @@
'includes': ['../../../../third_party/closure_compiler/compile_js2.gypi'],
},
{
+ 'target_name': 'externs',
+ 'dependencies': [
+ 'constants',
+ '../history/compiled_resources2.gyp:externs',
+ ],
+ 'includes': ['../../../../third_party/closure_compiler/include_js.gypi'],
+ },
+ {
'target_name': 'grouped_list',
'dependencies': [
'<(DEPTH)/third_party/polymer/v1_0/components-chromium/iron-collapse/compiled_resources2.gyp:iron-collapse-extracted',
@@ -77,10 +82,18 @@
'includes': ['../../../../third_party/closure_compiler/compile_js2.gypi'],
},
{
+ 'target_name': 'lazy_render',
+ 'dependencies': [
+ 'externs',
+ ],
+ 'includes': ['../../../../third_party/closure_compiler/compile_js2.gypi'],
+ },
+ {
'target_name': 'list_container',
'dependencies': [
'grouped_list',
'history_list',
+ 'lazy_render',
'<(EXTERNS_GYP):chrome_send',
'../history/compiled_resources2.gyp:externs',
],
@@ -119,6 +132,7 @@
'<(DEPTH)/ui/webui/resources/js/compiled_resources2.gyp:load_time_data',
'browser_service',
'constants',
+ 'externs',
],
'includes': ['../../../../third_party/closure_compiler/compile_js2.gypi'],
},
@@ -127,6 +141,7 @@
'dependencies': [
'<(DEPTH)/ui/webui/resources/cr_elements/cr_shared_menu/compiled_resources2.gyp:cr_shared_menu',
'browser_service',
+ 'lazy_render',
'synced_device_card',
],
'includes': ['../../../../third_party/closure_compiler/compile_js2.gypi'],

Powered by Google App Engine
This is Rietveld 408576698