--
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
Have you considered builting this on top of existing Chrome Apps APIs?
I was actually going to suggest building an Android Debug Tools app that included its own shell with adb and fastboot as well as anything else that would be useful for debugging ARC apps or real devices.
Were you planning to make these commands available outside of developer mode or not? I think in general we've been trying to cut down what is available through crosh and adb has a pretty large attack surface.
The 2 main reasons I did not consider the Chrome Apps API was that it would involve keeping a fork of adb over the android repo with significant changes. Also, it looks like a window would need to stay open to keep the adb server running between commands which I expect to come through crosh.
--
You received this message because you are subscribed to the Google Groups "App Runtime for Chrome" group.
To unsubscribe from this group and stop receiving emails from it, send an email to arc-eng+u...@google.com.
To post to this group, send email to arc...@google.com.
To view this discussion on the web visit https://groups.google.com/a/google.com/d/msgid/arc-eng/55351D57.4060307%40chromium.org.
For more options, visit https://groups.google.com/a/google.com/d/optout.
Yes to all of the above though a native Pepper USB API is not out of the question. I just haven't seen any interest.
--
Also does adb and fastboot NACL binaries have to be generated for every specific target i.e. ARM, X86 etc ?Came to know about the existence of "PNACL" which enables creating portable native executable.I don't have a concrete idea of how it works, but, is it something that can be investigated ?
On Monday, April 27, 2015 at 4:10:33 PM UTC-7, Badhri Jagan Sridharan wrote:Yes Alex, seems pretty much similar to what we were planning to do..Motive being not to fork adb/fastboot implementation altogether, as it might turn into a maintenance nightmare.
(Since, we only have one flavor of adbd running on the android device side, which works for all the HOST OS's : linux/windows/mac)
But, I was not aware of the fact that NACL does not support USB API's and we have to rely on chromeUSB API's(similar to what flashstation does, I believe). However, the device discovery part from the host side can still be the same as it only requires scanning /dev/bus/usb node.So, at least the device discovery part of the usb_linux.c can be reused I think.
--
You received this message because you are subscribed to the Google Groups "App Runtime for Chrome" group.
To unsubscribe from this group and stop receiving emails from it, send an email to arc-eng+u...@google.com.
To post to this group, send email to arc...@google.com.
To view this discussion on the web visit https://groups.google.com/a/google.com/d/msgid/arc-eng/7e1e2765-9c7e-4cc8-8f3e-a223a469b0ba%40chromium.org.
PNaCl has a noticeable translation time on first load, including first load of any updates. For one of my hobby apps, a 1MB binary takes maybe 6-10 seconds on a Chromebook. I bet an app could trigger it from the event page, in the background, after each version update, so that the user wouldn't actually be blocked on translation. But I haven't tried doing that.All that said, I do ship my personal Chrome Apps as PNaCl, not NaCl. Compilation time, including SDK setup time, is much faster, the upload to CWS is smaller, and I like using cool technology.
To view this discussion on the web visit https://groups.google.com/a/google.com/d/msgid/arc-eng/CAAbOSc%3DYTENvjJKzUfSxA4f_H4kx7OnXGCuTGgQh9Da%2BbtyiGg%40mail.gmail.com.
For more options, visit https://groups.google.com/a/google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "App Runtime for Chrome" group.
To unsubscribe from this group and stop receiving emails from it, send an email to arc-eng+u...@google.com.
To post to this group, send email to arc...@google.com.
To view this discussion on the web visit https://groups.google.com/a/google.com/d/msgid/arc-eng/CAHFu6rDOmLRzrFWwNH2mjX%3Dvgika9mF0ZzXuYphvtO67ZDdixQ%40mail.gmail.com.