mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
sky_packager is a tool that generates a Dart script snapshot for Dart files intended to run with dart:sky. I plan to use this tool to experiment with startup performance. R=jackson@google.com Review URL: https://codereview.chromium.org/1178213003.
19 lines
551 B
C++
19 lines
551 B
C++
// Copyright 2015 The Chromium 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 SKY_TOOLS_PACKAGER_LOADER_H_
|
|
#define SKY_TOOLS_PACKAGER_LOADER_H_
|
|
|
|
#include <string>
|
|
|
|
#include "dart/runtime/include/dart_api.h"
|
|
|
|
Dart_Handle HandleLibraryTag(Dart_LibraryTag tag,
|
|
Dart_Handle library,
|
|
Dart_Handle url);
|
|
void LoadSkyInternals();
|
|
void LoadScript(std::string url);
|
|
|
|
#endif // SKY_TOOLS_PACKAGER_LOADER_H_
|