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

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

Issue 199633007: Switch to using pub build instead of custom build_.dart script (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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/resources.sh
diff --git a/runtime/bin/vmservice/client/resources.sh b/runtime/bin/vmservice/client/resources.sh
new file mode 100755
index 0000000000000000000000000000000000000000..d638e057fa011efcc7d85d6d5d6e3807b75749c2
--- /dev/null
+++ b/runtime/bin/vmservice/client/resources.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+# NOTE: You should only have to run this script if you add a new file.
+
+# This script generates lines for resources_sources.gypi (standalone)
+# and devtools.gypi (Dartium) for the current deployed Observatory.
+
+if [ ! -d deployed ]; then
+ echo "Please run inside client directory"
+fi
+
+PREFIX="vmservice/client"
+echo "For resources_sources.gypi:"
+for i in `find deployed/web/ -not -type d -not -path '*/\.*'`; do
+ echo "'$PREFIX/$i',"
+done
+
+PREFIX="../../../../dart/runtime/bin/vmservice/client"
+echo "For devtools.gypi:"
+for i in `find deployed/web/ -not -type d -not -path '*/\.*'`; do
+ echo "'$PREFIX/$i',"
+done
« runtime/bin/vmservice/client/HACKING.txt ('K') | « runtime/bin/vmservice/client/pubspec.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698