Index: ui/webui/resources/js/compiled_resources2.gyp |
diff --git a/ui/webui/resources/js/compiled_resources2.gyp b/ui/webui/resources/js/compiled_resources2.gyp |
index bdd520adea6f382f2a29163e60b83a2fc2489a42..2d0ce6627aedb5d2c80e025e02b8f908356b5232 100644 |
--- a/ui/webui/resources/js/compiled_resources2.gyp |
+++ b/ui/webui/resources/js/compiled_resources2.gyp |
@@ -42,12 +42,20 @@ |
}, |
{ |
'target_name': 'i18n_template_no_process', |
- 'dependencies': ['load_time_data'], |
+ 'dependencies': [ |
+ 'load_time_data', |
+ '<(EXTERNS_GYP):pending_compiler_externs', |
+ ], |
'includes': ['../../../../third_party/closure_compiler/compile_js2.gypi'], |
}, |
{ |
'target_name': 'i18n_template', |
- 'dependencies': ['load_time_data'], |
+ 'dependencies': [ |
+ 'load_time_data', |
+ # Ideally, <include> would automatically import externs as well, but |
+ # it current doesn't and that sounds hard. Let's just kill <include>. |
+ '<(EXTERNS_GYP):pending_compiler_externs', |
+ ], |
'includes': ['../../../../third_party/closure_compiler/compile_js2.gypi'], |
}, |
], |