From 25098925d8712b49e4624fb34b41bf660731302a Mon Sep 17 00:00:00 2001 From: "arv@chromium.org" Date: Thu, 1 Jul 2010 22:43:50 +0000 Subject: Rename chrome://theme/resource to chrome://theme/IDR_RESOURCE BUG=47881 TEST=Unit tests Review URL: http://codereview.chromium.org/2805050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51444 0039d316-1c4b-4281-b951-d872f2087c98 --- tools/grit/grit/format/resource_map.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'tools') diff --git a/tools/grit/grit/format/resource_map.py b/tools/grit/grit/format/resource_map.py index 84a31b1..5ae135b 100644 --- a/tools/grit/grit/format/resource_map.py +++ b/tools/grit/grit/format/resource_map.py @@ -1,5 +1,5 @@ #!/usr/bin/python2.4 -# Copyright (c) 2009 The Chromium Authors. All rights reserved. +# Copyright (c) 2010 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. @@ -110,10 +110,7 @@ class SourceInclude(interface.ItemFormatter): def Format(self, item, lang='en', begin_item=True, output_dir='.'): if not begin_item: return '' - short_name = item.attrs['name'].lower() - if short_name.startswith('idr_'): - short_name = short_name[4:] - return ' {"%s", %s},\n' % (short_name, item.attrs['name']) + return ' {"%s", %s},\n' % (item.attrs['name'], item.attrs['name']) class SourceFileInclude(interface.ItemFormatter): -- cgit v1.1