Revert "Rename internal library dart:_collection-dev to dart:_internal."

Dartium needs updating too.

Committed: https://code.google.com/p/dart/source/detail?r=31827

R=floitsch@google.com

Review URL: https://codereview.chromium.org//133273011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31877 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
lrn@google.com
2014-01-16 12:06:38 +00:00
parent 9357caa547
commit 3b3e87cabc
71 changed files with 356 additions and 358 deletions
@@ -11241,7 +11241,7 @@ class CompileTimeErrorCodeTest extends ResolverTestCase {
}
void test_importInternalLibrary_collection() {
Source source = addSource(EngineTestCase.createSource(["import 'dart:_collection-dev';"]));
Source source = addSource(EngineTestCase.createSource(["import 'dart:_internal';"]));
resolve(source);
// Note, in these error cases we may generate an UNUSED_IMPORT hint, while we could prevent
// the hint from being generated by testing the import directive for the error, this is such a
+5 -5
View File
@@ -26,8 +26,8 @@ const char* DartUtils::kDartScheme = "dart:";
const char* DartUtils::kDartExtensionScheme = "dart-ext:";
const char* DartUtils::kAsyncLibURL = "dart:async";
const char* DartUtils::kBuiltinLibURL = "dart:builtin";
const char* DartUtils::kCollectionDevLibURL = "dart:_collection-dev";
const char* DartUtils::kCoreLibURL = "dart:core";
const char* DartUtils::kInternalLibURL = "dart:_internal";
const char* DartUtils::kIsolateLibURL = "dart:isolate";
const char* DartUtils::kIOLibURL = "dart:io";
const char* DartUtils::kIOLibPatchURL = "dart:io-patch";
@@ -679,11 +679,11 @@ Dart_Handle DartUtils::PrepareForScriptLoading(const char* package_root,
// Setup the internal library's 'internalPrint' function.
Dart_Handle print = Dart_Invoke(
builtin_lib, NewString("_getPrintClosure"), 0, NULL);
Dart_Handle url = NewString(kCollectionDevLibURL);
Dart_Handle url = NewString(kInternalLibURL);
DART_CHECK_VALID(url);
Dart_Handle collection_dev_lib = Dart_LookupLibrary(url);
DART_CHECK_VALID(collection_dev_lib);
Dart_Handle result = Dart_SetField(collection_dev_lib,
Dart_Handle internal_lib = Dart_LookupLibrary(url);
DART_CHECK_VALID(internal_lib);
Dart_Handle result = Dart_SetField(internal_lib,
NewString("_printClosure"),
print);
DART_CHECK_VALID(result);
+1 -1
View File
@@ -207,8 +207,8 @@ class DartUtils {
static const char* kDartExtensionScheme;
static const char* kAsyncLibURL;
static const char* kBuiltinLibURL;
static const char* kCollectionDevLibURL;
static const char* kCoreLibURL;
static const char* kInternalLibURL;
static const char* kIsolateLibURL;
static const char* kIOLibURL;
static const char* kIOLibPatchURL;
@@ -10540,7 +10540,7 @@ zO:{
call$0:[function(){if(B.G9()){var z=H.VM(new P.vs(0,$.X3,null,null,null,null,null,null),[null])
z.L7(null,null)
return z}return H.VM(new W.RO(document,"WebComponentsReady",!1),[null]).gFV(0)},"call$0" /* tearOffInfo */,null,0,0,null,"call"],
$isEH:true}}],["dart._collection.dev","dart:_collection-dev",,H,{
$isEH:true}}],["dart._collection.dev","dart:_internal",,H,{
"":"",
bQ:[function(a,b){var z
for(z=H.VM(new H.a7(a,a.length,0,null),[H.Kp(a,0)]);z.G();)b.call$1(z.mD)},"call$2" /* tearOffInfo */,"Mn",4,0,null,109,110],
@@ -10540,7 +10540,7 @@ zO:{
call$0:[function(){if(B.G9()){var z=H.VM(new P.vs(0,$.X3,null,null,null,null,null,null),[null])
z.L7(null,null)
return z}return H.VM(new W.RO(document,"WebComponentsReady",!1),[null]).gFV(0)},"call$0" /* tearOffInfo */,null,0,0,null,"call"],
$isEH:true}}],["dart._collection.dev","dart:_collection-dev",,H,{
$isEH:true}}],["dart._collection.dev","dart:_internal",,H,{
"":"",
bQ:[function(a,b){var z
for(z=H.VM(new H.a7(a,a.length,0,null),[H.Kp(a,0)]);z.G();)b.call$1(z.mD)},"call$2" /* tearOffInfo */,"Mn",4,0,null,109,110],
@@ -32715,7 +32715,7 @@ zO:{
call$0:[function(){if(B.G9()){var z=H.VM(new P.vs(0,$.X3,null,null,null,null,null,null),[null])
z.L7(null,null)
return z}return H.VM(new W.RO(document,"WebComponentsReady",!1),[null]).gFV(0)},"call$0" /* tearOffInfo */,null,0,0,null,"call"],
$isEH:true}}],["dart._collection.dev","dart:_collection-dev",,H,{
$isEH:true}}],["dart._collection.dev","dart:_internal",,H,{
"":"",
bQ:[function(a,b){var z
for(z=H.VM(new H.a7(a,a.length,0,null),[H.Kp(a,0)]);z.G();)b.call$1(z.mD)},"call$2" /* tearOffInfo */,"Mn",4,0,null,109,110],
+3 -3
View File
@@ -216,7 +216,7 @@ patch class NoSuchMethodError {
var args_message = args_mismatch ? " with matching arguments" : "";
var msg;
var memberName =
(_memberName == null) ? "" :_collection_dev.Symbol.getName(_memberName);
(_memberName == null) ? "" : internal.Symbol.getName(_memberName);
switch (level) {
case _InvocationMirror._DYNAMIC: {
if (_receiver == null) {
@@ -276,7 +276,7 @@ patch class NoSuchMethodError {
if (i > 0) {
actual_buf.write(", ");
}
actual_buf.write(_collection_dev.Symbol.getName(key));
actual_buf.write(internal.Symbol.getName(key));
actual_buf.write(": ");
actual_buf.write(Error.safeToString(value));
i++;
@@ -293,7 +293,7 @@ patch class NoSuchMethodError {
receiver_str = Error.safeToString(_receiver);
}
var memberName =
(_memberName == null) ? "" :_collection_dev.Symbol.getName(_memberName);
(_memberName == null) ? "" : internal.Symbol.getName(_memberName);
if (!args_mismatch) {
msg_buf.write(
"NoSuchMethodError : method not found: '$memberName'\n"
+1 -1
View File
@@ -22,7 +22,7 @@ patch class Function {
if (numNamedArguments > 0) {
namedArguments.forEach((name, value) {
arguments[argumentIndex++] = value;
names[nameIndex++] = _collection_dev.Symbol.getName(name);
names[nameIndex++] = internal.Symbol.getName(name);
});
}
return _apply(arguments, names);
@@ -2,11 +2,11 @@
# 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.
# Sources that patch the library "dart:_collection-dev".
# Sources that patch the library "dart:_internal".
{
'sources': [
'collection_dev_patch.dart',
'internal_patch.dart',
# The above file needs to be first as it imports required libraries.
'print_patch.dart',
'symbol_patch.dart',
+4 -4
View File
@@ -40,15 +40,15 @@ class _InvocationMirror implements Invocation {
if (_functionName.startsWith("get:")) {
_type = _GETTER;
_memberName =
new _collection_dev.Symbol.unvalidated(_functionName.substring(4));
new internal.Symbol.unvalidated(_functionName.substring(4));
} else if (_functionName.startsWith("set:")) {
_type = _SETTER;
_memberName =
new _collection_dev.Symbol.unvalidated(
new internal.Symbol.unvalidated(
_functionName.substring(4) + "=");
} else {
_type = _isSuperInvocation ? (_SUPER << _CALL_SHIFT) | _METHOD : _METHOD;
_memberName = new _collection_dev.Symbol.unvalidated(_functionName);
_memberName = new internal.Symbol.unvalidated(_functionName);
}
}
@@ -85,7 +85,7 @@ class _InvocationMirror implements Invocation {
for (int i = 0; i < numNamedArguments; i++) {
String arg_name = _argumentsDescriptor[2 + 2*i];
var arg_value = _arguments[_argumentsDescriptor[3 + 2*i]];
_namedArguments[new _collection_dev.Symbol.unvalidated(arg_name)] =
_namedArguments[new internal.Symbol.unvalidated(arg_name)] =
arg_value;
}
}
+1 -2
View File
@@ -2,8 +2,7 @@
// 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.
// TODO(ahe): Move _symbol_dev.Symbol to its own "private" library?
import "dart:_collection-dev" as _symbol_dev;
import "dart:_internal" as _symbol_dev;
/**
* Returns a [MirrorSystem] for the current isolate.
+2 -2
View File
@@ -43,7 +43,7 @@ patch class Object {
/* patch */ noSuchMethod(Invocation invocation) {
return _noSuchMethod(invocation.isMethod,
_collection_dev.Symbol.getName(invocation.memberName),
internal.Symbol.getName(invocation.memberName),
invocation._type,
invocation.positionalArguments,
_symbolMapToStringMap(invocation.namedArguments));
@@ -66,7 +66,7 @@ patch class Object {
static _symbolMapToStringMap(Map<Symbol, dynamic> map) {
var result = new Map<String, dynamic>();
map.forEach((Symbol key, value) {
result[_collection_dev.Symbol.getName(key)] = value;
result[internal.Symbol.getName(key)] = value;
});
return result;
}
+3
View File
@@ -4,6 +4,9 @@
// patch classes for Int8List ..... Float64List and ByteData implementations.
import "dart:_internal";
import 'dart:math' show Random;
patch class Int8List {
/* patch */ factory Int8List(int length) {
return new _Int8Array(length);
+2 -2
View File
@@ -414,7 +414,7 @@ BENCHMARK(CoreSnapshotSize) {
"import 'dart:async';\n"
"import 'dart:core';\n"
"import 'dart:collection';\n"
"import 'dart:_collection-dev';\n"
"import 'dart:_internal';\n"
"import 'dart:math';\n"
"import 'dart:isolate';\n"
"import 'dart:mirrors';\n"
@@ -440,7 +440,7 @@ BENCHMARK(StandaloneSnapshotSize) {
"import 'dart:async';\n"
"import 'dart:core';\n"
"import 'dart:collection';\n"
"import 'dart:_collection-dev';\n"
"import 'dart:_internal';\n"
"import 'dart:convert';\n"
"import 'dart:math';\n"
"import 'dart:isolate';\n"
+4 -4
View File
@@ -46,10 +46,10 @@ static bootstrap_lib_props bootstrap_libraries[] = {
collection,
Bootstrap::collection_source_paths_,
Bootstrap::collection_patch_paths_),
INIT_LIBRARY(ObjectStore::kCollectionDev,
_collection-dev,
Bootstrap::collection_dev_source_paths_,
Bootstrap::collection_dev_patch_paths_),
INIT_LIBRARY(ObjectStore::kInternal,
_internal,
Bootstrap::internal_source_paths_,
Bootstrap::internal_patch_paths_),
INIT_LIBRARY(ObjectStore::kIsolate,
isolate,
Bootstrap::isolate_source_paths_,
+2 -2
View File
@@ -23,8 +23,8 @@ class Bootstrap : public AllStatic {
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* convert_source_paths_[];
static const char* internal_source_paths_[];
static const char* isolate_source_paths_[];
static const char* json_source_paths_[];
static const char* math_source_paths_[];
@@ -36,8 +36,8 @@ class Bootstrap : public AllStatic {
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* convert_patch_paths_[];
static const char* internal_patch_paths_[];
static const char* isolate_patch_paths_[];
static const char* math_patch_paths_[];
static const char* mirrors_patch_paths_[];
+2 -2
View File
@@ -4616,7 +4616,7 @@ TEST_CASE(Invoke_Null) {
TEST_CASE(InvokeNoSuchMethod) {
const char* kScriptChars =
"import 'dart:_collection-dev' as _collection_dev;\n"
"import 'dart:_internal' as _internal;\n"
"class Expect {\n"
" static equals(a, b) {\n"
" if (a != b) {\n"
@@ -4627,7 +4627,7 @@ TEST_CASE(InvokeNoSuchMethod) {
"class TestClass {\n"
" static int fld1 = 0;\n"
" void noSuchMethod(Invocation invocation) {\n"
" var name = _collection_dev.Symbol.getName(invocation.memberName);\n"
" var name = _internal.Symbol.getName(invocation.memberName);\n"
" if (name == 'fld') {\n"
" Expect.equals(true, invocation.isGetter);\n"
" Expect.equals(false, invocation.isMethod);\n"
+1 -1
View File
@@ -378,7 +378,7 @@ static bool IsRecognizedLibrary(const Library& library) {
return (library.raw() == Library::CoreLibrary())
|| (library.raw() == Library::MathLibrary())
|| (library.raw() == Library::TypedDataLibrary())
|| (library.raw() == Library::CollectionDevLibrary());
|| (library.raw() == Library::InternalLibrary());
}
+1 -1
View File
@@ -177,7 +177,7 @@ class Range;
V(_TypedList, get:length, TypedDataLength, 26646119) \
V(_GrowableList, get:length, GrowableArrayLength, 1654255033) \
V(_StringBase, get:length, StringBaseLength, 1483549854) \
V(ListIterator, moveNext, ListIteratorMoveNext, 881367324) \
V(ListIterator, moveNext, ListIteratorMoveNext, 2062984847) \
V(_GrowableList, get:iterator, GrowableArrayIterator, 1155241039) \
V(_GrowableList, forEach, GrowableArrayForEach, 195359970) \
+1 -1
View File
@@ -40,7 +40,7 @@ TEST_CASE(IsolateSpawn) {
// Setup the internal library's 'internalPrint' function.
// Necessary because asynchronous errors use "print" to print their
// stack trace.
Dart_Handle url = NewString("dart:_collection-dev");
Dart_Handle url = NewString("dart:_internal");
DART_CHECK_VALID(url);
Dart_Handle internal_lib = Dart_LookupLibrary(url);
DART_CHECK_VALID(internal_lib);
+2 -2
View File
@@ -8399,8 +8399,8 @@ RawLibrary* Library::CollectionLibrary() {
}
RawLibrary* Library::CollectionDevLibrary() {
return Isolate::Current()->object_store()->collection_dev_library();
RawLibrary* Library::InternalLibrary() {
return Isolate::Current()->object_store()->internal_library();
}
+1 -1
View File
@@ -2664,7 +2664,7 @@ class Library : public Object {
static RawLibrary* AsyncLibrary();
static RawLibrary* CoreLibrary();
static RawLibrary* CollectionLibrary();
static RawLibrary* CollectionDevLibrary();
static RawLibrary* InternalLibrary();
static RawLibrary* IsolateLibrary();
static RawLibrary* MathLibrary();
static RawLibrary* MirrorsLibrary();
+6 -8
View File
@@ -24,8 +24,8 @@ class ObjectStore {
kAsync,
kCore,
kCollection,
kCollectionDev,
kConvert,
kInternal,
kIsolate,
kMath,
kMirrors,
@@ -273,10 +273,8 @@ class ObjectStore {
RawLibrary* builtin_library() const { return builtin_library_; }
RawLibrary* core_library() const { return core_library_; }
RawLibrary* collection_library() const { return collection_library_; }
RawLibrary* collection_dev_library() const {
return collection_dev_library_;
}
RawLibrary* convert_library() const { return convert_library_; }
RawLibrary* internal_library() const { return internal_library_; }
RawLibrary* isolate_library() const { return isolate_library_; }
RawLibrary* math_library() const { return math_library_; }
RawLibrary* mirrors_library() const { return mirrors_library_; }
@@ -292,12 +290,12 @@ class ObjectStore {
case kCollection:
collection_library_ = value.raw();
break;
case kCollectionDev:
collection_dev_library_ = value.raw();
break;
case kConvert:
convert_library_ = value.raw();
break;
case kInternal:
internal_library_ = value.raw();
break;
case kIsolate:
isolate_library_ = value.raw();
break;
@@ -465,8 +463,8 @@ class ObjectStore {
RawLibrary* builtin_library_;
RawLibrary* core_library_;
RawLibrary* collection_library_;
RawLibrary* collection_dev_library_;
RawLibrary* convert_library_;
RawLibrary* internal_library_;
RawLibrary* isolate_library_;
RawLibrary* math_library_;
RawLibrary* mirrors_library_;
+2 -2
View File
@@ -9805,9 +9805,9 @@ AstNode* Parser::ParseSymbolLiteral() {
} else {
ErrorMsg("illegal symbol literal");
}
// Lookup class Symbol from collection_dev library and call the
// Lookup class Symbol from internal library and call the
// constructor to create a symbol instance.
const Library& lib = Library::Handle(Library::CollectionDevLibrary());
const Library& lib = Library::Handle(Library::InternalLibrary());
const Class& symbol_class = Class::Handle(lib.LookupClass(Symbols::Symbol()));
ASSERT(!symbol_class.IsNull());
ArgumentListNode* constr_args = new ArgumentListNode(symbol_pos);
+1 -1
View File
@@ -273,8 +273,8 @@ class ObjectPointerVisitor;
V(DartAsync, "dart:async") \
V(DartCore, "dart:core") \
V(DartCollection, "dart:collection") \
V(DartCollectionDev, "dart:_collection-dev") \
V(DartConvert, "dart:convert") \
V(DartInternal, "dart:_internal") \
V(DartIsolate, "dart:isolate") \
V(DartMath, "dart:math") \
V(DartMirrors, "dart:mirrors") \
+249 -249
View File
@@ -13,22 +13,22 @@
'corelib_patch_cc_file': '<(gen_source_dir)/corelib_patch_gen.cc',
'collection_cc_file': '<(gen_source_dir)/collection_gen.cc',
'collection_patch_cc_file': '<(gen_source_dir)/collection_patch_gen.cc',
'collection_dev_cc_file': '<(gen_source_dir)/collection_dev_gen.cc',
'collection_dev_patch_cc_file': '<(gen_source_dir)/collection_dev_patch_gen.cc',
'convert_cc_file': '<(gen_source_dir)/convert_gen.cc',
'convert_patch_cc_file': '<(gen_source_dir)/convert_patch_gen.cc',
'internal_cc_file': '<(gen_source_dir)/internal_gen.cc',
'internal_patch_cc_file': '<(gen_source_dir)/internal_patch_gen.cc',
'isolate_cc_file': '<(gen_source_dir)/isolate_gen.cc',
'isolate_patch_cc_file': '<(gen_source_dir)/isolate_patch_gen.cc',
'math_cc_file': '<(gen_source_dir)/math_gen.cc',
'math_patch_cc_file': '<(gen_source_dir)/math_patch_gen.cc',
'mirrors_cc_file': '<(gen_source_dir)/mirrors_gen.cc',
'mirrors_patch_cc_file': '<(gen_source_dir)/mirrors_patch_gen.cc',
'isolate_cc_file': '<(gen_source_dir)/isolate_gen.cc',
'isolate_patch_cc_file': '<(gen_source_dir)/isolate_patch_gen.cc',
'typed_data_cc_file': '<(gen_source_dir)/typed_data_gen.cc',
'typed_data_patch_cc_file': '<(gen_source_dir)/typed_data_patch_gen.cc',
'service_cc_file': '<(gen_source_dir)/service_gen.cc',
'snapshot_test_dat_file': '<(gen_source_dir)/snapshot_test.dat',
'snapshot_test_in_dat_file': 'snapshot_test_in.dat',
'snapshot_test_dart_file': 'snapshot_test.dart',
'typed_data_cc_file': '<(gen_source_dir)/typed_data_gen.cc',
'typed_data_patch_cc_file': '<(gen_source_dir)/typed_data_patch_gen.cc',
},
'targets': [
{
@@ -99,14 +99,14 @@
'generate_corelib_patch_cc_file#host',
'generate_collection_cc_file#host',
'generate_collection_patch_cc_file#host',
'generate_collection_dev_cc_file#host',
'generate_collection_dev_patch_cc_file#host',
'generate_convert_cc_file#host',
'generate_convert_patch_cc_file#host',
'generate_math_cc_file#host',
'generate_math_patch_cc_file#host',
'generate_internal_cc_file#host',
'generate_internal_patch_cc_file#host',
'generate_isolate_cc_file#host',
'generate_isolate_patch_cc_file#host',
'generate_math_cc_file#host',
'generate_math_patch_cc_file#host',
'generate_mirrors_cc_file#host',
'generate_mirrors_patch_cc_file#host',
'generate_typed_data_cc_file#host',
@@ -130,14 +130,14 @@
'<(corelib_patch_cc_file)',
'<(collection_cc_file)',
'<(collection_patch_cc_file)',
'<(collection_dev_cc_file)',
'<(collection_dev_patch_cc_file)',
'<(convert_cc_file)',
'<(convert_patch_cc_file)',
'<(math_cc_file)',
'<(math_patch_cc_file)',
'<(internal_cc_file)',
'<(internal_patch_cc_file)',
'<(isolate_cc_file)',
'<(isolate_patch_cc_file)',
'<(math_cc_file)',
'<(math_patch_cc_file)',
'<(mirrors_cc_file)',
'<(mirrors_patch_cc_file)',
'<(typed_data_cc_file)',
@@ -206,6 +206,206 @@
},
]
},
{
'target_name': 'generate_async_patch_cc_file',
'type': 'none',
'toolsets':['host'],
'includes': [
# Load the runtime implementation sources.
'../lib/async_sources.gypi',
],
'sources/': [
# Exclude all .[cc|h] files.
# This is only here for reference. Excludes happen after
# variable expansion, so the script has to do its own
# exclude processing of the sources being passed.
['exclude', '\\.cc|h$'],
],
'actions': [
{
'action_name': 'generate_async_patch_cc',
'inputs': [
'../tools/gen_library_src_paths.py',
'<(libgen_in_cc_file)',
'<@(_sources)',
],
'outputs': [
'<(async_patch_cc_file)',
],
'action': [
'python',
'tools/gen_library_src_paths.py',
'--output', '<(async_patch_cc_file)',
'--input_cc', '<(libgen_in_cc_file)',
'--include', 'vm/bootstrap.h',
'--var_name', 'dart::Bootstrap::async_patch_paths_',
'--library_name', 'dart:async',
'<@(_sources)',
],
'message': 'Generating ''<(async_patch_cc_file)'' file.'
},
]
},
{
'target_name': 'generate_collection_cc_file',
'type': 'none',
'toolsets':['host'],
'includes': [
# Load the shared collection library sources.
'../../sdk/lib/collection/collection_sources.gypi',
],
'sources/': [
# Exclude all .[cc|h] files.
# This is only here for reference. Excludes happen after
# variable expansion, so the script has to do its own
# exclude processing of the sources being passed.
['exclude', '\\.cc|h$'],
],
'actions': [
{
'action_name': 'generate_collection_cc',
'inputs': [
'../tools/gen_library_src_paths.py',
'<(libgen_in_cc_file)',
'<@(_sources)',
],
'outputs': [
'<(collection_cc_file)',
],
'action': [
'python',
'tools/gen_library_src_paths.py',
'--output', '<(collection_cc_file)',
'--input_cc', '<(libgen_in_cc_file)',
'--include', 'vm/bootstrap.h',
'--var_name', 'dart::Bootstrap::collection_source_paths_',
'--library_name', 'dart:collection',
'<@(_sources)',
],
'message': 'Generating ''<(collection_cc_file)'' file.'
},
]
},
{
'target_name': 'generate_collection_patch_cc_file',
'type': 'none',
'toolsets':['host'],
'includes': [
# Load the runtime implementation sources.
'../lib/collection_sources.gypi',
],
'sources/': [
# Exclude all .[cc|h] files.
# This is only here for reference. Excludes happen after
# variable expansion, so the script has to do its own
# exclude processing of the sources being passed.
['exclude', '\\.cc|h$'],
],
'actions': [
{
'action_name': 'generate_collection_patch_cc',
'inputs': [
'../tools/gen_library_src_paths.py',
'<(libgen_in_cc_file)',
'<@(_sources)',
],
'outputs': [
'<(collection_patch_cc_file)',
],
'action': [
'python',
'tools/gen_library_src_paths.py',
'--output', '<(collection_patch_cc_file)',
'--input_cc', '<(libgen_in_cc_file)',
'--include', 'vm/bootstrap.h',
'--var_name', 'dart::Bootstrap::collection_patch_paths_',
'--library_name', 'dart:collection',
'<@(_sources)',
],
'message': 'Generating ''<(collection_patch_cc_file)'' file.'
},
]
},
{
'target_name': 'generate_convert_cc_file',
'type': 'none',
'toolsets':['host'],
'includes': [
# Load the shared convert library sources.
'../../sdk/lib/convert/convert_sources.gypi',
],
'sources/': [
# Exclude all .[cc|h] files.
# This is only here for reference. Excludes happen after
# variable expansion, so the script has to do its own
# exclude processing of the sources being passed.
['exclude', '\\.cc|h$'],
],
'actions': [
{
'action_name': 'generate_convert_cc',
'inputs': [
'../tools/gen_library_src_paths.py',
'<(libgen_in_cc_file)',
'<@(_sources)',
],
'outputs': [
'<(convert_cc_file)',
],
'action': [
'python',
'tools/gen_library_src_paths.py',
'--output', '<(convert_cc_file)',
'--input_cc', '<(libgen_in_cc_file)',
'--include', 'vm/bootstrap.h',
'--var_name', 'dart::Bootstrap::convert_source_paths_',
'--library_name', 'dart:convert',
'<@(_sources)',
],
'message': 'Generating ''<(convert_cc_file)'' file.'
},
]
},
{
'target_name': 'generate_convert_patch_cc_file',
'type': 'none',
'toolsets':['host'],
'includes': [
# Load the shared convert library sources.
'../lib/convert_sources.gypi',
],
'sources/': [
# Exclude all .[cc|h] files.
# This is only here for reference. Excludes happen after
# variable expansion, so the script has to do its own
# exclude processing of the sources being passed.
['exclude', '\\.cc|h$'],
],
'actions': [
{
'action_name': 'generate_convert_patch_cc',
'inputs': [
'../tools/gen_library_src_paths.py',
'<(libgen_in_cc_file)',
'<@(_sources)',
],
'outputs': [
'<(convert_patch_cc_file)',
],
'action': [
'python',
'tools/gen_library_src_paths.py',
'--output', '<(convert_patch_cc_file)',
'--input_cc', '<(libgen_in_cc_file)',
'--include', 'vm/bootstrap.h',
'--var_name', 'dart::Bootstrap::convert_patch_paths_',
'--library_name', 'dart:convert',
'<@(_sources)',
],
'message': 'Generating ''<(convert_patch_cc_file)'' file.'
},
]
},
{
'target_name': 'generate_corelib_cc_file',
'type': 'none',
@@ -287,52 +487,12 @@
]
},
{
'target_name': 'generate_collection_cc_file',
'type': 'none',
'toolsets':['host'],
'includes': [
# Load the shared collection library sources.
'../../sdk/lib/collection/collection_sources.gypi',
],
'sources/': [
# Exclude all .[cc|h] files.
# This is only here for reference. Excludes happen after
# variable expansion, so the script has to do its own
# exclude processing of the sources being passed.
['exclude', '\\.cc|h$'],
],
'actions': [
{
'action_name': 'generate_collection_cc',
'inputs': [
'../tools/gen_library_src_paths.py',
'<(libgen_in_cc_file)',
'<@(_sources)',
],
'outputs': [
'<(collection_cc_file)',
],
'action': [
'python',
'tools/gen_library_src_paths.py',
'--output', '<(collection_cc_file)',
'--input_cc', '<(libgen_in_cc_file)',
'--include', 'vm/bootstrap.h',
'--var_name', 'dart::Bootstrap::collection_source_paths_',
'--library_name', 'dart:collection',
'<@(_sources)',
],
'message': 'Generating ''<(collection_cc_file)'' file.'
},
]
},
{
'target_name': 'generate_collection_dev_patch_cc_file',
'target_name': 'generate_internal_patch_cc_file',
'type': 'none',
'toolsets':['host'],
'includes': [
# Load the runtime implementation sources.
'../lib/collection_dev_sources.gypi',
'../lib/internal_sources.gypi',
],
'sources/': [
# Exclude all .[cc|h] files.
@@ -343,36 +503,36 @@
],
'actions': [
{
'action_name': 'generate_collection_dev_patch_cc',
'action_name': 'generate_internal_patch_cc',
'inputs': [
'../tools/gen_library_src_paths.py',
'<(libgen_in_cc_file)',
'<@(_sources)',
],
'outputs': [
'<(collection_dev_patch_cc_file)',
'<(internal_patch_cc_file)',
],
'action': [
'python',
'tools/gen_library_src_paths.py',
'--output', '<(collection_dev_patch_cc_file)',
'--output', '<(internal_patch_cc_file)',
'--input_cc', '<(libgen_in_cc_file)',
'--include', 'vm/bootstrap.h',
'--var_name', 'dart::Bootstrap::collection_dev_patch_paths_',
'--library_name', 'dart:_collection-dev',
'--var_name', 'dart::Bootstrap::internal_patch_paths_',
'--library_name', 'dart:_internal',
'<@(_sources)',
],
'message': 'Generating ''<(collection_dev_patch_cc_file)'' file.'
'message': 'Generating ''<(internal_patch_cc_file)'' file.'
},
]
},
{
'target_name': 'generate_collection_dev_cc_file',
'target_name': 'generate_internal_cc_file',
'type': 'none',
'toolsets':['host'],
'includes': [
# Load the shared collection_dev library sources.
'../../sdk/lib/_collection_dev/collection_dev_sources.gypi',
# Load the shared internal library sources.
'../../sdk/lib/internal/internal_sources.gypi',
],
'sources/': [
# Exclude all .[cc|h] files.
@@ -383,36 +543,36 @@
],
'actions': [
{
'action_name': 'generate_collection_dev_cc',
'action_name': 'generate_internal_cc',
'inputs': [
'../tools/gen_library_src_paths.py',
'<(libgen_in_cc_file)',
'<@(_sources)',
],
'outputs': [
'<(collection_dev_cc_file)',
'<(internal_cc_file)',
],
'action': [
'python',
'tools/gen_library_src_paths.py',
'--output', '<(collection_dev_cc_file)',
'--output', '<(internal_cc_file)',
'--input_cc', '<(libgen_in_cc_file)',
'--include', 'vm/bootstrap.h',
'--var_name', 'dart::Bootstrap::collection_dev_source_paths_',
'--library_name', 'dart:_collection-dev',
'--var_name', 'dart::Bootstrap::internal_source_paths_',
'--library_name', 'dart:_internal',
'<@(_sources)',
],
'message': 'Generating ''<(collection_dev_cc_file)'' file.'
'message': 'Generating ''<(internal_cc_file)'' file.'
},
]
},
{
'target_name': 'generate_convert_cc_file',
'target_name': 'generate_isolate_cc_file',
'type': 'none',
'toolsets':['host'],
'includes': [
# Load the shared convert library sources.
'../../sdk/lib/convert/convert_sources.gypi',
# Load the runtime implementation sources.
'../../sdk/lib/isolate/isolate_sources.gypi',
],
'sources/': [
# Exclude all .[cc|h] files.
@@ -423,36 +583,36 @@
],
'actions': [
{
'action_name': 'generate_convert_cc',
'action_name': 'generate_isolate_cc',
'inputs': [
'../tools/gen_library_src_paths.py',
'<(libgen_in_cc_file)',
'<@(_sources)',
],
'outputs': [
'<(convert_cc_file)',
'<(isolate_cc_file)',
],
'action': [
'python',
'tools/gen_library_src_paths.py',
'--output', '<(convert_cc_file)',
'--output', '<(isolate_cc_file)',
'--input_cc', '<(libgen_in_cc_file)',
'--include', 'vm/bootstrap.h',
'--var_name', 'dart::Bootstrap::convert_source_paths_',
'--library_name', 'dart:convert',
'--var_name', 'dart::Bootstrap::isolate_source_paths_',
'--library_name', 'dart:isolate',
'<@(_sources)',
],
'message': 'Generating ''<(convert_cc_file)'' file.'
'message': 'Generating ''<(isolate_cc_file)'' file.'
},
]
},
{
'target_name': 'generate_convert_patch_cc_file',
'target_name': 'generate_isolate_patch_cc_file',
'type': 'none',
'toolsets':['host'],
'includes': [
# Load the shared convert library sources.
'../lib/convert_sources.gypi',
# Load the runtime implementation sources.
'../lib/isolate_sources.gypi',
],
'sources/': [
# Exclude all .[cc|h] files.
@@ -463,26 +623,26 @@
],
'actions': [
{
'action_name': 'generate_convert_patch_cc',
'action_name': 'generate_isolate_patch_cc',
'inputs': [
'../tools/gen_library_src_paths.py',
'<(libgen_in_cc_file)',
'<@(_sources)',
],
'outputs': [
'<(convert_patch_cc_file)',
'<(isolate_patch_cc_file)',
],
'action': [
'python',
'tools/gen_library_src_paths.py',
'--output', '<(convert_patch_cc_file)',
'--output', '<(isolate_patch_cc_file)',
'--input_cc', '<(libgen_in_cc_file)',
'--include', 'vm/bootstrap.h',
'--var_name', 'dart::Bootstrap::convert_patch_paths_',
'--library_name', 'dart:convert',
'--var_name', 'dart::Bootstrap::isolate_patch_paths_',
'--library_name', 'dart:isolate',
'<@(_sources)',
],
'message': 'Generating ''<(convert_patch_cc_file)'' file.'
'message': 'Generating ''<(isolate_patch_cc_file)'' file.'
},
]
},
@@ -646,166 +806,6 @@
},
]
},
{
'target_name': 'generate_isolate_cc_file',
'type': 'none',
'toolsets':['host'],
'includes': [
# Load the runtime implementation sources.
'../../sdk/lib/isolate/isolate_sources.gypi',
],
'sources/': [
# Exclude all .[cc|h] files.
# This is only here for reference. Excludes happen after
# variable expansion, so the script has to do its own
# exclude processing of the sources being passed.
['exclude', '\\.cc|h$'],
],
'actions': [
{
'action_name': 'generate_isolate_cc',
'inputs': [
'../tools/gen_library_src_paths.py',
'<(libgen_in_cc_file)',
'<@(_sources)',
],
'outputs': [
'<(isolate_cc_file)',
],
'action': [
'python',
'tools/gen_library_src_paths.py',
'--output', '<(isolate_cc_file)',
'--input_cc', '<(libgen_in_cc_file)',
'--include', 'vm/bootstrap.h',
'--var_name', 'dart::Bootstrap::isolate_source_paths_',
'--library_name', 'dart:isolate',
'<@(_sources)',
],
'message': 'Generating ''<(isolate_cc_file)'' file.'
},
]
},
{
'target_name': 'generate_async_patch_cc_file',
'type': 'none',
'toolsets':['host'],
'includes': [
# Load the runtime implementation sources.
'../lib/async_sources.gypi',
],
'sources/': [
# Exclude all .[cc|h] files.
# This is only here for reference. Excludes happen after
# variable expansion, so the script has to do its own
# exclude processing of the sources being passed.
['exclude', '\\.cc|h$'],
],
'actions': [
{
'action_name': 'generate_async_patch_cc',
'inputs': [
'../tools/gen_library_src_paths.py',
'<(libgen_in_cc_file)',
'<@(_sources)',
],
'outputs': [
'<(async_patch_cc_file)',
],
'action': [
'python',
'tools/gen_library_src_paths.py',
'--output', '<(async_patch_cc_file)',
'--input_cc', '<(libgen_in_cc_file)',
'--include', 'vm/bootstrap.h',
'--var_name', 'dart::Bootstrap::async_patch_paths_',
'--library_name', 'dart:async',
'<@(_sources)',
],
'message': 'Generating ''<(async_patch_cc_file)'' file.'
},
]
},
{
'target_name': 'generate_collection_patch_cc_file',
'type': 'none',
'toolsets':['host'],
'includes': [
# Load the runtime implementation sources.
'../lib/collection_sources.gypi',
],
'sources/': [
# Exclude all .[cc|h] files.
# This is only here for reference. Excludes happen after
# variable expansion, so the script has to do its own
# exclude processing of the sources being passed.
['exclude', '\\.cc|h$'],
],
'actions': [
{
'action_name': 'generate_collection_patch_cc',
'inputs': [
'../tools/gen_library_src_paths.py',
'<(libgen_in_cc_file)',
'<@(_sources)',
],
'outputs': [
'<(collection_patch_cc_file)',
],
'action': [
'python',
'tools/gen_library_src_paths.py',
'--output', '<(collection_patch_cc_file)',
'--input_cc', '<(libgen_in_cc_file)',
'--include', 'vm/bootstrap.h',
'--var_name', 'dart::Bootstrap::collection_patch_paths_',
'--library_name', 'dart:collection',
'<@(_sources)',
],
'message': 'Generating ''<(collection_patch_cc_file)'' file.'
},
]
},
{
'target_name': 'generate_isolate_patch_cc_file',
'type': 'none',
'toolsets':['host'],
'includes': [
# Load the runtime implementation sources.
'../lib/isolate_sources.gypi',
],
'sources/': [
# Exclude all .[cc|h] files.
# This is only here for reference. Excludes happen after
# variable expansion, so the script has to do its own
# exclude processing of the sources being passed.
['exclude', '\\.cc|h$'],
],
'actions': [
{
'action_name': 'generate_isolate_patch_cc',
'inputs': [
'../tools/gen_library_src_paths.py',
'<(libgen_in_cc_file)',
'<@(_sources)',
],
'outputs': [
'<(isolate_patch_cc_file)',
],
'action': [
'python',
'tools/gen_library_src_paths.py',
'--output', '<(isolate_patch_cc_file)',
'--input_cc', '<(libgen_in_cc_file)',
'--include', 'vm/bootstrap.h',
'--var_name', 'dart::Bootstrap::isolate_patch_paths_',
'--library_name', 'dart:isolate',
'<@(_sources)',
],
'message': 'Generating ''<(isolate_patch_cc_file)'' file.'
},
]
},
{
'target_name': 'generate_typed_data_cc_file',
'type': 'none',
@@ -452,7 +452,7 @@ abstract class Compiler implements DiagnosticListener {
// Initialized after mirrorSystemClass has been resolved.
FunctionElement mirrorSystemGetNameFunction;
// Initialized when dart:_collection-dev is loaded.
// Initialized when dart:_internal is loaded.
ClassElement symbolImplementationClass;
// Initialized when symbolImplementationClass has been resolved.
@@ -809,7 +809,7 @@ abstract class Compiler implements DiagnosticListener {
typedDataLibrary = library;
typedDataClass =
findRequiredElement(library, 'TypedData');
} else if (uri == new Uri(scheme: 'dart', path: '_collection-dev')) {
} else if (uri == new Uri(scheme: 'dart', path: '_internal')) {
symbolImplementationClass =
findRequiredElement(library, 'Symbol');
} else if (uri == new Uri(scheme: 'dart', path: 'async')) {
@@ -1569,7 +1569,7 @@ class JavaScriptBackend extends Backend {
/// Called when resolving the `Symbol` constructor.
void registerSymbolConstructor(TreeElements elements) {
// Make sure that collection_dev.Symbol.validated is registered.
// Make sure that _internals.Symbol.validated is registered.
assert(compiler.symbolValidatedConstructor != null);
enqueueInResolution(compiler.symbolValidatedConstructor, elements);
}
+1 -1
View File
@@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
// Patch file for dart:core classes.
import "dart:_collection-dev" as _symbol_dev;
import "dart:_internal" as _symbol_dev;
import 'dart:_interceptors';
import 'dart:_js_helper' show checkNull,
getRuntimeType,
+2 -2
View File
@@ -5,8 +5,8 @@
library _interceptors;
import 'dart:collection';
import 'dart:_collection-dev' hide Symbol;
import "dart:_collection-dev" as _symbol_dev show Symbol;
import 'dart:_internal' hide Symbol;
import "dart:_internal" as _symbol_dev show Symbol;
import 'dart:_js_helper' show allMatchesInStringUnchecked,
Null,
JSSyntaxRegExp,
@@ -11,4 +11,4 @@ patch class Symbol implements core.Symbol {
patch void printToConsole(String line) {
printString('$line');
}
}
+2 -2
View File
@@ -33,8 +33,8 @@ import 'dart:_foreign_helper' show
RAW_DART_FUNCTION_REF;
import 'dart:_interceptors';
import 'dart:_collection-dev' as _symbol_dev;
import 'dart:_collection-dev' show MappedIterable;
import 'dart:_internal' as _symbol_dev;
import 'dart:_internal' show MappedIterable;
import 'dart:_js_names' show
extractKeys,
+1 -1
View File
@@ -17,7 +17,7 @@ import 'dart:_foreign_helper' show
JS_CURRENT_ISOLATE_CONTEXT,
JS_GET_NAME;
import 'dart:_collection-dev' as _symbol_dev;
import 'dart:_internal' as _symbol_dev;
import 'dart:_js_helper' show
BoundClosure,
+3 -3
View File
@@ -130,12 +130,12 @@ const Map<String, LibraryInfo> LIBRARIES = const {
maturity: Maturity.WEB_STABLE,
dart2jsPath: "web_sql/dart2js/web_sql_dart2js.dart"),
"_collection-dev": const LibraryInfo(
"_collection_dev/collection_dev.dart",
"_internal": const LibraryInfo(
"internal/internal.dart",
category: "Internal",
documented: false,
dart2jsPatchPath:
"_internal/lib/collection_dev_patch.dart"),
"_internal/lib/internal_patch.dart"),
"_js_helper": const LibraryInfo(
"_internal/lib/js_helper.dart",
+1 -1
View File
@@ -89,7 +89,7 @@
library dart.async;
import "dart:collection";
import "dart:_collection-dev" show deprecated, printToZone, printToConsole;
import "dart:_internal" show deprecated, printToZone, printToConsole;
part 'async_error.dart';
part 'broadcast_stream_controller.dart';
+1 -1
View File
@@ -7,7 +7,7 @@
*/
library dart.collection;
import 'dart:_collection-dev';
import 'dart:_internal';
import 'dart:math' show Random; // Used by ListMixin.shuffle.
part 'collections.dart';
+2 -2
View File
@@ -153,8 +153,8 @@
library dart.core;
import "dart:collection";
import "dart:_collection-dev" hide Symbol;
import "dart:_collection-dev" as _collection_dev;
import "dart:_internal" hide Symbol;
import "dart:_internal" as internal show Symbol;
import "dart:convert" show UTF8, LATIN1, Encoding;
import "dart:math" show Random; // Used by List.shuffle.
+1 -1
View File
@@ -20,5 +20,5 @@ class Symbol {
* possible, use [MirrorsUsed] in "dart:mirrors" to specify which names might
* be passed to this constructor.
*/
const factory Symbol(String name) = _collection_dev.Symbol;
const factory Symbol(String name) = internal.Symbol;
}
+1 -1
View File
@@ -26,7 +26,7 @@ library dart.dom.html;
import 'dart:async';
import 'dart:collection';
import 'dart:_collection-dev' hide Symbol, deprecated;
import 'dart:_internal' hide Symbol, deprecated;
import 'dart:html_common';
import 'dart:indexed_db';
import 'dart:isolate';
+4 -4
View File
@@ -26,7 +26,7 @@ library dart.dom.html;
import 'dart:async';
import 'dart:collection';
import 'dart:_collection-dev' hide Symbol, deprecated;
import 'dart:_internal' hide Symbol, deprecated;
import 'dart:html_common';
import 'dart:indexed_db';
import 'dart:isolate';
@@ -28969,13 +28969,13 @@ class Url extends NativeFieldWrapperClass2 implements UrlUtils {
if ((blob_OR_source_OR_stream is Blob || blob_OR_source_OR_stream == null)) {
return _createObjectURL_1(blob_OR_source_OR_stream);
}
if ((blob_OR_source_OR_stream is MediaSource || blob_OR_source_OR_stream == null)) {
if ((blob_OR_source_OR_stream is MediaStream || blob_OR_source_OR_stream == null)) {
return _createObjectURL_2(blob_OR_source_OR_stream);
}
if ((blob_OR_source_OR_stream is _WebKitMediaSource || blob_OR_source_OR_stream == null)) {
if ((blob_OR_source_OR_stream is MediaSource || blob_OR_source_OR_stream == null)) {
return _createObjectURL_3(blob_OR_source_OR_stream);
}
if ((blob_OR_source_OR_stream is MediaStream || blob_OR_source_OR_stream == null)) {
if ((blob_OR_source_OR_stream is _WebKitMediaSource || blob_OR_source_OR_stream == null)) {
return _createObjectURL_4(blob_OR_source_OR_stream);
}
throw new ArgumentError("Incorrect number or type of arguments");
@@ -2,7 +2,7 @@
// 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.
library dart._collection.dev;
library dart._internal;
import 'dart:collection';
@@ -2,10 +2,10 @@
# 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.
# This file contains all sources for the dart:collection-dev library.
# This file contains all sources for the dart:_internal library.
{
'sources': [
'collection_dev.dart',
'internal.dart',
# The above file needs to be first as it lists the parts below.
'iterable.dart',
'list.dart',
@@ -2,7 +2,7 @@
// 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.
part of dart._collection.dev;
part of dart._internal;
/**
* Marker interface for [Iterable] subclasses that have an efficient
@@ -2,7 +2,7 @@
// 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.
part of dart._collection.dev;
part of dart._internal;
/**
* Mixin that throws on the length changing operations of [List].
@@ -2,7 +2,7 @@
// 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.
part of dart._collection.dev;
part of dart._internal;
class Lists {
static void copy(List src, int srcStart,
@@ -2,7 +2,7 @@
// 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.
part of dart._collection.dev;
part of dart._internal;
/**
* This function is set by the first allocation of a Zone.
@@ -2,7 +2,7 @@
// 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.
part of dart._collection.dev;
part of dart._internal;
/**
* Dual-Pivot Quicksort algorithm.
@@ -2,7 +2,7 @@
// 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.
part of dart._collection.dev;
part of dart._internal;
/**
* Implementation of [core.Symbol]. This class uses the same name as
+1 -1
View File
@@ -196,7 +196,7 @@
library dart.io;
import 'dart:async';
import 'dart:_collection-dev';
import 'dart:_internal';
import 'dart:collection' show HashMap,
HashSet,
LinkedList,
+1 -1
View File
@@ -10,7 +10,7 @@ library dart.dom.svg;
import 'dart:async';
import 'dart:collection';
import 'dart:_collection-dev' hide deprecated;
import 'dart:_internal' hide deprecated;
import 'dart:html';
import 'dart:html_common';
import 'dart:_js_helper' show Creates, Returns, JSName;
+1 -1
View File
@@ -2,7 +2,7 @@ library dart.dom.svg;
import 'dart:async';
import 'dart:collection';
import 'dart:_collection-dev' hide deprecated;
import 'dart:_internal' hide deprecated;
import 'dart:html';
import 'dart:html_common';
import 'dart:nativewrappers';
@@ -9,7 +9,7 @@
library dart.typed_data;
import 'dart:collection';
import 'dart:_collection-dev';
import 'dart:_internal';
import 'dart:_interceptors' show JSIndexable, JSUInt32, JSUInt31;
import 'dart:_js_helper'
show Creates, JavaScriptIndexingBehavior, JSName, Null, Returns;
-2
View File
@@ -5,8 +5,6 @@
library dart.typed_data;
import 'dart:collection';
import 'dart:_collection-dev';
import 'dart:math' show Random;
/**
* A sequence of bytes underlying a typed data object.
@@ -5,7 +5,7 @@ library dart.dom.web_audio;
import 'dart:async';
import 'dart:collection';
import 'dart:_collection-dev' hide deprecated;
import 'dart:_internal' hide deprecated;
import 'dart:html';
import 'dart:html_common';
import 'dart:typed_data';
@@ -2,7 +2,7 @@ library dart.dom.web_audio;
import 'dart:async';
import 'dart:collection';
import 'dart:_collection-dev' hide deprecated;
import 'dart:_internal' hide deprecated;
import 'dart:html';
import 'dart:html_common';
import 'dart:nativewrappers';
+1 -1
View File
@@ -4,7 +4,7 @@
library dart.dom.web_gl;
import 'dart:collection';
import 'dart:_collection-dev' hide deprecated;
import 'dart:_internal' hide deprecated;
import 'dart:html';
import 'dart:html_common';
import 'dart:typed_data';
+1 -1
View File
@@ -2,7 +2,7 @@ library dart.dom.web_gl;
import 'dart:async';
import 'dart:collection';
import 'dart:_collection-dev' hide deprecated;
import 'dart:_internal' hide deprecated;
import 'dart:html';
import 'dart:html_common';
import 'dart:nativewrappers';
+1 -1
View File
@@ -12,7 +12,7 @@ library dart.dom.web_sql;
import 'dart:async';
import 'dart:collection';
import 'dart:_collection-dev' hide deprecated;
import 'dart:_internal' hide deprecated;
import 'dart:html';
import 'dart:html_common';
import 'dart:_js_helper' show convertDartClosureToJS, Creates, JSName;
+1 -1
View File
@@ -12,7 +12,7 @@ library dart.dom.web_sql;
import 'dart:async';
import 'dart:collection';
import 'dart:_collection-dev' hide deprecated;
import 'dart:_internal' hide deprecated;
import 'dart:html';
import 'dart:html_common';
import 'dart:nativewrappers';
+1 -1
View File
@@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.
// Check that private dart:_ libraries cannot be imported.
import "dart:_collection-dev"; /// 01: compile-time error
import "dart:_internal"; /// 01: compile-time error
main() {
print("Done.");
+3 -3
View File
@@ -30,10 +30,10 @@
# ......_internal/
# ......async/
# ......collection/
# ......_collection_dev/
# ......convert/
# ......core/
# ......html/
# ......internal/
# ......io/
# ......isolate/
# ......js/
@@ -196,8 +196,8 @@ def Main(argv):
join('_internal', 'compiler'),
join('_internal', 'dartdoc'),
join('_internal', 'lib'),
'async', 'collection', '_collection_dev', 'convert',
'core', 'crypto', 'io', 'isolate',
'async', 'collection', 'convert', 'core',
'crypto', 'internal', 'io', 'isolate',
join('html', 'dart2js'), join('html', 'dartium'),
join('html', 'html_common'),
join('indexed_db', 'dart2js'), join('indexed_db', 'dartium'),
@@ -34,7 +34,7 @@ library dart.dom.html;
import 'dart:async';
import 'dart:collection';
import 'dart:_collection-dev' hide Symbol, deprecated;
import 'dart:_internal' hide Symbol, deprecated;
import 'dart:html_common';
import 'dart:indexed_db';
import 'dart:isolate';
@@ -14,7 +14,7 @@ library dart.dom.svg;
import 'dart:async';
import 'dart:collection';
import 'dart:_collection-dev' hide deprecated;
import 'dart:_internal' hide deprecated;
import 'dart:html';
import 'dart:html_common';
import 'dart:_js_helper' show Creates, Returns, JSName;
@@ -9,7 +9,7 @@ library dart.dom.web_audio;
import 'dart:async';
import 'dart:collection';
import 'dart:_collection-dev' hide deprecated;
import 'dart:_internal' hide deprecated;
import 'dart:html';
import 'dart:html_common';
import 'dart:typed_data';
@@ -8,7 +8,7 @@
library dart.dom.web_gl;
import 'dart:collection';
import 'dart:_collection-dev' hide deprecated;
import 'dart:_internal' hide deprecated;
import 'dart:html';
import 'dart:html_common';
import 'dart:typed_data';
@@ -16,7 +16,7 @@ library dart.dom.web_sql;
import 'dart:async';
import 'dart:collection';
import 'dart:_collection-dev' hide deprecated;
import 'dart:_internal' hide deprecated;
import 'dart:html';
import 'dart:html_common';
import 'dart:_js_helper' show convertDartClosureToJS, Creates, JSName;
@@ -33,7 +33,7 @@ library dart.dom.html;
import 'dart:async';
import 'dart:collection';
import 'dart:_collection-dev' hide Symbol, deprecated;
import 'dart:_internal' hide Symbol, deprecated;
import 'dart:html_common';
import 'dart:indexed_db';
import 'dart:isolate';
@@ -5,7 +5,7 @@ library dart.dom.svg;
import 'dart:async';
import 'dart:collection';
import 'dart:_collection-dev' hide deprecated;
import 'dart:_internal' hide deprecated;
import 'dart:html';
import 'dart:html_common';
import 'dart:nativewrappers';
@@ -5,7 +5,7 @@ library dart.dom.web_audio;
import 'dart:async';
import 'dart:collection';
import 'dart:_collection-dev' hide deprecated;
import 'dart:_internal' hide deprecated;
import 'dart:html';
import 'dart:html_common';
import 'dart:nativewrappers';
@@ -5,7 +5,7 @@ library dart.dom.web_gl;
import 'dart:async';
import 'dart:collection';
import 'dart:_collection-dev' hide deprecated;
import 'dart:_internal' hide deprecated;
import 'dart:html';
import 'dart:html_common';
import 'dart:nativewrappers';
@@ -16,7 +16,7 @@ library dart.dom.web_sql;
import 'dart:async';
import 'dart:collection';
import 'dart:_collection-dev' hide deprecated;
import 'dart:_internal' hide deprecated;
import 'dart:html';
import 'dart:html_common';
import 'dart:nativewrappers';