diff options
author | Dan Albert <danalbert@google.com> | 2016-08-08 14:44:56 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2016-08-08 14:45:24 -0700 |
commit | cdd4c24ff78525339b2193dee5b9c3e3f5c88a69 (patch) | |
tree | 719b57b6f62f006ef85619a5268a70aa901fd96a /cc/androidmk.go | |
parent | 705c84b9eeca8eec96fd69ecf0a73c0a4cd6c12a (diff) | |
download | build_soong-cdd4c24ff78525339b2193dee5b9c3e3f5c88a69.tar.gz build_soong-cdd4c24ff78525339b2193dee5b9c3e3f5c88a69.tar.bz2 build_soong-cdd4c24ff78525339b2193dee5b9c3e3f5c88a69.zip |
More fixes for decorator refactor.
Didn't catch these the first time because I hadn't done a clean build.
Test: rm -rf out && make ndk
Change-Id: Ia66ad614d2163272889ee6937a6449c44db16ac0
Diffstat (limited to 'cc/androidmk.go')
-rw-r--r-- | cc/androidmk.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cc/androidmk.go b/cc/androidmk.go index c19aa17b..283fe277 100644 --- a/cc/androidmk.go +++ b/cc/androidmk.go @@ -206,6 +206,8 @@ func (c *stubDecorator) AndroidMk(ctx AndroidMkContext, ret *android.AndroidMkDa ret.Extra = append(ret.Extra, func(w io.Writer, outputFile android.Path) error { path, file := filepath.Split(c.installPath) stem := strings.TrimSuffix(file, filepath.Ext(file)) + fmt.Fprintln(w, "LOCAL_SYSTEM_SHARED_LIBRARIES :=") + fmt.Fprintln(w, "LOCAL_MODULE_SUFFIX := "+outputFile.Ext()) fmt.Fprintln(w, "LOCAL_MODULE_PATH := "+path) fmt.Fprintln(w, "LOCAL_MODULE_STEM := "+stem) |