mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
Removed Android AIDL from build scrips and tutorials as it's not needed since 4.9.0.
This commit is contained in:
@@ -1240,13 +1240,13 @@ JNIEXPORT void JNICALL Java_org_opencv_%(module)s_%(j_cls)s_delete
|
||||
def copy_java_files(java_files_dir, java_base_path, default_package_path='org/opencv/'):
|
||||
global total_files, updated_files
|
||||
java_files = []
|
||||
re_filter = re.compile(r'^.+\.(java|aidl|kt)(.in)?$')
|
||||
re_filter = re.compile(r'^.+\.(java|kt)(.in)?$')
|
||||
for root, dirnames, filenames in os.walk(java_files_dir):
|
||||
java_files += [os.path.join(root, filename) for filename in filenames if re_filter.match(filename)]
|
||||
java_files = [f.replace('\\', '/') for f in java_files]
|
||||
|
||||
re_package = re.compile(r'^package +(.+);')
|
||||
re_prefix = re.compile(r'^.+[\+/]([^\+]+).(java|aidl|kt)(.in)?$')
|
||||
re_prefix = re.compile(r'^.+[\+/]([^\+]+).(java|kt)(.in)?$')
|
||||
for java_file in java_files:
|
||||
src = checkFileRemap(java_file)
|
||||
with open(src, 'r') as f:
|
||||
|
||||
Reference in New Issue
Block a user