Index: remoting/tools/build/remoting_ios_localize.py |
diff --git a/remoting/tools/build/remoting_ios_localize.py b/remoting/tools/build/remoting_ios_localize.py |
index 04beb18d0e7b1869a2b9ac0ca33cf4b88cd5793f..bc4ddc4ff632b41b88dfc427a476591af4967805 100755 |
--- a/remoting/tools/build/remoting_ios_localize.py |
+++ b/remoting/tools/build/remoting_ios_localize.py |
@@ -76,8 +76,10 @@ import os |
import re |
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 |
sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', '..', |