update
This commit is contained in:
parent
3f9e95ce7d
commit
53ce1c703e
@ -93,10 +93,12 @@ android {
|
|||||||
exclude 'lib/armeabi-v7a/libMNN_CL.so'
|
exclude 'lib/armeabi-v7a/libMNN_CL.so'
|
||||||
exclude 'lib/armeabi-v7a/libMNN_Express.so'
|
exclude 'lib/armeabi-v7a/libMNN_Express.so'
|
||||||
//美颜
|
//美颜
|
||||||
exclude 'lib/armeabi-v7a/libCNamaSDK.so'
|
if(rootProject.ext.manifestPlaceholders.isPluginModel) {
|
||||||
exclude 'lib/arm64-v8a/libCNamaSDK.so'
|
exclude 'lib/armeabi-v7a/libCNamaSDK.so'
|
||||||
exclude 'lib/armeabi-v7a/libfuai.so'
|
exclude 'lib/arm64-v8a/libCNamaSDK.so'
|
||||||
exclude 'lib/arm64-v8a/libfuai.so'
|
exclude 'lib/armeabi-v7a/libfuai.so'
|
||||||
|
exclude 'lib/arm64-v8a/libfuai.so'
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
compileOptions {
|
compileOptions {
|
||||||
@ -143,11 +145,19 @@ android {
|
|||||||
'Resources/*',
|
'Resources/*',
|
||||||
'Asset/*',
|
'Asset/*',
|
||||||
'image_effect_shaders/*',
|
'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"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
@ -26,7 +26,9 @@ ext {
|
|||||||
// true表示谷歌支付 false
|
// true表示谷歌支付 false
|
||||||
isGooglePlay : false,
|
isGooglePlay : false,
|
||||||
//是否上报异常日志
|
//是否上报异常日志
|
||||||
isUploadLog : true
|
isUploadLog : true,
|
||||||
|
//是否打包成插件包模式
|
||||||
|
isPluginModel : false,
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
//7664 1
|
//7664 1
|
Loading…
Reference in New Issue
Block a user