Collin Jackson
9d9486d20e
Speed up shelldb by skipping unnecessary copies of APK to device
...
Right now I'm storing a SHA1 in a folder in /sdcard since
that seems likely to work on non-rooted devices, but
I haven't tested it.
This cuts build times from 6.5 seconds to 1.5 seconds for
me. You can save another 0.5sec by passing the --no_install
flag to avoid the SHA1 check altogether if you're sure
that nothing has changed.
R=eseidel@chromium.org , eseidel, hixie
Review URL: https://codereview.chromium.org/1149113005
2015-05-26 17:51:19 -07:00
Collin Jackson
e47db7ae1d
Sky shelldb should restart app when using --no_install and forward observatory port
...
R=eseidel@chromium.org , eseidel
Review URL: https://codereview.chromium.org/1156993004
2015-05-26 11:16:08 -07:00
John McCutchan
ad1f78f42b
Have shelldb and skydb automatically download assets for you if they don't exist.
...
BUG=
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/1131373005
2015-05-19 14:22:55 -07:00
John McCutchan
9f6d79df33
Suppress unnamed library analyzer spam in shelldb
...
Revert "Add library names to many sky libraries"
This reverts commit 1337e0a803a54ee92d6dce7f8c4a6335f7cbb9fa.
BUG=
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/1142893007
2015-05-19 10:25:43 -07:00
John McCutchan
7a91ed422e
Fix shelldb workflow
...
- Add a real internals.dart entry point.
- Don't run deploy_sdk from shelldb.
- Suppress native functions error from analyzer output.
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/1145823002
2015-05-19 10:12:41 -07:00
Eric Seidel
5b60d0a358
Bump versionCode of SkyDemo.apk to avoid downgrade warning.
...
Also teach both skydb and shelldb to ignore version downgrades
I did not change sky_tool since maybe the warning makes sense
there?
R=abarth@chromium.org , chinmaygarde@google.com
Review URL: https://codereview.chromium.org/1138343002
2015-05-13 17:34:09 -07:00
Hixie
30074007c7
shelldb: Make shelldb analyze also analyze the packages, since that's where most development is actually happening at the moment.
...
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/1101893002
2015-04-27 09:16:50 -07:00
Eric Seidel
c71545ef1f
Make shelldb load sky_home by default
...
TBR=ianh@google.com
Review URL: https://codereview.chromium.org/1083963003
2015-04-14 12:49:22 -07:00
Eric Seidel
7352d571d5
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
Adam Barth
4fc0ac189a
Add a --no_install option to shelldb
...
This CL adds an option to shelldb to skip installing the APK if the user of the
tool knows that the APK is already up-to-date on the device.
R=ojan@chromium.org
Review URL: https://codereview.chromium.org/1002123003
2015-03-24 12:44:39 -07:00
Adam Barth
a606ea0f9e
Update references to Mojo core and bindings
...
Build fix after recent Dart bindings refactoring. Now that these libraries are
not included in the snapshot, we need to load them from the mojo package.
R=zra@google.com
TBR=zra@chromium.org
Review URL: https://codereview.chromium.org/1029683002
2015-03-23 13:22:38 -07:00
Adam Barth
b14165ea84
Enable tracing in SkyShell
...
This CL teaches shelldb how to trace SkyShell.
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/1027903002
2015-03-20 14:16:43 -07:00
Adam Barth
fb91aaee88
Update shelldb to work with new sky_sdk
...
We need to teach shelldb to deploy the Sky SDK and run SkyServer with the right
package root.
R=eseidel@chromium.org
Review URL: https://codereview.chromium.org/1007393002
2015-03-16 09:15:18 -07:00
Zachary Anderson
804248a6e3
Dart: Rename mojo:X -> dart:mojo.X
...
This is to better support integration with Dart SDK tools.
BUG=
R=erg@chromium.org
Review URL: https://codereview.chromium.org/998933005
2015-03-11 16:22:21 -07:00
Eric Seidel
66d5d9e270
Re-enable dart:sky in shelldb analyze.
...
It show 600+ "native" warnings, but those can be ignored
for now.
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/981103002
2015-03-05 16:22:50 -08:00
Eric Seidel
db770fd79a
Fix all dartanalyzer errors in dart:sky except the Native ones.
...
I also fixed all warnings. :)
This is the only error remaining:
[error] Native functions can only be declared in the SDK and code
that is loaded through native extensions
My understanding is that we need to do something similar to:
https://codereview.chromium.org/950063002/
in order to work around the 'native' issue.
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/981733009
2015-03-05 13:36:48 -08:00
Eric Seidel
fd65c40766
Add a new analyze command to shelldb to run the dart analyzer
...
This just makes it easier to run with the correct flags.
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/982093003
2015-03-05 11:28:57 -08:00
Eric Seidel
9e00d123de
Make shelldb not crash.
...
I clearly hadn't actually tested it. Sorry.
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/955263004
2015-03-03 12:49:56 -08:00
Eric Seidel
1a1026919f
Add super-primitive shelldb
...
This is basically skydb v2, except only for android.
I revisited some of the architecture decisions I made
in writing skydb. I also separated skyserver.py from
dependency on skypy/paths.py since it wasn't really adding
any value.
We could make this way fancier, but this should at least
make working with SkyDemo.apk easier for now.
R=abarth@chromium.org
Review URL: https://codereview.chromium.org/960233007
2015-03-03 10:55:22 -08:00