Chromium Code Reviews| Index: mojo/tools/mopy/paths.py |
| diff --git a/mojo/tools/mopy/paths.py b/mojo/tools/mopy/paths.py |
| index deb30f4cf556c16ad5ca4abd3ade062dbfd87873..3715cd84c8827887e35cac9c94fa4cf80e48f4d7 100644 |
| --- a/mojo/tools/mopy/paths.py |
| +++ b/mojo/tools/mopy/paths.py |
| @@ -19,6 +19,14 @@ class Paths(object): |
| self.adb_path = os.path.join(self.src_root, 'third_party', 'android_tools', |
| 'sdk', 'platform-tools', 'adb') |
| + self.go_tool_path = None |
| + if config and config.target_os == Config.OS_LINUX: |
|
viettrungluu
2015/10/09 21:39:49
Probably nest these under a single |if config:|.
rudominer
2015/10/09 23:42:06
Done.
|
| + self.go_tool_path = os.path.join(self.src_root, "third_party", |
| + "go", "tool", "linux_amd64", "bin", "go") |
|
viettrungluu
2015/10/09 21:39:49
Probably you should also check that the target arc
rudominer
2015/10/09 23:42:06
Done.
|
| + if config and config.target_os == Config.OS_ANDROID: |
|
viettrungluu
2015/10/09 21:39:49
elif
rudominer
2015/10/09 23:42:06
Done.
|
| + self.go_tool_path = os.path.join(self.src_root, "third_party", |
| + "go", "tool", "android_arm", "bin", "go") |
| + |
| if config: |
| self.build_dir = BuildDirectoryForConfig(config, self.src_root) |
| elif build_dir is not None: |