diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-13 22:53:51 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-13 22:53:51 +0000 |
commit | 823b63ec4135ed33a1bd358d05e863dbf821a3b1 (patch) | |
tree | 6918b786dab0c6825a441575e81affe201686f39 /chrome/test | |
parent | d50dacfa212414132ab7db970b8b43cfeadb9cbe (diff) | |
download | chromium_src-823b63ec4135ed33a1bd358d05e863dbf821a3b1.zip chromium_src-823b63ec4135ed33a1bd358d05e863dbf821a3b1.tar.gz chromium_src-823b63ec4135ed33a1bd358d05e863dbf821a3b1.tar.bz2 |
Add a helper method to SConscript.main for adding .pdb files to the
output target of .exe files on Windows. Change all the callers to
only pass in the basename of the target (e.g., 'base_unittests').
The only exception is chrome.exe which uses chrome_exe.pdb.
This lets us remove a "if env['PLATFORM'] == 'win32'" condition from
base/SConscript and these other files going forward.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@836 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test')
-rw-r--r-- | chrome/test/memory_test/SConscript | 4 | ||||
-rw-r--r-- | chrome/test/mini_installer_test/SConscript | 4 | ||||
-rw-r--r-- | chrome/test/plugin/SConscript | 4 | ||||
-rw-r--r-- | chrome/test/reliability/SConscript | 4 | ||||
-rw-r--r-- | chrome/test/selenium/SConscript | 4 | ||||
-rw-r--r-- | chrome/test/startup/SConscript | 4 | ||||
-rw-r--r-- | chrome/test/tab_switching/SConscript | 4 |
7 files changed, 7 insertions, 21 deletions
diff --git a/chrome/test/memory_test/SConscript b/chrome/test/memory_test/SConscript index f3cf77c..9600fed 100644 --- a/chrome/test/memory_test/SConscript +++ b/chrome/test/memory_test/SConscript @@ -90,9 +90,7 @@ input_files = [ 'memory_test.cc', ] -exe = env_test.ChromeTestProgram(['memory_test', - 'memory_test.pdb'], - input_files) +exe = env_test.ChromeTestProgram('memory_test', input_files) i = env_test.Install('$TARGET_ROOT', exe) env_test.Alias('chrome', i) diff --git a/chrome/test/mini_installer_test/SConscript b/chrome/test/mini_installer_test/SConscript index 40f1032..6678a4f 100644 --- a/chrome/test/mini_installer_test/SConscript +++ b/chrome/test/mini_installer_test/SConscript @@ -82,9 +82,7 @@ input_files = [ 'test.cc', ] -exe = env_test.ChromeTestProgram(['mini_installer_test', - 'mini_installer_test.pdb'], - input_files) +exe = env_test.ChromeTestProgram('mini_installer_test', input_files) i = env_test.Install('$TARGET_ROOT', exe) env_test.Alias('chrome', i) diff --git a/chrome/test/plugin/SConscript b/chrome/test/plugin/SConscript index 74973b0..d66450e 100644 --- a/chrome/test/plugin/SConscript +++ b/chrome/test/plugin/SConscript @@ -102,9 +102,7 @@ input_files = [ ] -exe = env_test.ChromeTestProgram(['plugin_tests', - 'plugin_tests.pdb'], - input_files) +exe = env_test.ChromeTestProgram('plugin_tests', input_files) i = env_test.Install('$TARGET_ROOT', exe) env_test.Alias('chrome', i) diff --git a/chrome/test/reliability/SConscript b/chrome/test/reliability/SConscript index 7ad6b99..a7bf920 100644 --- a/chrome/test/reliability/SConscript +++ b/chrome/test/reliability/SConscript @@ -96,9 +96,7 @@ input_files = [ 'run_all_unittests.cc', ] -exe = env_test.ChromeTestProgram(['reliability_tests', - 'reliability_tests.pdb'], - input_files) +exe = env_test.ChromeTestProgram('reliability_tests', input_files) i = env_test.Install('$TARGET_ROOT', exe) env_test.Alias('chrome', i) diff --git a/chrome/test/selenium/SConscript b/chrome/test/selenium/SConscript index 92100a7..9e3912f 100644 --- a/chrome/test/selenium/SConscript +++ b/chrome/test/selenium/SConscript @@ -94,9 +94,7 @@ input_files = [ 'selenium_test.cc', ] -exe = env_test.ChromeTestProgram(['selenium_tests', - 'selenium_tests.pdb'], - input_files) +exe = env_test.ChromeTestProgram('selenium_tests', input_files) i = env_test.Install('$TARGET_ROOT', exe) env_test.Alias('chrome', i) diff --git a/chrome/test/startup/SConscript b/chrome/test/startup/SConscript index b0cc678..36b4465 100644 --- a/chrome/test/startup/SConscript +++ b/chrome/test/startup/SConscript @@ -93,9 +93,7 @@ input_files = [ 'startup_test.cc', ] -exe = env_test.ChromeTestProgram(['startup_tests', - 'startup_tests.pdb'], - input_files) +exe = env_test.ChromeTestProgram('startup_tests', input_files) i = env_test.Install('$TARGET_ROOT', exe) env_test.Alias('chrome', i) diff --git a/chrome/test/tab_switching/SConscript b/chrome/test/tab_switching/SConscript index 4f82fa0..d659171 100644 --- a/chrome/test/tab_switching/SConscript +++ b/chrome/test/tab_switching/SConscript @@ -97,9 +97,7 @@ input_files = [ #"..\..\Debug\obj\tab_switching_test\precompiled_wtl.obj" -exe = env_test.ChromeTestProgram(['tab_switching_test', - 'tab_switching_test.pdb'], - input_files) +exe = env_test.ChromeTestProgram('tab_switching_test', input_files) i = env_test.Install('$TARGET_ROOT', exe) env_test.Alias('chrome', i) |