Commit Graph

9 Commits

Author SHA1 Message Date
Android (Google) Code Review
a7319d7711 Merge change I9bdf6690
* changes:
  Forces adb root and remount when syncing.
2009-11-13 15:31:49 -08:00
Nicolas Catania
2997ec39a2 Forces adb root and remount when syncing.
The time it takes is very small to do these 2 operations.
Then sync never fails, even on the a device that has just rebooted.
2009-11-13 10:07:34 -08:00
Nicolas Catania
f6f5beaf64 Improved the search to catch warnings from the build subprocess.
The build subprocess' output is buffered (but not line buffered).
As a result partial lines are inserted. If the previous insert ended
in the middle of the pattern we are looking for, the search will fail (end missing).
When the second part is inserted, the search will also fail because this
time we start looking from the middle of the pattern (beginning missing).
To work around that, we always match from the beginning of the line.
2009-11-13 09:52:18 -08:00
Nicolas Catania
df098ce60f Added a filter to remove buildenv's warnings.
Warnings about makefiles and build scripts interfere
with `next-error'. If you are interested only in the
errors from the source file, a custom variable allows
you to nuke build env warnings.

The filter is registered as a compilation-filter-hook.
2009-10-15 11:21:15 -07:00
Nicolas Catania
2022dcd9f1 Standardized on one single output buffer for all the commands output.
All the commands output go to an *Android Output* buffer which
gets cleaned up before each command run.

Fixed a compilation bug, building from the top Makefile was not
generating a new image.
2009-10-13 09:10:19 -07:00
Nicolas Catania
081e65d06f New interactive functions to send commands to a device.
This is still a bit crude but now we can remount,sync,reboot and flash
a device from emacs.

Support product aliases.
2009-10-12 12:09:05 -07:00
Nicolas Catania
4a5dc7e0c3 Minor cleanup, fix documentation.
Refactored the tests for the makefile existence in a
separate function.
Ran checkdoc and fixed errors.
2009-10-09 09:29:33 -07:00
Nicolas Catania
f94bca2ab7 Added support for the number of jobs during a make.
Moved common functions in a new android-common.el file.
Declared a customizable variable to control the number
of jobs used during the make process.

In android-compile, call compile interactively to honor
 the compile-read-command feature to give the user the opportunity
to edit the command (e.g add the snod target)
2009-10-06 17:15:21 -07:00
Nicolas Catania
1925281cfa New module to compile android packages from emacs. 2009-10-05 16:51:09 -07:00