diff options
| author | android-build-team Robot <android-build-team-robot@google.com> | 2020-02-05 02:13:57 +0000 |
|---|---|---|
| committer | android-build-team Robot <android-build-team-robot@google.com> | 2020-02-05 02:13:57 +0000 |
| commit | a4f4c0d08088a3bd8d00257e058d1bdfc093b1f8 (patch) | |
| tree | a861806004653c8cb5543528356938bcd9b2497f /cc/cc.go | |
| parent | 30977d507dd15b7df366b467f4012a3c75a25775 (diff) | |
| parent | 8ee870a540764c8b8ca538fec4ddf18d056b6ec4 (diff) | |
| download | build_soong-a4f4c0d08088a3bd8d00257e058d1bdfc093b1f8.tar.gz build_soong-a4f4c0d08088a3bd8d00257e058d1bdfc093b1f8.tar.bz2 build_soong-a4f4c0d08088a3bd8d00257e058d1bdfc093b1f8.zip | |
Snap for 6182290 from 8ee870a540764c8b8ca538fec4ddf18d056b6ec4 to qt-qpr3-releaseandroid-10.0.0_r41android-10.0.0_r40android-10.0.0_r39android-10.0.0_r38android-10.0.0_r37
Change-Id: I0b819cd37a1f6a04d0e2dcf61e3457e5711e94a8
Diffstat (limited to 'cc/cc.go')
| -rw-r--r-- | cc/cc.go | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -314,6 +314,7 @@ type linker interface { unstrippedOutputFilePath() android.Path nativeCoverage() bool + coverageOutputFilePath() android.OptionalPath } type installer interface { @@ -423,6 +424,13 @@ func (c *Module) UnstrippedOutputFile() android.Path { return nil } +func (c *Module) CoverageOutputFile() android.OptionalPath { + if c.linker != nil { + return c.linker.coverageOutputFilePath() + } + return android.OptionalPath{} +} + func (c *Module) RelativeInstallPath() string { if c.installer != nil { return c.installer.relativeInstallPath() |
