Export static libraries.
Export static libraries through LOCAL_STATIC_LIBRARIES and LOCAL_WHOLE_STATIC_LIBRARIES. This enables dependency-based NOTICE file generation. Also, add a notice property in the libwinpthread module. Bug: 36073965 Test: cc_test.go Change-Id: Ic63ca523b40acac82bbe876f7aa40ecd495907c5
This commit is contained in:
@@ -275,9 +275,10 @@ func translateAndroidModule(ctx SingletonContext, w io.Writer, mod blueprint.Mod
|
||||
if amod.commonProperties.Owner != nil {
|
||||
fmt.Fprintln(&data.preamble, "LOCAL_MODULE_OWNER :=", *amod.commonProperties.Owner)
|
||||
}
|
||||
if amod.commonProperties.Notice != nil {
|
||||
fmt.Fprintln(&data.preamble, "LOCAL_NOTICE_FILE :=", "$(LOCAL_PATH)/"+*amod.commonProperties.Notice)
|
||||
}
|
||||
}
|
||||
|
||||
if amod.commonProperties.Notice != nil {
|
||||
fmt.Fprintln(&data.preamble, "LOCAL_NOTICE_FILE :=", "$(LOCAL_PATH)/"+*amod.commonProperties.Notice)
|
||||
}
|
||||
|
||||
if host {
|
||||
|
Reference in New Issue
Block a user