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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/vs_toolchain.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/tools/generate_projects.py
diff --git a/runtime/tools/generate_projects.py b/runtime/tools/generate_projects.py
deleted file mode 100755
index ac4efed3dd695a34ba83dbad0af67a822299d191..0000000000000000000000000000000000000000
--- a/runtime/tools/generate_projects.py
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env python
-
-# Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-# for details. All rights reserved. Use of this source code is governed by a
-# BSD-style license that can be found in the LICENSE file.
-
-import os
-import sys
-
-# Change into the dart directory as we want the project to be rooted here.
-runtime_src = os.path.join(os.path.dirname(sys.argv[0]), os.pardir)
-gclient_src = os.path.join(runtime_src, os.pardir)
-project_src = os.path.join(gclient_src, sys.argv[1])
-os.chdir(project_src)
-
-# Add gyp to the imports and if needed get it from the third_party location
-# inside the standalone dart gclient checkout.
-try:
- import gyp
-except ImportError, e:
- sys.path.append(os.path.join(os.pardir, 'third_party', 'gyp', 'pylib'))
- import gyp
-
-if __name__ == '__main__':
- args = ['--depth', '.']
- args += ['dart-runtime.gyp']
-
- # Generate the projects.
- sys.exit(gyp.main(args))
« 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