commit | b1bca8b8c1ee744c4ae53bddbd2377df6e4525e1 | [log] [tgz] |
---|---|---|
author | Ryan Campbell <ryanjcampbell@google.com> | Mon Dec 12 10:56:28 2016 -0800 |
committer | Ryan Campbell <ryanjcampbell@google.com> | Mon Dec 12 10:59:32 2016 -0800 |
tree | 5c0007db296503c456313af94af98a203dcde5c6 | |
parent | 30f4ad6b149c63897e0758e572f9d52ea2535817 [diff] [blame] |
Add coverage flags to VTS light test. Build test with coverage flags to support coverage measurement at test time. Test: pass Bug: 32022457 Change-Id: Ia12f202900ecc243e43ed472c8609c2c7ccc3b4d
diff --git a/light/2.0/vts/functional/Android.bp b/light/2.0/vts/functional/Android.bp index b290b59..edb5ca9 100644 --- a/light/2.0/vts/functional/Android.bp +++ b/light/2.0/vts/functional/Android.bp
@@ -26,8 +26,12 @@ ], static_libs: ["libgtest"], cflags: [ + "--coverage", "-O0", "-g", ], + ldflags: [ + "--coverage" + ] }