4577abd566
- Read the patch source files using the source mapping array generated for patch files instead of relying on a generated buffer containing the sources. - Modify the gyp files to ensure that all patch libraries are read directly from the sources. Remove the source buffer generation step in the gypi files for all patch files. R=hausner@google.com, iposva@google.com Review URL: https://codereview.chromium.org//14784010 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22436 260f80e4-7a28-3924-810f-c04153c831b5
49 lines
1.6 KiB
C++
49 lines
1.6 KiB
C++
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
#ifndef VM_BOOTSTRAP_H_
|
|
#define VM_BOOTSTRAP_H_
|
|
|
|
#include "vm/allocation.h"
|
|
|
|
namespace dart {
|
|
|
|
// Forward declarations.
|
|
class RawError;
|
|
|
|
class Bootstrap : public AllStatic {
|
|
public:
|
|
static RawError* LoadandCompileScripts();
|
|
static void SetupNativeResolver();
|
|
|
|
// Source path mapping for library URI and 'parts'.
|
|
static const char* async_source_paths_[];
|
|
static const char* corelib_source_paths_[];
|
|
static const char* collection_source_paths_[];
|
|
static const char* collection_dev_source_paths_[];
|
|
static const char* crypto_source_paths_[];
|
|
static const char* isolate_source_paths_[];
|
|
static const char* json_source_paths_[];
|
|
static const char* math_source_paths_[];
|
|
static const char* mirrors_source_paths_[];
|
|
static const char* typed_data_source_paths_[];
|
|
static const char* uri_source_paths_[];
|
|
static const char* utf_source_paths_[];
|
|
|
|
// Source path mapping for patch URI and 'parts'.
|
|
static const char* async_patch_paths_[];
|
|
static const char* corelib_patch_paths_[];
|
|
static const char* collection_patch_paths_[];
|
|
static const char* collection_dev_patch_paths_[];
|
|
static const char* isolate_patch_paths_[];
|
|
static const char* json_patch_paths_[];
|
|
static const char* math_patch_paths_[];
|
|
static const char* mirrors_patch_paths_[];
|
|
static const char* typed_data_patch_paths_[];
|
|
};
|
|
|
|
} // namespace dart
|
|
|
|
#endif // VM_BOOTSTRAP_H_
|