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

Unified Diff: tools/dartium/print_dart_version.sh

Issue 244643006: Migrate dartium_tools from chrome branch to dart repo (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 | « tools/dartium/get_chromium_build.py ('k') | tools/dartium/set_reference_build_revision.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dartium/print_dart_version.sh
diff --git a/tools/dartium/print_dart_version.sh b/tools/dartium/print_dart_version.sh
new file mode 100755
index 0000000000000000000000000000000000000000..273e0d5e5a6630b44f1784dfc2e078c5ad475884
--- /dev/null
+++ b/tools/dartium/print_dart_version.sh
@@ -0,0 +1,28 @@
+#!/bin/bash
+
+# Print svn revisions for Dartium internal repositories. The output
+# is included in each Dartium archive build / release.
+#
+# This script is necessary because Dartium maintains its own branches
+# of Chromium and WebKit. This script is for temporary use only; it
+# will not be integrated back into Chromium.
+
+function version() {
+ if [ $(svnversion) == exported ]
+ then
+ # git-svn
+ git svn info | grep Revision | cut -c 11-
+ else
+ # svn
+ echo $(svnversion)
+ fi
+}
+
+root_dir=$(dirname $0)/../..
+pushd ${root_dir} > /dev/null
+echo dartium-chromium: $(version)
+cd third_party/WebKit
+echo dartium-webkit: $(version)
+cd ../../dart/runtime
+echo dartium-runtime: $(version)
+popd > /dev/null
« no previous file with comments | « tools/dartium/get_chromium_build.py ('k') | tools/dartium/set_reference_build_revision.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698