Merge changes from topic 'soong_init_rc'
* changes: Include frameworks/native Add init_rc property, equivalent to LOCAL_INIT_RC
This commit is contained in:
@@ -215,6 +215,9 @@ func translateAndroidMkModule(ctx blueprint.SingletonContext, w io.Writer, mod b
|
|||||||
if len(amod.commonProperties.Logtags) > 0 {
|
if len(amod.commonProperties.Logtags) > 0 {
|
||||||
fmt.Fprintln(w, "LOCAL_LOGTAGS_FILES := ", strings.Join(amod.commonProperties.Logtags, " "))
|
fmt.Fprintln(w, "LOCAL_LOGTAGS_FILES := ", strings.Join(amod.commonProperties.Logtags, " "))
|
||||||
}
|
}
|
||||||
|
if len(amod.commonProperties.Init_rc) > 0 {
|
||||||
|
fmt.Fprintln(w, "LOCAL_INIT_RC := ", strings.Join(amod.commonProperties.Init_rc, " "))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if host {
|
if host {
|
||||||
|
@@ -116,6 +116,9 @@ type commonProperties struct {
|
|||||||
// file
|
// file
|
||||||
Logtags []string
|
Logtags []string
|
||||||
|
|
||||||
|
// init.rc files to be installed if this module is installed
|
||||||
|
Init_rc []string
|
||||||
|
|
||||||
// Set by TargetMutator
|
// Set by TargetMutator
|
||||||
CompileTarget Target `blueprint:"mutated"`
|
CompileTarget Target `blueprint:"mutated"`
|
||||||
|
|
||||||
|
@@ -51,6 +51,7 @@ var standardProperties = map[string]struct {
|
|||||||
"LOCAL_LOGTAGS_FILES": {"logtags", bpparser.ListType},
|
"LOCAL_LOGTAGS_FILES": {"logtags", bpparser.ListType},
|
||||||
"LOCAL_EXPORT_SHARED_LIBRARY_HEADERS": {"export_shared_lib_headers", bpparser.ListType},
|
"LOCAL_EXPORT_SHARED_LIBRARY_HEADERS": {"export_shared_lib_headers", bpparser.ListType},
|
||||||
"LOCAL_EXPORT_STATIC_LIBRARY_HEADERS": {"export_static_lib_headers", bpparser.ListType},
|
"LOCAL_EXPORT_STATIC_LIBRARY_HEADERS": {"export_static_lib_headers", bpparser.ListType},
|
||||||
|
"LOCAL_INIT_RC": {"init_rc", bpparser.ListType},
|
||||||
|
|
||||||
"LOCAL_JAVA_RESOURCE_DIRS": {"java_resource_dirs", bpparser.ListType},
|
"LOCAL_JAVA_RESOURCE_DIRS": {"java_resource_dirs", bpparser.ListType},
|
||||||
"LOCAL_JAVACFLAGS": {"javacflags", bpparser.ListType},
|
"LOCAL_JAVACFLAGS": {"javacflags", bpparser.ListType},
|
||||||
|
Reference in New Issue
Block a user