Index: content/content_browser.gypi |
diff --git a/content/content_browser.gypi b/content/content_browser.gypi |
index 33bc2503c08ed997db48809ffbbc78695cad0c7e..ea36818666769837480b41f89b8eba9cce100cb8 100644 |
--- a/content/content_browser.gypi |
+++ b/content/content_browser.gypi |
@@ -833,7 +833,21 @@ |
'browser/gamepad/platform_data_fetcher.cc', |
] |
}], |
- ['OS!="ios"', { |
+ ['OS=="ios"', { |
+ 'sources/': [ |
+ # iOS only needs a small portion of content; exclude all the |
+ # implementation, and re-include what is used. |
+ ['exclude', '\\.cc$'], |
+ ['exclude', '\\.mm$'], |
+ ['include', '_ios\\.(cc|mm)$'], |
+ ['include', '^public/browser/notification_registrar\\.cc$'], |
+ ['include', '^public/browser/speech_recognition_'], |
+ ['include', '^browser/notification_service_impl\\.cc$'], |
+ # Pull in all but one file from speech. |
+ ['include', '^browser/speech/'], |
+ ['exclude', '^browser/speech/input_tag_speech_dispatcher_host\\.cc$$'], |
+ ], |
+ }, { # OS!="ios" |
'dependencies': [ |
'browser/debugger/devtools_resources.gyp:devtools_resources', |
'../net/net.gyp:http_server', |
@@ -1032,20 +1046,5 @@ |
['exclude', '^browser/speech/'], |
], |
}], |
- ['OS=="ios"', { |
- 'sources/': [ |
- # iOS only needs a small portion of content; exclude all the |
- # implementation, and re-include what is used. |
- ['exclude', '\\.cc$'], |
- ['exclude', '\\.mm$'], |
- ['include', '_ios\\.(cc|mm)$'], |
- ['include', '^public/browser/notification_registrar\\.cc$'], |
- ['include', '^public/browser/speech_recognition_'], |
- ['include', '^browser/notification_service_impl\\.cc$'], |
- # Pull in all but one file from speech. |
- ['include', '^browser/speech/'], |
- ['exclude', '^browser/speech/input_tag_speech_dispatcher_host\\.cc$$'], |
- ], |
- }], |
], |
} |