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

Unified Diff: runtime/bin/vmservice/client/precommit.sh

Issue 50243002: Extend Observatory to display libraries, classes, fields, functions and code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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
Index: runtime/bin/vmservice/client/precommit.sh
diff --git a/runtime/bin/vmservice/client/precommit.sh b/runtime/bin/vmservice/client/precommit.sh
new file mode 100755
index 0000000000000000000000000000000000000000..4949ada91281f62fd9bbca6692b5a35ae85be036
--- /dev/null
+++ b/runtime/bin/vmservice/client/precommit.sh
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+# A polymer application compiled with dart2js depends on
+# 4 js files:
+# 1) packages/shadow_dom/shadow_dom.debug.js
+# 2) packages/custom_element/custom-elements.debug.js
+# 3) packages/browser/interop.js
+# 4) index.html_bootstrap.dart.precompiled.js
+
+# This script rolls 1, 2, 3, and 4 into index.html_bootstrap.dart.js
+
+# Relative paths to four scripts.
+SHADOW_DOM="packages/shadow_dom/shadow_dom.debug.js"
+CUSTOM_ELEMENTS="packages/custom_element/custom-elements.debug.js"
+INTEROP="packages/browser/interop.js"
+OBSERVATORY="index.html_bootstrap.dart.precompiled.js"
+
+# Base directory
+BASE="out/web"
+
+INPUT="$BASE/$SHADOW_DOM"
+INPUT="$INPUT $BASE/$CUSTOM_ELEMENTS"
+INPUT="$INPUT $BASE/$INTEROP"
+INPUT="$INPUT $BASE/$OBSERVATORY"
+
+OUTPUT="$BASE/index.html_bootstrap.dart.js"
+
+# Rolling
+cat $INPUT > $OUTPUT
« no previous file with comments | « runtime/bin/vmservice/client/out/web/observatory_main.dart ('k') | runtime/bin/vmservice/client/web/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698