This commit is contained in:
zlzw 2023-06-14 17:59:08 +08:00
parent 3f9e95ce7d
commit 53ce1c703e
3 changed files with 20 additions and 8 deletions

View File

@ -93,10 +93,12 @@ android {
exclude 'lib/armeabi-v7a/libMNN_CL.so'
exclude 'lib/armeabi-v7a/libMNN_Express.so'
//
exclude 'lib/armeabi-v7a/libCNamaSDK.so'
exclude 'lib/arm64-v8a/libCNamaSDK.so'
exclude 'lib/armeabi-v7a/libfuai.so'
exclude 'lib/arm64-v8a/libfuai.so'
if(rootProject.ext.manifestPlaceholders.isPluginModel) {
exclude 'lib/armeabi-v7a/libCNamaSDK.so'
exclude 'lib/arm64-v8a/libCNamaSDK.so'
exclude 'lib/armeabi-v7a/libfuai.so'
exclude 'lib/arm64-v8a/libfuai.so'
}
}
compileOptions {
@ -143,11 +145,19 @@ android {
'Resources/*',
'Asset/*',
'image_effect_shaders/*',
'internal/*',
'internal/*'
//
'model/ai_face_processor_lite.bundle',
'graphics/face_beautification.bundle'
]))
println "isPluginModel = "+rootProject.ext.manifestPlaceholders.isPluginModel
if(rootProject.ext.manifestPlaceholders.isPluginModel){
delete(fileTree(dir: outputDir, includes: [
'model/ai_face_processor_lite.bundle',
'graphics/face_beautification.bundle'
]))
}else {
println "不删除bundle"
}
}
}
}

View File

@ -26,7 +26,9 @@ ext {
// true表示谷歌支付 false
isGooglePlay : false,
//
isUploadLog : true
isUploadLog : true,
//
isPluginModel : false,
]
}
//7664 1