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

Unified Diff: content/content_common.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_browser.gypi ('k') | content/content_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/content_common.gypi
diff --git a/content/content_common.gypi b/content/content_common.gypi
index 9380d749c3c2665a11a26d43e0b4709beca5e99f..fe418746129a18313b5889ee654f956c4590f79e 100644
--- a/content/content_common.gypi
+++ b/content/content_common.gypi
@@ -6,26 +6,13 @@
'dependencies': [
'../base/base.gyp:base',
'../build/temp_gyp/googleurl.gyp:googleurl',
- '../gpu/gpu.gyp:gles2_implementation',
- '../gpu/gpu.gyp:gpu_ipc',
- '../ipc/ipc.gyp:ipc',
'../media/media.gyp:media',
- '../media/media.gyp:shared_memory_support',
'../net/net.gyp:net',
- '../ppapi/ppapi_internal.gyp:ppapi_shared',
'../skia/skia.gyp:skia',
'../third_party/icu/icu.gyp:icuuc',
- '../third_party/npapi/npapi.gyp:npapi',
- '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit',
- '../ui/gl/gl.gyp:gl',
'../ui/ui.gyp:ui',
- '../webkit/support/webkit_support.gyp:appcache',
- '../webkit/support/webkit_support.gyp:blob',
- '../webkit/support/webkit_support.gyp:database',
- '../webkit/support/webkit_support.gyp:fileapi',
'../webkit/support/webkit_support.gyp:forms',
'../webkit/support/webkit_support.gyp:user_agent',
- '../webkit/support/webkit_support.gyp:webkit_base',
],
'include_dirs': [
'..',
@@ -388,6 +375,41 @@
'public/common/webkit_param_traits.h',
],
'conditions': [
+ ['OS=="ios"', {
+ 'sources/': [
+ # iOS only needs a small portion of content; exclude all the
+ # implementation, and re-include what is used.
+ ['exclude', '\\.(cc|mm)$'],
+ ['include', '_ios\\.(cc|mm)$'],
+ ['include', '^public/common/content_constants\\.cc$'],
+ ['include', '^public/common/content_switches\\.cc$'],
+ ['include', '^public/common/frame_navigate_params\\.cc$'],
+ ['include', '^public/common/page_transition_types\\.cc$'],
+ ['include', '^public/common/speech_recognition_result\\.cc$'],
+ ['include', '^public/common/url_constants\\.cc$'],
+ ['include', '^common/content_paths\\.cc$'],
+ ['include', '^common/net/url_fetcher\\.cc$'],
+ ['include', '^common/net/url_request_user_data\\.cc$'],
+ ['include', '^common/savable_url_schemes\\.cc$'],
+ ['include', '^common/url_schemes\\.cc$'],
+ ],
+ }, { # OS!="ios"
+ 'dependencies': [
+ '../gpu/gpu.gyp:gles2_implementation',
+ '../gpu/gpu.gyp:gpu_ipc',
+ '../ipc/ipc.gyp:ipc',
+ '../media/media.gyp:shared_memory_support',
+ '../ppapi/ppapi_internal.gyp:ppapi_shared',
+ '../third_party/npapi/npapi.gyp:npapi',
+ '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit',
+ '../ui/gl/gl.gyp:gl',
+ '../webkit/support/webkit_support.gyp:appcache',
+ '../webkit/support/webkit_support.gyp:blob',
+ '../webkit/support/webkit_support.gyp:database',
+ '../webkit/support/webkit_support.gyp:fileapi',
+ '../webkit/support/webkit_support.gyp:webkit_base',
+ ],
+ }],
['OS!="win"', {
'sources!': [
'common/sandbox_policy.cc',
@@ -528,6 +550,6 @@
],
},
]
- }]
+ }],
],
}
« no previous file with comments | « content/content_browser.gypi ('k') | content/content_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698