[cscore] Limit jnicvstatic exports to only C and JNI symbols (#2565)

Reduces risk even more about accidentally interfering with OpenCV.
This commit is contained in:
Thad House
2020-07-03 21:53:56 -07:00
committed by GitHub
parent 2a0f79b90f
commit 6e4ee8da2b
4 changed files with 16 additions and 2 deletions

View File

@@ -79,7 +79,7 @@ class SingleNativeBuild implements Plugin<Project> {
components.each { component ->
if (component.name == "${nativeName}Base") {
base = (NativeLibrarySpec) component
} else if (component.name == "${nativeName}" || component.name == "${nativeName}JNI") {
} else if (component.name == "${nativeName}" || component.name == "${nativeName}JNI" || component.name == "${nativeName}JNICvStatic") {
subs << component
}
}