summaryrefslogtreecommitdiffstats
path: root/ios/web/ios_web.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'ios/web/ios_web.gyp')
-rw-r--r--ios/web/ios_web.gyp18
1 files changed, 18 insertions, 0 deletions
diff --git a/ios/web/ios_web.gyp b/ios/web/ios_web.gyp
index df99221..bd99b58 100644
--- a/ios/web/ios_web.gyp
+++ b/ios/web/ios_web.gyp
@@ -360,8 +360,26 @@
],
},
'sources': [
+ 'web_state/js/resources/base.js',
+ 'web_state/js/resources/common.js',
+ 'web_state/js/resources/console.js',
+ 'web_state/js/resources/core.js',
+ 'web_state/js/resources/dialog_overrides.js',
+ 'web_state/js/resources/message.js',
'web_state/js/resources/web_bundle.js',
],
+ '!sources': [
+ # Remove all js files except web_bundle. Those files should not be
+ # copied with the rest of resources, as they just Closure dependencies
+ # for web_bundle.js. Dependencies were added as sources, so they get
+ # indexed by Xcode.
+ 'web_state/js/resources/base.js',
+ 'web_state/js/resources/common.js',
+ 'web_state/js/resources/console.js',
+ 'web_state/js/resources/core.js',
+ 'web_state/js/resources/dialog_overrides.js',
+ 'web_state/js/resources/message.js',
+ ],
'link_settings': {
'mac_bundle_resources': [
'<(SHARED_INTERMEDIATE_DIR)/web_bundle.js',