File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -443,7 +443,11 @@ def modify_binary_mk(self):
443
443
android_libs = os .path .join (self .lib_dir , "android" )
444
444
android_mks = self .cfg_info [LibsCompiler .KEY_ANDROID_MKS ]
445
445
for mk_file in android_mks :
446
- mk_file_path = os .path .join (self .repo_x , mk_file )
446
+ mk_file_path = os .path .normpath (os .path .join (self .repo_x , mk_file ))
447
+ if not os .path .isfile (mk_file_path ):
448
+ Logging .warning (MultiLanguage .get_string ('COMPILE_ERROR_GRALEW_NOT_EXIST_FMT' , mk_file_path ))
449
+ continue
450
+
447
451
dst_file_path = os .path .join (os .path .dirname (mk_file_path ), "prebuilt-mk" , os .path .basename (mk_file_path ))
448
452
tmp_obj = gen_prebuilt_mk .MKGenerator (mk_file_path , android_libs , dst_file_path )
449
453
tmp_obj .do_generate ()
You can’t perform that action at this time.
0 commit comments