Flutter Engine
The Flutter Engine
builtin_libraries.h
Go to the documentation of this file.
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 FLUTTER_SHELL_PLATFORM_FUCHSIA_DART_RUNNER_BUILTIN_LIBRARIES_H_
6#define FLUTTER_SHELL_PLATFORM_FUCHSIA_DART_RUNNER_BUILTIN_LIBRARIES_H_
7
8#include <lib/fdio/namespace.h>
9#include <lib/zx/channel.h>
10
11#include <memory>
12#include <string>
13
14namespace dart_runner {
15
16void InitBuiltinLibrariesForIsolate(const std::string& script_uri,
17 fdio_ns_t* namespc,
18 int stdoutfd,
19 int stderrfd,
20 zx::channel directory_request,
21 bool service_isolate);
22
23} // namespace dart_runner
24
25#endif // FLUTTER_SHELL_PLATFORM_FUCHSIA_DART_RUNNER_BUILTIN_LIBRARIES_H_
void InitBuiltinLibrariesForIsolate(const std::string &script_uri, fdio_ns_t *namespc, int stdoutfd, int stderrfd, zx::channel directory_request, bool service_isolate)