mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-17 23:53:25 +02:00
Nexus 9 support. Home button doesn't work, presumably due to auto-unlocking.
This commit is contained in:
committed by
Kinnunen Simo
parent
28adf6fd96
commit
6b5ecf3afb
@@ -11,26 +11,31 @@ var streamutil = require('../../../util/streamutil')
|
||||
module.exports = syrup.serial()
|
||||
.dependency(require('../support/adb'))
|
||||
.dependency(require('../support/properties'))
|
||||
.define(function(options, adb, properties) {
|
||||
.dependency(require('../support/abi'))
|
||||
.define(function(options, adb, properties, abi) {
|
||||
var log = logger.createLogger('device:resources:remote')
|
||||
|
||||
var resources = {
|
||||
bin: {
|
||||
src: pathutil.vendor(util.format(
|
||||
'remote/libs/%s/remote%s'
|
||||
, properties['ro.product.cpu.abi']
|
||||
, properties['ro.build.version.sdk'] < 16 ? '-nopie' : ''
|
||||
))
|
||||
src: pathutil.requiredMatch(abi.b32.map(function(supportedAbi) {
|
||||
return pathutil.vendor(util.format(
|
||||
'remote/libs/%s/remote%s'
|
||||
, supportedAbi
|
||||
, abi.pie ? '' : '-nopie'
|
||||
))
|
||||
}))
|
||||
, dest: '/data/local/tmp/remote'
|
||||
, comm: 'remote'
|
||||
, mode: 0755
|
||||
}
|
||||
, lib: {
|
||||
src: pathutil.vendor(util.format(
|
||||
'remote/external/android-%d/%s/remote_external.so'
|
||||
, properties['ro.build.version.sdk']
|
||||
, properties['ro.product.cpu.abi']
|
||||
))
|
||||
src: pathutil.requiredMatch(abi.b32.map(function(supportedAbi) {
|
||||
return pathutil.vendor(util.format(
|
||||
'remote/external/android-%d/%s/remote_external.so'
|
||||
, properties['ro.build.version.sdk']
|
||||
, supportedAbi
|
||||
))
|
||||
}))
|
||||
, dest: '/data/local/tmp/remote_external.so'
|
||||
, mode: 0755
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user