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

Unified Diff: tools/observatory_tool.py

Issue 1352493002: Automatically set correct Observatory analytics version (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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 | « runtime/observatory/lib/src/app/analytics.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/observatory_tool.py
diff --git a/tools/observatory_tool.py b/tools/observatory_tool.py
index 90c2aa272f81eae443184164dbfefa871ea37938..062ad1c24f40a5582834220a83f6e3e1c3d7cad1 100755
--- a/tools/observatory_tool.py
+++ b/tools/observatory_tool.py
@@ -139,7 +139,9 @@ def ExecuteCommand(options, args):
options.pub_executable,
options.pub_snapshot,
options.package_root,
- ['build', '--output', args[0]],
+ ['build',
+ '-DOBS_VER=' + utils.GetVersion(),
+ '--output', args[0]],
options.silent)
elif (cmd == 'deploy'):
Deploy('build', 'deployed')
« no previous file with comments | « runtime/observatory/lib/src/app/analytics.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698