| 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 @@
|
| ],
|
| },
|
| ]
|
| - }]
|
| + }],
|
| ],
|
| }
|
|
|