diff options
-rw-r--r-- | chrome/SConscript | 28 | ||||
-rw-r--r-- | chrome/installer/mini_installer/SConscript | 12 | ||||
-rw-r--r-- | chrome/installer/setup/SConscript | 11 |
3 files changed, 41 insertions, 10 deletions
diff --git a/chrome/SConscript b/chrome/SConscript index 92f24cd..4a30151 100644 --- a/chrome/SConscript +++ b/chrome/SConscript @@ -205,10 +205,17 @@ libs = [ '$V8_DIR/snapshot-empty.obj', ] -dll_targets = env_dll.ChromeSharedLibrary(['chrome', - 'chrome_dll.pdb', - 'chrome_dll.lib'], - dll_resources + input_files + libs) +if env['PLATFORM'] == 'win32': + targets = [ + 'chrome.dll', + 'chrome_dll.pdb', + 'chrome_dll.lib', + ] +else: + targets = ['chrome'] + +dll_targets = env_dll.ChromeSharedLibrary(targets, + dll_resources + input_files + libs) install_targets.extend(dll_targets) @@ -303,10 +310,17 @@ env_exe.Append( ], ) +if env['PLATFORM'] == 'win32': + targets = [ + 'chrome.exe', + 'chrome_exe.pdb', + 'chrome_exe_implib.lib', + ] +else: + targets = ['chrome'] + chrome_exe = env_exe.ChromeProgram( - ['chrome', - 'chrome_exe.pdb', - ], + targets, [ env_res.RES('app/chrome_exe.rc'), 'app/breakpad.cc', diff --git a/chrome/installer/mini_installer/SConscript b/chrome/installer/mini_installer/SConscript index 104f4a4..5a99a21 100644 --- a/chrome/installer/mini_installer/SConscript +++ b/chrome/installer/mini_installer/SConscript @@ -97,8 +97,16 @@ input_files = [ "pe_resource.cc", ] -exe = env.ChromeProgram('mini_installer', - components + resources + input_files) +if env['PLATFORM'] == 'win32': + targets = [ + 'mini_installer.exe', + 'mini_installer.pdb', + 'mini_installer.map', + ] +else: + targets = ['mini_installer'] + +exe = env.ChromeProgram(targets, components + resources + input_files) i = env.Install('$TARGET_ROOT', exe) env.Alias('chrome', i) diff --git a/chrome/installer/setup/SConscript b/chrome/installer/setup/SConscript index efa20505..a625d64 100644 --- a/chrome/installer/setup/SConscript +++ b/chrome/installer/setup/SConscript @@ -106,7 +106,16 @@ libs = [ '../util/util.lib', ] -exe = env.ChromeProgram('setup', resources + input_files + libs) +if env['PLATFORM'] == 'win32': + targets = [ + 'setup.exe', + 'setup.pdb', + 'setup.lib', + ] +else: + targets = ['setup'] + +exe = env.ChromeProgram(targets, resources + input_files + libs) i = env.Install('$TARGET_ROOT', exe) env.Alias('chrome', i) |