diff options
author | Xavier Ducrohet <xav@android.com> | 2012-06-01 17:43:05 -0700 |
---|---|---|
committer | Xavier Ducrohet <xav@android.com> | 2012-06-01 18:07:43 -0700 |
commit | 4152b691d53c5621c186bbd1a41f31024809aa7a (patch) | |
tree | 5795c90203c4b34b62f93501813ffe7626b6c55f /templates/build.template | |
parent | 6b0a56859a50f24bf7d9e53626f066b031d68862 (diff) | |
download | sdk-4152b691d53c5621c186bbd1a41f31024809aa7a.zip sdk-4152b691d53c5621c186bbd1a41f31024809aa7a.tar.gz sdk-4152b691d53c5621c186bbd1a41f31024809aa7a.tar.bz2 |
Ensure we grab all of a process output.
When grabing the output of an external process, during build,
we need to make sure we get all of it since we rely on this
to parse errors to put error markers on files.
The current helper methods returned as soon as the process was
finished but this didn't mean that its output was completely read.
This could cause issue where a process would fail but no error
were read, putting no marker on any file.
The fix is twofold:
- forces the helper to blocks until all the output is read.
- put a marker on the project if the exec fails but nothing
was output on stderr.
Change-Id: I8f0b3556ea9c4597a309627d6a14a2b0386e4e52
Diffstat (limited to 'templates/build.template')
0 files changed, 0 insertions, 0 deletions