| Index: scripts/slave/recipe_modules/pgo/api.py
|
| diff --git a/scripts/slave/recipe_modules/pgo/api.py b/scripts/slave/recipe_modules/pgo/api.py
|
| index aa39a595daf0ccb99958351ba383399dff513382..fa5f980557dfa3bed0408e4587968e2243842188 100644
|
| --- a/scripts/slave/recipe_modules/pgo/api.py
|
| +++ b/scripts/slave/recipe_modules/pgo/api.py
|
| @@ -60,6 +60,9 @@ class PGOApi(recipe_api.RecipeApi):
|
| """
|
| pgosweep_path = self.m.path['depot_tools'].join(
|
| 'win_toolchain', 'vs_files', 'VC', 'bin')
|
| + # Make sure that we're using the x64 version of pgosweep for the x64 builds.
|
| + if self.m.chromium.c.TARGET_BITS == 64:
|
| + pgosweep_path = pgosweep_path.join('amd64')
|
| pgo_env = {
|
| 'PATH': '%s;%s;%s' % (
|
| pgosweep_path, self.m.chromium.output_dir, '%(PATH)s'),
|
|
|