mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 09:53:21 +02:00
Update minicap for Android M support.
This commit is contained in:
@@ -32,13 +32,20 @@ module.exports = syrup.serial()
|
||||
, lib: {
|
||||
// @todo The lib ABI should match the bin ABI. Currently we don't
|
||||
// have an x86_64 version of the binary while the lib supports it.
|
||||
src: pathutil.requiredMatch(abi.all.map(function(supportedAbi) {
|
||||
return pathutil.vendor(util.format(
|
||||
'minicap/shared/android-%d/%s/minicap.so'
|
||||
, properties['ro.build.version.sdk']
|
||||
, supportedAbi
|
||||
))
|
||||
}))
|
||||
src: pathutil.requiredMatch(abi.all.reduce(function(all, supportedAbi) {
|
||||
return all.concat([
|
||||
pathutil.vendor(util.format(
|
||||
'minicap/shared/android-%s/%s/minicap.so'
|
||||
, properties['ro.build.version.release']
|
||||
, supportedAbi
|
||||
))
|
||||
, pathutil.vendor(util.format(
|
||||
'minicap/shared/android-%d/%s/minicap.so'
|
||||
, properties['ro.build.version.sdk']
|
||||
, supportedAbi
|
||||
))
|
||||
])
|
||||
}, []))
|
||||
, dest: '/data/local/tmp/minicap.so'
|
||||
, mode: 0755
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user