Index: chrome/tools/build/win/create_installer_archive.py |
=================================================================== |
--- chrome/tools/build/win/create_installer_archive.py (revision 132528) |
+++ chrome/tools/build/win/create_installer_archive.py (working copy) |
@@ -1,5 +1,5 @@ |
#!/usr/bin/env python |
-# Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+# Copyright (c) 2011 The Chromium Authors. All rights reserved. |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
@@ -89,8 +89,7 @@ |
RunSystemCommand(cmd) |
-def CopyAllFilesToStagingDir(config, distribution, staging_dir, build_dir, |
- enable_hidpi): |
+def CopyAllFilesToStagingDir(config, distribution, staging_dir, build_dir): |
"""Copies the files required for installer archive. |
Copies all common files required for various distributions of Chromium and |
also files for the specific Chromium build specified by distribution. |
@@ -101,8 +100,6 @@ |
distribution = distribution[1:] |
CopySectionFilesToStagingDir(config, distribution.upper(), |
staging_dir, build_dir) |
- if enable_hidpi == '1': |
- CopySectionFilesToStagingDir(config, 'HIDPI', staging_dir, build_dir) |
def CopySectionFilesToStagingDir(config, section, staging_dir, build_dir): |
@@ -327,13 +324,11 @@ |
# building the optimized mini_installer. |
if options.build_dir != options.output_dir: |
CopyAllFilesToStagingDir(config, options.distribution, |
- staging_dir, options.output_dir, |
- options.enable_hidpi) |
+ staging_dir, options.output_dir) |
# Now copy the remainder of the files from the build dir. |
CopyAllFilesToStagingDir(config, options.distribution, |
- staging_dir, options.build_dir, |
- options.enable_hidpi) |
+ staging_dir, options.build_dir) |
version_numbers = current_version.split('.') |
current_build_number = version_numbers[2] + '.' + version_numbers[3] |
@@ -385,8 +380,6 @@ |
'{BSDIFF|COURGETTE}.') |
parser.add_option('-n', '--output_name', default='chrome', |
help='Name used to prefix names of generated archives.') |
- parser.add_option('--enable_hidpi', default='0', |
- help='Whether to include HiDPI resource files.') |
options, args = parser.parse_args() |
if not options.build_dir: |