Check package restrictions for Java libs.
Test: m checkbuild; inspect verbose log. Test: Manual - compile with unmet restrictions. Bug: 122937705 Change-Id: I9360ae8b6d9ce016b7827be5e8ffc6eb521809b7
This commit is contained in:
@@ -79,6 +79,10 @@ func (library *Library) AndroidMk() android.AndroidMkData {
|
||||
fmt.Fprintln(w, "LOCAL_EXPORT_SDK_LIBRARIES :=", strings.Join(library.exportedSdkLibs, " "))
|
||||
}
|
||||
|
||||
if len(library.additionalCheckedModules) != 0 {
|
||||
fmt.Fprintln(w, "LOCAL_ADDITIONAL_CHECKED_MODULE +=", strings.Join(library.additionalCheckedModules.Strings(), " "))
|
||||
}
|
||||
|
||||
// Temporary hack: export sources used to compile framework.jar to Make
|
||||
// to be used for droiddoc
|
||||
// TODO(ccross): remove this once droiddoc is in soong
|
||||
|
Reference in New Issue
Block a user