Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(559)

Unified Diff: chrome/tools/build/win/create_installer_archive.py

Issue 10103022: Revert 132517 - Metro/HiDPI: Move 1x icons into separate pak file (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/tools/build/win/FILES.cfg ('k') | chrome/tools/build/win/release.rules » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:
« no previous file with comments | « chrome/tools/build/win/FILES.cfg ('k') | chrome/tools/build/win/release.rules » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698