コード例 #1
0
def run_daemon_with_options(daemon_binary, args, output_file, jvm_debug_port=None):
  """Wrapper around run_daemon() with options determined from command-line options."""
  env_vars = {"JAVA_TOOL_OPTIONS": build_java_tool_options(jvm_debug_port)}
  if options.env_vars is not None:
    for kv in options.env_vars.split():
      k, v = kv.split('=')
      env_vars[k] = v
  run_daemon(daemon_binary, args, build_type=options.build_type, env_vars=env_vars,
      output_file=output_file)
コード例 #2
0
def run_daemon_with_options(daemon_binary,
                            args,
                            output_file,
                            jvm_debug_port=None):
    """Wrapper around run_daemon() with options determined from command-line options."""
    env_vars = {"JAVA_TOOL_OPTIONS": build_java_tool_options(jvm_debug_port)}
    run_daemon(daemon_binary,
               args,
               build_type=options.build_type,
               env_vars=env_vars,
               output_file=output_file)
コード例 #3
0
def run_daemon_with_options(daemon_binary, args, output_file, jvm_debug_port=None):
  """Wrapper around run_daemon() with options determined from command-line options."""
  env_vars = {"JAVA_TOOL_OPTIONS": build_java_tool_options(jvm_debug_port)}
  run_daemon(daemon_binary, args, build_type=options.build_type, env_vars=env_vars,
      output_file=output_file)