• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef TOPAZ_RUNTIME_DART_RUNNER_BUILTIN_LIBRARIES_H_
6 #define TOPAZ_RUNTIME_DART_RUNNER_BUILTIN_LIBRARIES_H_
7 
8 #include <memory>
9 #include <string>
10 
11 #include <lib/fdio/namespace.h>
12 
13 #include <fuchsia/sys/cpp/fidl.h>
14 
15 namespace dart_runner {
16 
17 void InitBuiltinLibrariesForIsolate(
18     const std::string& script_uri,
19     fdio_ns_t* namespc,
20     int stdoutfd,
21     int stderrfd,
22     fidl::InterfaceHandle<fuchsia::sys::Environment> environment,
23     zx::channel directory_request,
24     bool service_isolate);
25 
26 }  // namespace dart_runner
27 
28 #endif  // TOPAZ_RUNTIME_DART_RUNNER_BUILTIN_LIBRARIES_H_
29