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

Unified Diff: mojo/spy/ui/spy_shell_to_html

Issue 281623007: Add mojo web UI framework based on Nat's TVCM (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missed a few Created 6 years, 7 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 | « mojo/spy/ui/spy_shell.js ('k') | mojo/spy/ui/spy_shell_to_html.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/spy/ui/spy_shell_to_html
diff --git a/tools/telemetry/find_dependencies b/mojo/spy/ui/spy_shell_to_html
similarity index 51%
copy from tools/telemetry/find_dependencies
copy to mojo/spy/ui/spy_shell_to_html
index 131f24dd62a6d328a04482a8fe87f98cf52d8a65..68ba0899ab527dfd650f72549cee3d797196557f 100755
--- a/tools/telemetry/find_dependencies
+++ b/mojo/spy/ui/spy_shell_to_html
@@ -3,8 +3,11 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-from telemetry.util import find_dependencies
-
+import os
+import sys
if __name__ == '__main__':
- find_dependencies.FindDependenciesCommand.main()
+ top_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
+ sys.path.append(top_dir)
+ from ui import spy_shell_to_html
+ sys.exit(spy_shell_to_html.Main(sys.argv))
« no previous file with comments | « mojo/spy/ui/spy_shell.js ('k') | mojo/spy/ui/spy_shell_to_html.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698