| Index: chrome/tools/build/win/create_installer_archive.py
|
| diff --git a/chrome/tools/build/win/create_installer_archive.py b/chrome/tools/build/win/create_installer_archive.py
|
| index 909ae96794a5b13fea63ae806a1ff396765ee72d..9347b7c3d4b323b11383cd5b90750f64bad2de1e 100755
|
| --- a/chrome/tools/build/win/create_installer_archive.py
|
| +++ b/chrome/tools/build/win/create_installer_archive.py
|
| @@ -353,8 +353,8 @@ def CopyAndAugmentManifest(build_dir, output_dir, manifest_name,
|
| # of VS installed to make sure we have the correct CRT version, unused DLLs
|
| # should not conflict with the others anyways.
|
| def CopyVisualStudioRuntimeDLLs(build_dir):
|
| - is_debug = os.path.basename(build_dir) == 'Debug'
|
| - if not is_debug and os.path.basename(build_dir) != 'Release':
|
| + is_debug = os.path.basename(build_dir).startswith('Debug')
|
| + if not is_debug and not os.path.basename(build_dir).startswith('Release'):
|
| print ("Warning: could not determine build configuration from "
|
| "output directory, assuming Release build.")
|
|
|
|
|