blob: 7f6e9b50c10b8383fa0abe3b865c7623efb634ad [file] [log] [blame]
// Copyright 2016 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef TOPAZ_RUNTIME_DART_RUNNER_BUILTIN_LIBRARIES_H_
#define TOPAZ_RUNTIME_DART_RUNNER_BUILTIN_LIBRARIES_H_
#include <memory>
#include <string>
#include <lib/fdio/namespace.h>
#include <fuchsia/sys/cpp/fidl.h>
#include "lib/component/cpp/startup_context.h"
namespace dart_runner {
void InitBuiltinLibrariesForIsolate(
const std::string& script_uri, fdio_ns_t* namespc, int stdoutfd,
int stderrfd, fidl::InterfaceHandle<fuchsia::sys::Environment> environment,
fidl::InterfaceRequest<fuchsia::sys::ServiceProvider> outgoing_services,
bool service_isolate);
} // namespace dart_runner
#endif // TOPAZ_RUNTIME_DART_RUNNER_BUILTIN_LIBRARIES_H_