| 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))
|
|
|