Index: ios/web/ios_web.gyp |
diff --git a/ios/web/ios_web.gyp b/ios/web/ios_web.gyp |
index 0b7f92706553410d3dd6e8e4b9d21e94624457b0..be6c6b5865de01b484e973348369564a49ca6744 100644 |
--- a/ios/web/ios_web.gyp |
+++ b/ios/web/ios_web.gyp |
@@ -45,6 +45,41 @@ |
], |
}, |
{ |
+ 'target_name': 'js_resources', |
+ 'type': 'none', |
+ 'sources': [ |
+ 'web_state/js/resources/base.js', |
+ 'web_state/js/resources/common.js', |
+ 'web_state/js/resources/message.js', |
+ 'web_state/js/resources/message_dynamic_ui.js', |
+ 'web_state/js/resources/message_dynamic_wk.js', |
+ ], |
+ 'link_settings': { |
+ 'mac_bundle_resources': [ |
+ '<(SHARED_INTERMEDIATE_DIR)/base.js', |
+ '<(SHARED_INTERMEDIATE_DIR)/common.js', |
+ '<(SHARED_INTERMEDIATE_DIR)/message.js', |
+ '<(SHARED_INTERMEDIATE_DIR)/message_dynamic_ui.js', |
+ '<(SHARED_INTERMEDIATE_DIR)/message_dynamic_wk.js', |
+ ], |
+ }, |
+ 'conditions': [ |
+ ['enable_wkwebview==1', { |
sdefresne
2014/12/10 18:29:11
This variable "enable_wkwebview" is not defined in
droger
2014/12/11 09:36:35
I am not sure this should go in common.gypi.
Remov
|
+ 'sources': [ |
+ 'web_state/js/resources/message_dynamic_wk.js', |
+ ], |
+ 'link_settings': { |
+ 'mac_bundle_resources': [ |
+ '<(SHARED_INTERMEDIATE_DIR)/message_dynamic_wk.js', |
+ ], |
+ }, |
+ }], |
+ ], |
+ 'includes': [ |
+ 'js_compile.gypi' |
+ ], |
+ }, |
+ { |
'target_name': 'test_support_ios_web', |
'type': 'static_library', |
'dependencies': [ |