diff options
| author | 2023-12-12 18:08:40 +0000 | |
|---|---|---|
| committer | 2023-12-12 18:08:40 +0000 | |
| commit | b22fb3598107e8ec8851f901b03404f24e812d3a (patch) | |
| tree | c7d895a398a18bf76f31214cc3c3e4c352d1b787 /cc/cc.go | |
| parent | 284ec6a2d7631db621179837301410258103e294 (diff) | |
| parent | 26d380bf2292eb2d4c3b3ed492291373bbecc14c (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.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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) } |