| Index: chrome/test/chrome_plugin/SConscript
|
| ===================================================================
|
| --- chrome/test/chrome_plugin/SConscript (revision 2688)
|
| +++ chrome/test/chrome_plugin/SConscript (working copy)
|
| @@ -18,33 +18,38 @@
|
| ],
|
| )
|
|
|
| -env.Prepend(
|
| - LINKFLAGS = [
|
| - '/INCREMENTAL',
|
| +input_files = [
|
| + 'test_chrome_plugin.cc',
|
| +]
|
|
|
| - '/MANIFEST',
|
| - '/DELAYLOAD:"dwmapi.dll"',
|
| - '/DELAYLOAD:"uxtheme.dll"',
|
| - '/MACHINE:X86',
|
| - '/FIXED:No',
|
|
|
| - '/safeseh',
|
| - '/dynamicbase',
|
| - '/ignore:4199',
|
| - '/nxcompat',
|
| +if env['PLATFORM'] == 'win32':
|
| + env.Prepend(
|
| + LINKFLAGS = [
|
| + '/INCREMENTAL',
|
|
|
| - '/DEBUG',
|
| - ],
|
| - LIBS = [
|
| - 'winmm.lib',
|
| - ],
|
| -)
|
| + '/MANIFEST',
|
| + '/DELAYLOAD:"dwmapi.dll"',
|
| + '/DELAYLOAD:"uxtheme.dll"',
|
| + '/MACHINE:X86',
|
| + '/FIXED:No',
|
|
|
| -input_files = [
|
| - 'test_chrome_plugin.cc',
|
| - 'test_chrome_plugin.def',
|
| -]
|
| + '/safeseh',
|
| + '/dynamicbase',
|
| + '/ignore:4199',
|
| + '/nxcompat',
|
|
|
| + '/DEBUG',
|
| + ],
|
| + LIBS = [
|
| + 'winmm.lib',
|
| + ],
|
| + )
|
| +
|
| + input_files.extend([
|
| + 'test_chrome_plugin.def',
|
| + ])
|
| +
|
| dll = env.ChromeSharedLibrary('test_chrome_plugin', input_files)
|
|
|
| i = env.Install('$TARGET_ROOT', dll)
|
|
|