Args:
output_directory: An optional path to the output directory. Ifnot set,
no built dependencies are configured.
custom_deps: An optional dictionary specifying custom dependencies.
This should be of the form:
{ 'dependency_name': { 'platform': 'path',
...
},
...
}
adb_path: An optional path to use for the adb binary. Ifnot set, this uses
the adb binary provided by the Android SDK.
use_local_devil_tools: Use locally built versions of devil_util,
forwarder_dist, etc. """
build_with_chromium = _BuildWithChromium()
devil_dynamic_config = { 'config_type': 'BaseConfig', 'dependencies': {},
} if use_local_devil_tools: # Non-chromium users of chromium's //build directory fetch build products # from google storage rather than use locally built copies. Chromium uses # locally-built copies so that changes to the tools can be easily tested.
_UseLocalBuildProducts(output_directory, devil_dynamic_config)
if custom_deps:
devil_dynamic_config['dependencies'].update(custom_deps) if adb_path:
devil_dynamic_config['dependencies'].update({ 'adb': { 'file_info': {
devil_env.GetPlatform(): { 'local_paths': [adb_path]
}
}
}
})
config_files = [_DEVIL_CONFIG] if build_with_chromium elseNone
devil_env.config.Initialize(configs=[devil_dynamic_config],
config_files=config_files)
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.