Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(650)

Unified Diff: scripts/slave/recipe_modules/chromium/api.py

Issue 2235773002: chromium: run GN in the checkout directory (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: rebase Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/cronet/example.expected/gn_test.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/chromium/api.py
diff --git a/scripts/slave/recipe_modules/chromium/api.py b/scripts/slave/recipe_modules/chromium/api.py
index 0c77311c74d88029fa81bdaa9394e129805d6010..b4c6bf84c0186579e64a72ad01e7605b150572ad 100644
--- a/scripts/slave/recipe_modules/chromium/api.py
+++ b/scripts/slave/recipe_modules/chromium/api.py
@@ -526,6 +526,8 @@ class ChromiumApi(recipe_api.RecipeApi):
if not gn_path:
gn_path = self.m.depot_tools.gn_py_path
+ kwargs.setdefault('cwd', self.m.path['checkout'])
+
gn_args = list(self.c.gn_args)
# TODO(dpranke): Figure out if we should use the '_x64' thing to
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/cronet/example.expected/gn_test.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698