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

Unified Diff: content/content_browser.gypi

Issue 10917130: Add preliminary iOS support to more content/ gypi files (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Typo fix Created 8 years, 3 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
« no previous file with comments | « content/content_app.gypi ('k') | content/content_common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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$$'],
- ],
- }],
],
}
« no previous file with comments | « content/content_app.gypi ('k') | content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698