blob: 1dceff0f970357cd0e655a6c24e28146c3a57d6c [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, std::unique_ptr<component::StartupContext> context,
fidl::InterfaceRequest<fuchsia::sys::ServiceProvider> outgoing_services,
bool service_isolate);
} // namespace dart_runner
#endif // TOPAZ_RUNTIME_DART_RUNNER_BUILTIN_LIBRARIES_H_