| Index: ios/chrome/tools/build/ios_repack_extension_locales.py
|
| diff --git a/ios/chrome/tools/build/ios_repack_extension_locales.py b/ios/chrome/tools/build/ios_repack_extension_locales.py
|
| index 529b8ed8f5c998c318bebc714d6ed84f3338cbef..540a9991bb9193ccae8497501e40249ff27fcede 100755
|
| --- a/ios/chrome/tools/build/ios_repack_extension_locales.py
|
| +++ b/ios/chrome/tools/build/ios_repack_extension_locales.py
|
| @@ -14,9 +14,11 @@ import optparse
|
| import os
|
| import sys
|
|
|
| +# Prepend the grit module from the source tree so it takes precedence over other
|
| +# grit versions that might present in the search path.
|
| script_dir = os.path.dirname(__file__)
|
| src_dir = os.path.join(script_dir, os.pardir, os.pardir, os.pardir, os.pardir)
|
| -sys.path.append(os.path.join(src_dir, 'tools', 'grit'))
|
| +sys.path.insert(1, os.path.join(src_dir, 'tools', 'grit'))
|
|
|
| from grit.format import data_pack
|
|
|
|
|