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

Side by Side Diff: runtime/tools/generate_projects.py

Issue 3003433002: [infra] Remove dependency on gyp (Closed)
Patch Set: Remove another dead script Created 3 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 unified diff | Download patch
« no previous file with comments | « build/vs_toolchain.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env python
2
3 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
4 # for details. All rights reserved. Use of this source code is governed by a
5 # BSD-style license that can be found in the LICENSE file.
6
7 import os
8 import sys
9
10 # Change into the dart directory as we want the project to be rooted here.
11 runtime_src = os.path.join(os.path.dirname(sys.argv[0]), os.pardir)
12 gclient_src = os.path.join(runtime_src, os.pardir)
13 project_src = os.path.join(gclient_src, sys.argv[1])
14 os.chdir(project_src)
15
16 # Add gyp to the imports and if needed get it from the third_party location
17 # inside the standalone dart gclient checkout.
18 try:
19 import gyp
20 except ImportError, e:
21 sys.path.append(os.path.join(os.pardir, 'third_party', 'gyp', 'pylib'))
22 import gyp
23
24 if __name__ == '__main__':
25 args = ['--depth', '.']
26 args += ['dart-runtime.gyp']
27
28 # Generate the projects.
29 sys.exit(gyp.main(args))
OLDNEW
« no previous file with comments | « build/vs_toolchain.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698