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

Unified Diff: tools/compiler_scripts/generate_my_projects.py

Issue 1130963003: Remove gyp entries for editor and java based analyzer (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 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 | « tools/compiler_scripts/dart_analyzer.sh ('k') | tools/compiler_scripts/generate_source_list.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/compiler_scripts/generate_my_projects.py
diff --git a/tools/compiler_scripts/generate_my_projects.py b/tools/compiler_scripts/generate_my_projects.py
deleted file mode 100644
index cc41bf3d1720ba3412deb0ef8674759379536715..0000000000000000000000000000000000000000
--- a/tools/compiler_scripts/generate_my_projects.py
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/usr/bin/env python
-# Copyright (c) 2012, 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
-
-
-def Main():
- def normjoin(*args):
- return os.path.normpath(os.path.join(*args))
-
- dart_dir = normjoin(__file__, '..', '..', '..')
- compiler_scripts = normjoin(dart_dir, 'tools', 'compiler_scripts')
- editor = normjoin(dart_dir, 'editor')
-
- locations = {
- 'compiler_scripts': compiler_scripts,
- 'editor': editor,
- }
-
- generate_source_list_calls = [
- # The paths are relative to dart/editor/
- {
- "name" : "plugin_engine_java",
- "output" : "%(editor)s/plugin_engine_sources" % locations,
- "path" : "tools/plugins/com.google.dart.engine",
- },
- {
- "name" : "plugin_command_analyze_java",
- "output" : "%(editor)s/plugin_command_analyze_sources" % locations,
- "path" : "tools/plugins/com.google.dart.command.analyze",
- },
- ]
-
- for call_options in generate_source_list_calls:
- command = (("python %(compiler_scripts)s/generate_source_list.py "
- % locations) +
- ("%(name)s %(output)s %(path)s" % call_options))
- exit_code = os.system(command)
- if exit_code:
- return exit_code
-
- if '--no-gyp' in sys.argv:
- print '--no-gyp is deprecated.'
-
- return 0
-
-
-if __name__ == '__main__':
- sys.exit(Main())
« no previous file with comments | « tools/compiler_scripts/dart_analyzer.sh ('k') | tools/compiler_scripts/generate_source_list.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698