Publish Vulpes Preview 15 sources for desktop, Android and Tundra
Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
parent
93e3a48004
commit
b38dea0597
25901 changed files with 9982925 additions and 369 deletions
64
gaia/tests/jsmarionette/runner/marionette-js-runner/host/index.js
Executable file
64
gaia/tests/jsmarionette/runner/marionette-js-runner/host/index.js
Executable file
|
|
@ -0,0 +1,64 @@
|
|||
'use strict';
|
||||
var Host = require('./host');
|
||||
var Session = require('./session');
|
||||
|
||||
exports.help = {
|
||||
group: {
|
||||
title: 'Socket Host',
|
||||
description: 'Socket host uses mozbase to manage gecko applications.'
|
||||
},
|
||||
arguments: {
|
||||
'--serial': {
|
||||
dest: 'device_serial',
|
||||
defaultValue: null,
|
||||
help: 'Serial port (only with buildapp=device)',
|
||||
type: 'string'
|
||||
},
|
||||
|
||||
'--symbols-path': {
|
||||
dest: 'symbols_path',
|
||||
help: 'Path to build symbols used by crash reporting.',
|
||||
defaultValue: null,
|
||||
type: 'string'
|
||||
},
|
||||
|
||||
'--b2gpath': {
|
||||
dest: 'b2g_home',
|
||||
help: 'Path to b2g directory.',
|
||||
defaultValue: null,
|
||||
type: 'string'
|
||||
},
|
||||
|
||||
'--buildapp': {
|
||||
type: 'string',
|
||||
choices: ['device', 'desktop', 'emulator'],
|
||||
defaultValue: 'desktop',
|
||||
help: 'Type of gecko application to run.'
|
||||
},
|
||||
|
||||
'--runtime': {
|
||||
defaultValue: null,
|
||||
help: 'Path to b2g-bin when using buildapp=desktop'
|
||||
},
|
||||
|
||||
'--device-type': {
|
||||
dest: 'device_type',
|
||||
defaultValue: 'phone'
|
||||
},
|
||||
|
||||
'--dump-path': {
|
||||
dest: 'dump_path',
|
||||
defaultValue: process.cwd() + '/crash',
|
||||
help: 'path in which to store crash dumps. Will default to ' +
|
||||
'the \'minidumps\' directory in the current working directory'
|
||||
},
|
||||
|
||||
'--chrome': {
|
||||
defaultValue: 'chrome://b2g/content/shell.html',
|
||||
help: '--chrome option to set when starting b2g-desktop'
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
exports.createHost = Host.create;
|
||||
exports.createSession = Session.create;
|
||||
Loading…
Reference in a new issue