summaryrefslogtreecommitdiffstats
path: root/chrome/SConscript
diff options
context:
space:
mode:
authorsgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-14 13:40:08 +0000
committersgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-14 13:40:08 +0000
commite9f17ab968e051627b02b6e02305417d5aee6f37 (patch)
tree753e33146667acdfc2a41720199d7c4887286423 /chrome/SConscript
parent073baf53d8385f72f57210691a70080d79fa3103 (diff)
downloadchromium_src-e9f17ab968e051627b02b6e02305417d5aee6f37.zip
chromium_src-e9f17ab968e051627b02b6e02305417d5aee6f37.tar.gz
chromium_src-e9f17ab968e051627b02b6e02305417d5aee6f37.tar.bz2
Restore /IMPLIB in the target lists for chrome.exe and chrome.dll,
and /MAP in the target lists for setup.exe and mini_installer.exe. TBR: tc git-svn-id: svn://svn.chromium.org/chrome/trunk/src@868 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/SConscript')
-rw-r--r--chrome/SConscript28
1 files changed, 21 insertions, 7 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',