summaryrefslogtreecommitdiffstats
path: root/chrome/chrome.gyp
diff options
context:
space:
mode:
authorpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-27 21:08:30 +0000
committerpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-27 21:08:30 +0000
commit440a4cc75da5e520fd25c5ef0c0b22823b6ca1b4 (patch)
treefebfaf2d7660f59789f12a836eed2426149e11f8 /chrome/chrome.gyp
parentca15e4d5183dc3e015b5f8b9595df2a198100a7a (diff)
downloadchromium_src-440a4cc75da5e520fd25c5ef0c0b22823b6ca1b4.zip
chromium_src-440a4cc75da5e520fd25c5ef0c0b22823b6ca1b4.tar.gz
chromium_src-440a4cc75da5e520fd25c5ef0c0b22823b6ca1b4.tar.bz2
Changes to get multi-process plug-in scaffolding building on Mac.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14656 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r--chrome/chrome.gyp133
1 files changed, 57 insertions, 76 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index 4c57b47..0708717 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -1458,10 +1458,67 @@
],
},
{
+ 'target_name': 'plugin',
+ 'type': '<(library)',
+ 'dependencies': [
+ 'common',
+ 'resources',
+ '../media/media.gyp:media',
+ '../skia/skia.gyp:skia',
+ '../third_party/icu38/icu38.gyp:icui18n',
+ '../third_party/icu38/icu38.gyp:icuuc',
+ '../third_party/libxml/libxml.gyp:libxml',
+ '../third_party/npapi/npapi.gyp:npapi',
+ 'third_party/hunspell/hunspell.gyp:hunspell',
+ '../webkit/webkit.gyp:glue',
+ ],
+ 'include_dirs': [
+ '<(INTERMEDIATE_DIR)',
+ ],
+ 'sources': [
+ # All .cc, .h, .m, and .mm files under plugins except for tests and
+ # mocks.
+ 'plugin/chrome_plugin_host.cc',
+ 'plugin/chrome_plugin_host.h',
+ 'plugin/npobject_proxy.cc',
+ 'plugin/npobject_proxy.h',
+ 'plugin/npobject_stub.cc',
+ 'plugin/npobject_stub.h',
+ 'plugin/npobject_util.cc',
+ 'plugin/npobject_util.h',
+ 'plugin/plugin_channel.cc',
+ 'plugin/plugin_channel.h',
+ 'plugin/plugin_channel_base.cc',
+ 'plugin/plugin_channel_base.h',
+ 'plugin/plugin_main.cc',
+ 'plugin/plugin_thread.cc',
+ 'plugin/plugin_thread.h',
+ 'plugin/webplugin_delegate_stub.cc',
+ 'plugin/webplugin_delegate_stub.h',
+ 'plugin/webplugin_proxy.cc',
+ 'plugin/webplugin_proxy.h',
+ ],
+ # These are layered in conditionals in the event other platforms
+ # end up using this module as well.
+ 'conditions': [
+ ['OS=="win"', {
+ 'defines': [
+ '__STD_C',
+ '_CRT_SECURE_NO_DEPRECATE',
+ '_SCL_SECURE_NO_DEPRECATE',
+ ],
+ 'include_dirs': [
+ 'third_party/wtl/include',
+ ],
+ },],
+ ],
+ },
+ {
'target_name': 'renderer',
'type': '<(library)',
'dependencies': [
'common',
+ 'plugin',
'resources',
'../printing/printing.gyp:printing',
'../skia/skia.gyp:skia',
@@ -1563,15 +1620,6 @@
],
},
'conditions': [
- # Plugin code.
- ['OS=="linux" or OS=="win"', {
- 'dependencies': [
- 'plugin',
- ],
- 'export_dependent_settings': [
- 'plugin',
- ],
- }],
# Linux-specific rules.
['OS=="linux"', {
'dependencies': [
@@ -1591,13 +1639,6 @@
'renderer/webworker_proxy.h',
],
},],
- # As of yet unported-to-Mac code.
- ['OS=="mac"', {
- 'sources!': [
- 'renderer/plugin_channel_host.cc',
- 'renderer/webplugin_delegate_proxy.cc',
- ]
- },],
],
},
{
@@ -2897,66 +2938,6 @@
},
],
}], # OS=="win" or OS=="linux"
- ['OS=="win" or OS=="linux"',
- { 'targets': [
- {
- 'target_name': 'plugin',
- 'type': '<(library)',
- 'dependencies': [
- 'common',
- 'resources',
- '../media/media.gyp:media',
- '../skia/skia.gyp:skia',
- '../third_party/icu38/icu38.gyp:icui18n',
- '../third_party/icu38/icu38.gyp:icuuc',
- '../third_party/libxml/libxml.gyp:libxml',
- '../third_party/npapi/npapi.gyp:npapi',
- 'third_party/hunspell/hunspell.gyp:hunspell',
- '../webkit/webkit.gyp:glue',
- ],
- 'include_dirs': [
- '<(INTERMEDIATE_DIR)',
- ],
- 'sources': [
- # All .cc, .h, .m, and .mm files under browser except for tests and
- # mocks.
- 'plugin/chrome_plugin_host.cc',
- 'plugin/chrome_plugin_host.h',
- 'plugin/npobject_proxy.cc',
- 'plugin/npobject_proxy.h',
- 'plugin/npobject_stub.cc',
- 'plugin/npobject_stub.h',
- 'plugin/npobject_util.cc',
- 'plugin/npobject_util.h',
- 'plugin/plugin_channel.cc',
- 'plugin/plugin_channel.h',
- 'plugin/plugin_channel_base.cc',
- 'plugin/plugin_channel_base.h',
- 'plugin/plugin_main.cc',
- 'plugin/plugin_thread.cc',
- 'plugin/plugin_thread.h',
- 'plugin/webplugin_delegate_stub.cc',
- 'plugin/webplugin_delegate_stub.h',
- 'plugin/webplugin_proxy.cc',
- 'plugin/webplugin_proxy.h',
- ],
- # These are layered in conditionals in the event other platforms
- # end up using this module as well.
- 'conditions': [
- ['OS=="win"', {
- 'defines': [
- '__STD_C',
- '_CRT_SECURE_NO_DEPRECATE',
- '_SCL_SECURE_NO_DEPRECATE',
- ],
- 'include_dirs': [
- 'third_party/wtl/include',
- ],
- },],
- ],
- },
- ]}, # 'targets'
- ], # OS=="win" or OS=="linux"
['OS=="win"',
{ 'targets': [
{