Index: tools/bots/gn_build.py |
diff --git a/tools/bots/gn_build.py b/tools/bots/gn_build.py |
index f7976526cd063da3be67d6785a848a71475162a1..0fe22989108b5863cc7864e752b28140344940ff 100644 |
--- a/tools/bots/gn_build.py |
+++ b/tools/bots/gn_build.py |
@@ -15,7 +15,9 @@ DART_ROOT = os.path.realpath(os.path.join(SCRIPT_DIR, '..', '..')) |
def main(argv): |
os.environ["DART_USE_GN"] = "1" |
- gclient_result = subprocess.call(['gclient', 'runhooks']) |
+ generate_buildfiles = os.path.join( |
+ DART_ROOT, 'tools', 'generate_buildfiles.py') |
+ gclient_result = subprocess.call(['python', generate_buildfiles]) |
if gclient_result != 0: |
return gclient_result |