diff options
author | ofri@google.com <ofri@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-24 09:29:19 +0000 |
---|---|---|
committer | ofri@google.com <ofri@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-24 09:29:19 +0000 |
commit | cc0322decce8b3cd28de46d702e465fe877ebaa0 (patch) | |
tree | 776f2dde25544602c20fc8752d2f867686df8ec4 /chrome/tools | |
parent | 19aad26ece19f8d87b7f591889e883099df37c94 (diff) | |
download | chromium_src-cc0322decce8b3cd28de46d702e465fe877ebaa0.zip chromium_src-cc0322decce8b3cd28de46d702e465fe877ebaa0.tar.gz chromium_src-cc0322decce8b3cd28de46d702e465fe877ebaa0.tar.bz2 |
Adding fake bidi generation
BUG=73052
TEST=NONE
Review URL: http://codereview.chromium.org/7246008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93821 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/tools')
-rwxr-xr-x | chrome/tools/build/repack_locales.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/tools/build/repack_locales.py b/chrome/tools/build/repack_locales.py index b89fd4d..dfa55a7 100755 --- a/chrome/tools/build/repack_locales.py +++ b/chrome/tools/build/repack_locales.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# Copyright (c) 2009 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. @@ -35,6 +35,10 @@ class Usage(Exception): def calc_output(locale): """Determine the file that will be generated for the given locale.""" #e.g. '<(INTERMEDIATE_DIR)/repack/da.pak', + # For Fake Bidi, generate it at a fixed path so that tests can safely + # reference it. + if locale == 'fake-bidi': + return '%s/%s.pak' % (INT_DIR, locale) if sys.platform in ('darwin',): # For Cocoa to find the locale at runtime, it needs to use '_' instead # of '-' (http://crbug.com/20441). Also, 'en-US' should be represented |