diff options
author | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-10 17:46:15 +0000 |
---|---|---|
committer | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-09-10 17:46:15 +0000 |
commit | aeaaaf0a3ca91fe8f6e12b0d7b150832df8ae6e4 (patch) | |
tree | 5e3f311c62ef94e769e3573c3826f00b85785a99 /content/content_common.gypi | |
parent | 91ff1df7be2795b56148e0376d11dc6ca094cf23 (diff) | |
download | chromium_src-aeaaaf0a3ca91fe8f6e12b0d7b150832df8ae6e4.zip chromium_src-aeaaaf0a3ca91fe8f6e12b0d7b150832df8ae6e4.tar.gz chromium_src-aeaaaf0a3ca91fe8f6e12b0d7b150832df8ae6e4.tar.bz2 |
Add preliminary iOS support to more content/ gypi files
Restructures content_app.gypi, content_common.gypi, and content_tests.gypi
slightly to support building them for iOS.
One target, content_browsertests, is excluded entirely for iOS.
More files will be added to the iOS build later, once the content/ build
is working for iOS.
BUG=None
Review URL: https://chromiumcodereview.appspot.com/10917130
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155759 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/content_common.gypi')
-rw-r--r-- | content/content_common.gypi | 50 |
1 files changed, 36 insertions, 14 deletions
diff --git a/content/content_common.gypi b/content/content_common.gypi index 9380d74..fe41874 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 @@ ], }, ] - }] + }], ], } |