| Index: android_webview/tools/webview_repack_locales.py | 
| diff --git a/android_webview/tools/webview_repack_locales.py b/android_webview/tools/webview_repack_locales.py | 
| index 3d687c274989aad0d30c1eb12d78b2208fdf1b9c..5fe3e6bc6227427a756f0e51de9095b903985584 100755 | 
| --- a/android_webview/tools/webview_repack_locales.py | 
| +++ b/android_webview/tools/webview_repack_locales.py | 
| @@ -15,8 +15,10 @@ import os | 
| import shutil | 
| import sys | 
|  | 
| -sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', | 
| -                             'tools', 'grit')) | 
| +# Prepend the grit module from the source tree so it takes precedence over other | 
| +# grit versions that might present in the search path. | 
| +sys.path.insert(1, os.path.join(os.path.dirname(__file__), '..', '..', | 
| +                                'tools', 'grit')) | 
| from grit.format import data_pack | 
|  | 
| def calc_output(locale): | 
|  |