Eric Seidel
00ead9f76f
Don't run adb as part of shelldb boot
...
This defers running adb until we actually need the device-id
which makes shelldb not crash when adb isn't avaiable.
I also fixed to use ADB_PATH.
Chinmay ran into this when trying shelldb on Mac.
R=chinmaygarde@google.com , iansf@google.com
Review URL: https://codereview.chromium.org/1161843007
2015-06-03 11:20:33 -07:00
Eric Seidel
bf30484e02
Make --gdb and gdb_attach mostly work in shelldb
...
I'm not sure this is 100% working, but hopefully this
will help get jackson@ up and running with a shelldb
workflow.
R=iansf@google.com , jackson@google.com
Review URL: https://codereview.chromium.org/1167513003
2015-05-29 12:31:22 -07:00
Collin Jackson
39d005836a
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
0991da0d06
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
2f87b093cf
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
afbae48f73
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
0742438056
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
bd6319898b
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
b7427362cd
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
987ba83d49
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
9d26851ecb
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
a9404f3e35
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
cc12331d63
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
6d1228a2f3
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
d761ebde59
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
3cc4de9295
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
ebc0dd2c09
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
e3a8059796
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
e7335d39f4
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
2959de0e37
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
9e08140a15
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