Adam Barth 15fab09ab2 Introduce sky_packager
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.
2015-06-15 10:42:17 -07:00

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_