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

Unified Diff: tools/create_sdk.py

Issue 15786006: Remove old analyzer from the sdk. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/create_sdk.py
===================================================================
--- tools/create_sdk.py (revision 23276)
+++ tools/create_sdk.py (working copy)
@@ -16,7 +16,7 @@
# ......dart or dart.exe (executable)
# ......dart.lib (import library for VM native extensions on Windows)
# ......dart2js
-# ......dart_analyzer
+# ......dartanalyzer
# ......pub
# ......snapshots/
# ........utils_wrapper.dart.snapshot
@@ -49,8 +49,6 @@
# ......unittest/
# ......(more will come here)
# ....util/
-# ......analyzer/
-# ........dart_analyzer.jar
# ......dartanalyzer/
# ........dartanalyzer.jar
# ........(third-party libraries for dart_analyzer)
@@ -160,10 +158,8 @@
# TODO(dgrove) - deal with architectures that are not ia32.
build_dir = os.path.dirname(SDK)
dart_file_extension = ''
- analyzer_file_extension = ''
if HOST_OS == 'win32':
dart_file_extension = '.exe'
- analyzer_file_extension = '.bat'
dart_import_lib_src = join(HOME, build_dir, 'dart.lib')
dart_import_lib_dest = join(BIN, 'dart.lib')
copyfile(dart_import_lib_src, dart_import_lib_dest)
@@ -177,15 +173,6 @@
elif HOST_OS == 'macos':
subprocess.call(['strip', '-x', dart_dest_binary])
- # Copy analyzer into sdk/bin
- ANALYZER_HOME = join(HOME, build_dir, 'analyzer')
- dart_analyzer_src_binary = join(ANALYZER_HOME, 'bin',
- 'dart_analyzer' + analyzer_file_extension)
- dart_analyzer_dest_binary = join(BIN,
- 'dart_analyzer' + analyzer_file_extension)
- copyfile(dart_analyzer_src_binary, dart_analyzer_dest_binary)
- copymode(dart_analyzer_src_binary, dart_analyzer_dest_binary)
-
#
# Create and populate sdk/include.
#
@@ -250,25 +237,6 @@
UTIL = join(SDK_tmp, 'util')
os.makedirs(UTIL)
- # Create and copy Analyzer library into 'util'
- ANALYZER_DEST = join(UTIL, 'analyzer')
- os.makedirs(ANALYZER_DEST)
-
- analyzer_src_jar = join(ANALYZER_HOME, 'util', 'analyzer',
- 'dart_analyzer.jar')
- analyzer_dest_jar = join(ANALYZER_DEST, 'dart_analyzer.jar')
- copyfile(analyzer_src_jar, analyzer_dest_jar)
-
- jarsToCopy = [ join("args4j", "2.0.12", "args4j-2.0.12.jar"),
- join("guava", "r13", "guava-13.0.1.jar"),
- join("json", "r2_20080312", "json.jar") ]
- for jarToCopy in jarsToCopy:
- dest_dir = join (ANALYZER_DEST, os.path.dirname(jarToCopy))
- os.makedirs(dest_dir)
- dest_file = join (ANALYZER_DEST, jarToCopy)
- src_file = join(ANALYZER_HOME, 'util', 'analyzer', jarToCopy)
- copyfile(src_file, dest_file)
-
# Create and copy dartanalyzer into 'util'
DARTANALYZER_SRC = join(HOME, build_dir, 'dartanalyzer')
DARTANALYZER_DEST = join(UTIL, 'dartanalyzer')
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698