diff options
author | Steven Moreland <smoreland@google.com> | 2018-04-04 15:42:19 -0700 |
---|---|---|
committer | Steven Moreland <smoreland@google.com> | 2018-04-05 20:33:01 +0000 |
commit | 57a23d2f207598571468b582c20bb9eac91b62c2 (patch) | |
tree | 1e325f7697832520d00bafcd808615d524649eed /android/androidmk.go | |
parent | bc30a775919b1907aa2a4596300e4ad89c568023 (diff) | |
download | build_soong-57a23d2f207598571468b582c20bb9eac91b62c2.tar.gz build_soong-57a23d2f207598571468b582c20bb9eac91b62c2.tar.bz2 build_soong-57a23d2f207598571468b582c20bb9eac91b62c2.zip |
Add vintf_fragments.
Bug: 66917623
Test: fragments are loaded in the right place
Test: boot device which is depending on fragments
Test: androidmk file which uses LOCAL_VINTF_FRAGMENTS properly
converted
Change-Id: I366b731cf8d5ecf51851866f441ff1c517da75cf
Diffstat (limited to 'android/androidmk.go')
-rw-r--r-- | android/androidmk.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/android/androidmk.go b/android/androidmk.go index 0ea75643..ebed05fd 100644 --- a/android/androidmk.go +++ b/android/androidmk.go @@ -227,6 +227,9 @@ func translateAndroidMkModule(ctx SingletonContext, w io.Writer, mod blueprint.M if len(amod.commonProperties.Init_rc) > 0 { fmt.Fprintln(&data.preamble, "LOCAL_INIT_RC := ", strings.Join(amod.commonProperties.Init_rc, " ")) } + if len(amod.commonProperties.Vintf_fragments) > 0 { + fmt.Fprintln(&data.preamble, "LOCAL_VINTF_FRAGMENTS := ", strings.Join(amod.commonProperties.Vintf_fragments, " ")) + } if Bool(amod.commonProperties.Proprietary) { fmt.Fprintln(&data.preamble, "LOCAL_PROPRIETARY_MODULE := true") } |