aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--android/androidmk.go3
-rw-r--r--android/module.go3
-rw-r--r--androidmk/cmd/androidmk/android.go1
3 files changed, 7 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")
}
diff --git a/android/module.go b/android/module.go
index 1e544700..a011f571 100644
--- a/android/module.go
+++ b/android/module.go
@@ -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"`
diff --git a/androidmk/cmd/androidmk/android.go b/androidmk/cmd/androidmk/android.go
index b2a8914e..a578bcfd 100644
--- a/androidmk/cmd/androidmk/android.go
+++ b/androidmk/cmd/androidmk/android.go
@@ -121,6 +121,7 @@ func init() {
"LOCAL_EXPORT_SHARED_LIBRARY_HEADERS": "export_shared_lib_headers",
"LOCAL_EXPORT_STATIC_LIBRARY_HEADERS": "export_static_lib_headers",
"LOCAL_INIT_RC": "init_rc",
+ "LOCAL_VINTF_FRAGMENTS": "vintf_fragments",
"LOCAL_TIDY_FLAGS": "tidy_flags",
// TODO: This is comma-separated, not space-separated
"LOCAL_TIDY_CHECKS": "tidy_checks",