Merge "Add vintf_fragments." am: 51ba4a7970

am: f974294c86

Change-Id: I0ed4fbbe7193687c9176a60bee639024b323612d
This commit is contained in:
Steven Moreland
2018-04-05 16:24:34 -07:00
committed by android-build-merger
3 changed files with 7 additions and 0 deletions

View File

@@ -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")
}

View File

@@ -242,6 +242,9 @@ type commonProperties struct {
// init.rc files to be installed if this module is installed
Init_rc []string
// VINTF manifest fragments to be installed if this module is installed
Vintf_fragments []string
// names of other modules to install if this module is installed
Required []string `android:"arch_variant"`