diff options
author | mmoss@google.com <mmoss@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-01 18:28:08 +0000 |
---|---|---|
committer | mmoss@google.com <mmoss@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-01 18:28:08 +0000 |
commit | 3e919a16eaf0c75b3deab033221843a6eab6633f (patch) | |
tree | ee10823b503036e70d561f45b40a1eac065fafef /chrome/plugin | |
parent | 04b0307ffbfaaa9372cc11d075f515535b80b5ff (diff) | |
download | chromium_src-3e919a16eaf0c75b3deab033221843a6eab6633f.zip chromium_src-3e919a16eaf0c75b3deab033221843a6eab6633f.tar.gz chromium_src-3e919a16eaf0c75b3deab033221843a6eab6633f.tar.bz2 |
Bring chrome/plugin/SConscript into the Linux build.
BUG=3033
Review URL: http://codereview.chromium.org/6044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2771 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin')
-rw-r--r-- | chrome/plugin/SConscript | 36 |
1 files changed, 22 insertions, 14 deletions
diff --git a/chrome/plugin/SConscript b/chrome/plugin/SConscript index 667d114..c11e01b 100644 --- a/chrome/plugin/SConscript +++ b/chrome/plugin/SConscript @@ -16,24 +16,32 @@ env.Prepend( '$SKIA_DIR/platform', '#/..', ], - CCFLAGS = [ - '/TP', - ], ) input_files = [ - 'chrome_plugin_host.cc', - 'npobject_proxy.cc', - 'npobject_stub.cc', - 'npobject_util.cc', - 'plugin_channel.cc', - 'plugin_channel_base.cc', - 'plugin_main.cc', - 'plugin_process.cc', - 'plugin_thread.cc', - 'webplugin_delegate_stub.cc', - 'webplugin_proxy.cc', ] +if env['PLATFORM'] == 'win32': + env.Prepend( + CCFLAGS = [ + '/TP', + ], + ) + + # TODO(port) + input_files.extend([ + 'chrome_plugin_host.cc', + 'npobject_proxy.cc', + 'npobject_stub.cc', + 'npobject_util.cc', + 'plugin_channel.cc', + 'plugin_channel_base.cc', + 'plugin_main.cc', + 'plugin_process.cc', + 'plugin_thread.cc', + 'webplugin_delegate_stub.cc', + 'webplugin_proxy.cc', + ]) + env.ChromeStaticLibrary('plugin', input_files) |