Scott Graham
c1262abc03
Merge pull request #1108 from sgraham/android-home
...
Look in $ANDROID_HOME/platform-tools/adb too
2015-09-10 11:00:51 -07:00
Scott Graham
f2075ebb2e
Look in ANDROID_HOME/platform-tools/adb for adb too
2015-09-10 09:55:21 -07:00
Ian Fischer
c5735d3e01
Only log the tag and the message from Android, so logs look like “ANDROID: I/sky : Hello from Sky!”.
2015-09-09 14:22:48 -07:00
Ian Fischer
ab33604b84
Change warning to info when there are no running simulators.
2015-09-09 13:44:13 -07:00
Ian Fischer
caa7af00fe
Make it possible to start a sky app in an arbitrary relative path, rather than requiring the dart file to be in the current directory.
2015-09-08 17:13:41 -07:00
Ian Fischer
bd125e2e33
Return 0 or 2 from start and install commands.
2015-09-03 17:20:55 -07:00
Ian Fischer
1245aa7929
Correctly handle logging when devices are disconnected or logging processes otherwise crash.
2015-09-03 10:30:57 -07:00
Ian Fischer
c3e618fe37
Add a clear flag for sky_tool logs on Android.
2015-09-03 09:36:15 -07:00
Ian Fischer
1800c88967
Guard sky_tool logs against failures due to missing idevicesyslog
2015-09-02 17:08:32 -07:00
Ian Fischer
fcdd5f96de
Expose logs for Sky apps running on connected devices with sky_tool logs.
2015-09-02 15:42:27 -07:00
Ian Fischer
9510ea91ed
Log a warning when developers are using a dev build of the sky package.
2015-09-01 13:42:00 -07:00
Ian Fischer
f8fbe12bce
Don’t require specifying -p in ios_sim commands under normal circumstances.
2015-09-01 11:26:46 -07:00
Ian Fischer
e8dadb3a12
Refactor sky_tool install slightly and fix non-local builds.
2015-09-01 10:37:27 -07:00
Ian Fischer
2b1f00b0b4
Fix missing paren
2015-09-01 10:07:20 -07:00
Ian Fischer
0d7e90d590
Make it possible to download trace files on rooted devices using sky_tool stop_trace
2015-08-31 17:12:09 -07:00
Ian Fischer
0c089cb323
Extract install into its own sky_tool command.
2015-08-31 14:20:18 -07:00
Ian Fischer
17d89f3dbb
Avoid crashing when an iOS device isn’t connected.
2015-08-31 10:41:52 -07:00
Ian Fischer
576f51d4f4
Make it so that sky_tool doesn’t crash if an Android device isn’t attached.
...
Refactors a bunch of Android-related things into an AndroidDevice singleton class.
2015-08-28 17:13:39 -07:00
Ian Fischer
0ee00fb2fa
Add a verbose flag to sky_tool that logs all of shell commands being run.
...
Also clean up some formatting issues.
2015-08-28 11:00:54 -07:00
Ian Fischer
f3d9961af7
Add global release flag that will attempt to use release builds during install.
2015-08-28 09:37:54 -07:00
Ian Fischer
ec503ea9b8
Fix infinite loop in sky_tool listen if you didn’t specify —local-build
2015-08-27 15:29:26 -07:00
Ian Fischer
338ca571b2
Make sure that local build paths exist before doing things that expect them.
2015-08-27 13:46:15 -07:00
Ian Fischer
fdaea8b79d
Have “sky_tool listen” start with a refresh so that iOS devices don’t wait on a black screen for the first filesystem change.
2015-08-27 10:54:10 -07:00
Jim Beveridge
3c1672a899
Automatically update apk on device.
...
Fixes #454 .
2015-08-26 13:13:14 -07:00
Ian Fischer
3897ebfcfe
Minor cleanup of paths and quotes.
2015-08-24 16:29:20 -07:00
Ian Fischer
d8c97c46f3
Make sky_tool listen work on Linux.
2015-08-24 13:46:37 -07:00
Ian Fischer
96c5d075aa
Make sky_tool install to ios devices and simulators if available, and add a ‘listen’ command that will listen to filesystem changes in the current directory and update running versions of the app.
...
Also refactors ios_sim.py to be part of sky_tool.
The current skyx file that ‘listen’ generates does not contain material design icons, so icons will be missing.
2015-08-21 09:53:35 -07:00
Adam Barth
45be4c6faf
Kill sky_server by port instead of pid
...
We seem to have trouble killing sky_server by its pid. Instead, lets try
killing it by looking up which process is listening on the sky_server port.
2015-08-13 12:28:53 -07:00
Ian Fischer
7d3065679f
Rename build_path to build-path.
2015-08-07 14:27:23 -07:00
Ian Fischer
27f5fc4fea
Merge pull request #505 from iansf/sky_tool_build_path
...
Specify local build paths when using sky_tool.
2015-08-07 13:58:14 -07:00
Ian Fischer
31c8370eee
Add the ability to specify a path to the build
...
directory to support using sky_tool with local
builds.
2015-08-07 13:53:32 -07:00
Adam Barth
162b851431
Remove spurious print statement
2015-08-07 13:53:00 -07:00
Adam Barth
66ec3424c6
Add a --checked argument to sky_tool start
...
The --checked argument runs SkyShell in checked mode, which turns on type
checking and asserts.
2015-08-07 13:18:38 -07:00
Ian Fischer
50e2713ef3
Add a —poke flag to the sky_tool start command so that it is possible to
...
restart Sky apps on Android without having to restart SkyShell.
2015-08-05 10:27:47 -07:00
Jim Beveridge
b4a597e58b
Fixed adb version checking per code review
2015-08-04 10:42:19 -07:00
Jim Beveridge
dd59d6dca8
Make sky_tool much more user-friendly.
...
B=Fixes #187
2015-08-04 10:42:19 -07:00
John McCutchan
9ac5c5438f
Do not invoke mojom/generate.dart from sky_tool anymore
2015-07-31 10:13:48 -07:00
Adam Barth
c420d2c3f4
Fix sky_tool's installing of SkyShell.apk
...
We were walking over to the realdir too quickly, which meant we lost which
version of the sky_engine package we were supposed to use.
2015-07-27 10:05:16 -07:00
Adam Barth
edd9ddccb4
Remove the magic from the Sky package
...
We now just symlink the lib directory into the packages directory in the output
directory.
2015-07-23 16:52:32 -07:00
Adam Barth
c14ba33667
Create a SkyShell.apk
...
This CL introduces a SkyShell.apk that is separate from the SkyDemo.apk that we
upload to the store to show our demos. The SkyShell.apk is just an empty shell
that can run Sky applications on Android.
2015-07-23 13:26:01 -07:00
Adam Barth
278e0ab29d
Switch sky_tool to use a Dart-based HTTP server
...
The Python HTTP server was caching too agressively. Instead, use an HTTP server
written in Dart from the sky_tools package.
2015-07-23 00:22:41 -07:00
Adam Barth
665f6c33a4
Update sky_tool now that sky:// isn't a thing
...
Instead, just use a normal http URL.
2015-07-21 19:53:25 -07:00
Collin Jackson
633b65010c
After running filter-branch, move root directory into sky/
2015-07-16 11:54:25 -07:00
John McCutchan
57ec759e97
Rationalize Dart mojo and sky package structure.
...
NOTE: This CL appears far larger than it actually is for two reasons:
1) Many files were moved around to use the Dart package directory structure.
2) Many .dart files had to have import paths updated.
- Organize mojo/public/dart so that it uses standard Dart package layout
- Organize mojo/dart/apptest so that it uses a standard Dart package layout
- Organize sky/sdk so that it uses a standard Dart package layout
- Create a mojo/testing package (used by unittests)
- Introduce the 'dart_pkg' gn rule which populates gen/Config/dart-pkg
- All internally vended Dart packages must have a corresponding dart_pkg rule
- It is now possible to use dependency_overrides: in pubspec.yaml to mix internal and external package dependencies (enables analyzer, editor, webstorm usage for internal developers).
- Package root for dart content handler ends with "packages/"
- Imports of mojo package uris no longer need the "public/dart"
- mojo/public/tools/dart_package.py is a clone of mojo/public/tools/gn/zip.py
- Sky tests no longer run 'deploy_sdk' script.
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/1132063007
2015-05-18 14:41:39 -07:00
Eric Seidel
8c50d9339c
Update SDK README to discuss about:tracing and observatory.
...
TBR=ianh@google.com
Review URL: https://codereview.chromium.org/1114553004
2015-04-28 12:05:46 -07:00
Eric Seidel
7edc1d7df1
Add missing include in sky_tool
...
Also fixed missing entry in CHANGELOG.md
TBR=ianh@google.com
Review URL: https://codereview.chromium.org/1108393003
2015-04-28 11:34:12 -07:00
Eric Seidel
40b6b48ffd
Add start-tracing and stop-tracing commands to sky_tool
...
This is just copy-pasted from shelldb but should work.
TBR=ianh@google.com
Review URL: https://codereview.chromium.org/1112433003
2015-04-27 16:59:17 -07:00
Eric Seidel
9fd7ed7a93
Fix typo in sky_tool causing crash
...
This will require me to roll the sky pub package, sigh.
R=ianh@google.com
Review URL: https://codereview.chromium.org/1090713002
2015-04-15 13:29:47 -07:00
Eric Seidel
814d87fc87
Fix sky_tool's calling of adb, and shelldb's analyze and stop
...
Just silly fixes needed for our 4 copies of our python run script.
R=ianh@google.com
Review URL: https://codereview.chromium.org/1064983003
2015-04-07 15:15:56 -07:00
Eric Seidel
ea62fa7d72
Make the Sky pub package include our APK and teach sky_tool to install it
...
I'm not sure this is the final long-term solution, but works for now.
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/1022193002
2015-03-20 14:35:14 -07:00