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

Unified Diff: tools/create_sdk.py

Issue 240723006: Replace Java based analyzer with Dart based analyzer when building SDK (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 6 years, 8 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 | « sdk/bin/dartanalyzer_java.bat ('k') | utils/dartanalyzer/.gitignore » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/create_sdk.py
diff --git a/tools/create_sdk.py b/tools/create_sdk.py
index 430492309ab3fd209e77593c07ccf932496ab477..4ac8679dfc8428f5fef2f02bbce2d9f86b106a4b 100755
--- a/tools/create_sdk.py
+++ b/tools/create_sdk.py
@@ -21,6 +21,7 @@
# ......pub
# ......snapshots/
# ........dart2js.dart.snapshot
+# ........dartanalyzer.dart.snapshot
# ........dartfmt.dart.snapshot
# ........pub.dart.snapshot
# ........utils_wrapper.dart.snapshot
@@ -44,9 +45,6 @@
# ......mirrors/
# ......typed_data/
# ....util/
-# ......dartanalyzer/
-# ........dartanalyzer.jar
-# ........(third-party libraries for dart_analyzer)
# ......(more will come here)
@@ -114,7 +112,8 @@ def CopyDartScripts(home, sdk_root):
def CopySnapshots(snapshots, sdk_root):
- for snapshot in ['dart2js', 'dartfmt', 'utils_wrapper', 'pub']:
+ for snapshot in ['dart2js', 'dartanalyzer', 'dartfmt', 'utils_wrapper',
+ 'pub']:
snapshot += '.dart.snapshot'
copyfile(join(snapshots, snapshot),
join(sdk_root, 'bin', 'snapshots', snapshot))
@@ -221,16 +220,6 @@ def Main(argv):
UTIL = join(SDK_tmp, 'util')
os.makedirs(UTIL)
- # Create and copy dartanalyzer into 'util'
- DARTANALYZER_SRC = join(HOME, build_dir, 'dartanalyzer')
- DARTANALYZER_DEST = join(UTIL, 'dartanalyzer')
- os.makedirs(DARTANALYZER_DEST)
-
- jarFiles = glob.glob(join(DARTANALYZER_SRC, '*.jar'))
-
- for jarFile in jarFiles:
- copyfile(jarFile, join(DARTANALYZER_DEST, os.path.basename(jarFile)))
-
RESOURCE = join(SDK_tmp, 'lib', '_internal', 'pub', 'asset')
os.makedirs(os.path.dirname(RESOURCE))
copytree(join(HOME, 'sdk', 'lib', '_internal', 'pub', 'asset'),
« no previous file with comments | « sdk/bin/dartanalyzer_java.bat ('k') | utils/dartanalyzer/.gitignore » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698