summaryrefslogtreecommitdiff
path: root/cc/cc.go
diff options
context:
space:
mode:
author Wei Li <weiwli@google.com> 2023-12-12 18:08:40 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2023-12-12 18:08:40 +0000
commitb22fb3598107e8ec8851f901b03404f24e812d3a (patch)
treec7d895a398a18bf76f31214cc3c3e4c352d1b787 /cc/cc.go
parent284ec6a2d7631db621179837301410258103e294 (diff)
parent26d380bf2292eb2d4c3b3ed492291373bbecc14c (diff)
Merge "Build native libraries used by layoutlib." into main am: c1fb159206 am: 1529f7f8de am: 26d380bf22
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2868429 Change-Id: I39c8c98c0ac4612ce1acdc9629ae7e5866d8e80c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'cc/cc.go')
-rw-r--r--cc/cc.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/cc/cc.go b/cc/cc.go
index 12db7975a..7a06128ed 100644
--- a/cc/cc.go
+++ b/cc/cc.go
@@ -617,6 +617,7 @@ type linker interface {
link(ctx ModuleContext, flags Flags, deps PathDeps, objs Objects) android.Path
appendLdflags([]string)
unstrippedOutputFilePath() android.Path
+ strippedAllOutputFilePath() android.Path
nativeCoverage() bool
coverageOutputFilePath() android.OptionalPath
@@ -3634,6 +3635,11 @@ func (c *Module) OutputFiles(tag string) (android.Paths, error) {
return android.PathsIfNonNil(c.linker.unstrippedOutputFilePath()), nil
}
return nil, nil
+ case "stripped_all":
+ if c.linker != nil {
+ return android.PathsIfNonNil(c.linker.strippedAllOutputFilePath()), nil
+ }
+ return nil, nil
default:
return nil, fmt.Errorf("unsupported module reference tag %q", tag)
}