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'), |