mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
GN: Fix gn_build.py for Windows
R=johnmccutchan@google.com Review URL: https://codereview.chromium.org/2407413003 .
This commit is contained in:
parent
7fd9df4d91
commit
86060cb0fb
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue