diff options
author | 2020-09-23 04:30:02 +0000 | |
---|---|---|
committer | 2020-10-19 01:26:50 -0400 | |
commit | ce679d29ec735058a0f655cd2dc5948dd521dd5c (patch) | |
tree | 9e710cff780ebb816c278930a49f641710ef8cd4 /android/singleton.go | |
parent | 509a9d35ac77b474088016327c21083239a4deb8 (diff) |
Add symlink_outputs support to Soong.
This CL adds symlink_outputs to various locations in Soong that creates
actions that creates symlink outputs, and explicitly mark them as such.
Test: m
Bug: 160568334
Change-Id: I322751bada52a9f49011c74731d84761586e03e7
Diffstat (limited to 'android/singleton.go')
-rw-r--r-- | android/singleton.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/android/singleton.go b/android/singleton.go index 9832378d5..bb6614dad 100644 --- a/android/singleton.go +++ b/android/singleton.go @@ -168,6 +168,10 @@ func (s *singletonContextAdaptor) Build(pctx PackageContext, params BuildParams) s.buildParams = append(s.buildParams, params) } bparams := convertBuildParams(params) + err := validateBuildParams(bparams) + if err != nil { + s.Errorf("%s: build parameter validation failed: %s", s.Name(), err.Error()) + } s.SingletonContext.Build(pctx.PackageContext, bparams) } |