OSDN Git Service

Fix bug preventing multi-module native coverage.
authorRyan Campbell <ryanjcampbell@google.com>
Mon, 17 Oct 2016 22:43:21 +0000 (15:43 -0700)
committerRyan Campbell <ryanjcampbell@google.com>
Mon, 17 Oct 2016 22:43:21 +0000 (15:43 -0700)
commit4a3be3db47ce3881060d99a188812996ef0c61e3
treef197e33445ea93f0ad71f5765efd18cd88e9eee3
parent94180579f752e29588e40e5e56fbbb8fe9af6889
Fix bug preventing multi-module native coverage.

Fix a whitespace bug causing coverage to be enabled on all modules
whenever more than one module is specified. This is caused by
comparing whitespace to the empty string, which are not equal. Fix
by stripping the output to check for path matches.

Test: tested using local build with coverage enabled on NFC, lights
Change-Id: I61a775cfd135f94ea1e1ee9fdbed3c64c5bb1a2e
core/binary.mk