+++ /dev/null
-{
- "const_ignore_list": [
- "EVENT_.*",
- "WINDOW_AUTOSIZE",
- "CV_WND_PROP_",
- "CV_WINDOW_",
- "CV_EVENT_",
- "CV_GUI_",
- "CV_PUSH_BUTTON",
- "CV_CHECKBOX",
- "CV_RADIOBOX",
- "WINDOW_.+",
- "WND_PROP_.+"
- ],
- "ManualFuncs" : {
- "Highgui" : {
- "namedWindow" : {"j_code" : [""], "jn_code" : [""], "cpp_code" : [""] },
- "destroyWindow" : {"j_code" : [""], "jn_code" : [""], "cpp_code" : [""] },
- "destroyAllWindows" : {"j_code" : [""], "jn_code" : [""], "cpp_code" : [""] },
- "startWindowThread" : {"j_code" : [""], "jn_code" : [""], "cpp_code" : [""] },
- "setWindowProperty" : {"j_code" : [""], "jn_code" : [""], "cpp_code" : [""] },
- "getWindowProperty" : {"j_code" : [""], "jn_code" : [""], "cpp_code" : [""] },
- "getTrackbarPos" : {"j_code" : [""], "jn_code" : [""], "cpp_code" : [""] },
- "setTrackbarPos" : {"j_code" : [""], "jn_code" : [""], "cpp_code" : [""] },
- "imshow" : {"j_code" : [""], "jn_code" : [""], "cpp_code" : [""] },
- "waitKey" : {"j_code" : [""], "jn_code" : [""], "cpp_code" : [""] },
- "moveWindow" : {"j_code" : [""], "jn_code" : [""], "cpp_code" : [""] },
- "resizeWindow" : {"j_code" : [""], "jn_code" : [""], "cpp_code" : [""] }
- }
- }
-}
if os.path.exists(java_test_files_dir):
copy_java_files(java_test_files_dir, java_test_base_path)
- generator.gen(srcfiles, module, dstdir, jni_path, java_path, common_headers)
+ if len(srcfiles) > 0:
+ generator.gen(srcfiles, module, dstdir, jni_path, java_path, common_headers)
+ else:
+ logging.info("No generated code for module: %s", module)
generator.finalize(jni_path)
print('Generated files: %d (updated %d)' % (total_files, updated_files))