Skip to content

Commit 7c1821c

Browse files
a-sivacommit-bot@chromium.org
authored andcommitted
[NNBD/VM] Restructure VM patch files for the NNBD dart sdk split
- Move all VM patch files from the lib directory to sdk/lib/_internal/vm/lib - Move all VM patch files from the bin directory to sdk/lib/_internal/vm/bin - Fixed paths for above patch files in libraries.yaml file. - Created copies of these patch files in sdk_nnbd directory - Cleaned up *.gni files by removing the unused dart patch files lists. Change-Id: I3109d22f3b729a073a6b40175a0d29162a455830 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/117685 Reviewed-by: Régis Crelier <[email protected]> Commit-Queue: Siva Annamalai <[email protected]>
1 parent 0c23664 commit 7c1821c

File tree

165 files changed

+28025
-461
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

165 files changed

+28025
-461
lines changed

runtime/bin/builtin_sources.gni

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
# Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
22
# for details. All rights reserved. Use of this source code is governed by a
33
# BSD-style license that can be found in the LICENSE file.
4-
5-
# This file contains all dart sources for the dart:_builtin library.
6-
builtin_sources = [ "builtin.dart" ]

runtime/bin/cli_sources.gni

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,3 @@
22
# for details. All rights reserved. Use of this source code is governed by a
33
# BSD-style license that can be found in the LICENSE file.
44

5-
# This file contains all sources for the dart:cli library.
6-
cli_runtime_dart_files = [ "cli_patch.dart" ]

runtime/bin/io_sources.gni

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,3 @@
11
# Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
22
# for details. All rights reserved. Use of this source code is governed by a
33
# BSD-style license that can be found in the LICENSE file.
4-
5-
# This file contains all sources for the dart:io library.
6-
io_runtime_dart_files = [
7-
"common_patch.dart",
8-
"directory_patch.dart",
9-
"eventhandler_patch.dart",
10-
"file_patch.dart",
11-
"file_system_entity_patch.dart",
12-
"filter_patch.dart",
13-
"io_service_patch.dart",
14-
"namespace_patch.dart",
15-
"platform_patch.dart",
16-
"process_patch.dart",
17-
"socket_patch.dart",
18-
"stdio_patch.dart",
19-
"secure_socket_patch.dart",
20-
"sync_socket_patch.dart",
21-
]

runtime/lib/async_sources.gni

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,3 @@
55
# This file contains all sources for the dart:async library.
66

77
async_runtime_cc_files = [ "async.cc" ]
8-
9-
async_runtime_dart_files = [
10-
"async_patch.dart",
11-
"deferred_load_patch.dart",
12-
"schedule_microtask_patch.dart",
13-
"timer_patch.dart",
14-
]

runtime/lib/collection_sources.gni

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,3 @@
33
# BSD-style license that can be found in the LICENSE file.
44

55
collection_runtime_cc_files = [ "linked_hash_map.cc" ]
6-
7-
collection_runtime_dart_files = [
8-
# collection_patch.dart needs to be the first dart file because it contains
9-
# imports.
10-
"collection_patch.dart",
11-
"compact_hash.dart",
12-
]

runtime/lib/core_sources.gni

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -24,38 +24,3 @@ core_runtime_cc_files = [
2424
"uri.cc",
2525
"weak_property.cc",
2626
]
27-
28-
core_runtime_dart_files = [
29-
"core_patch.dart",
30-
31-
# The above file needs to be first as it imports required libraries.
32-
"array.dart",
33-
"array_patch.dart",
34-
"bigint_patch.dart",
35-
"bool_patch.dart",
36-
"date_patch.dart",
37-
"double.dart",
38-
"double_patch.dart",
39-
"errors_patch.dart",
40-
"expando_patch.dart",
41-
"function.dart",
42-
"function_patch.dart",
43-
"growable_array.dart",
44-
"identical_patch.dart",
45-
"immutable_map.dart",
46-
"integers.dart",
47-
"integers_patch.dart",
48-
"invocation_mirror_patch.dart",
49-
"lib_prefix.dart",
50-
"map_patch.dart",
51-
"null_patch.dart",
52-
"object_patch.dart",
53-
"regexp_patch.dart",
54-
"stacktrace.dart",
55-
"stopwatch_patch.dart",
56-
"string_buffer_patch.dart",
57-
"string_patch.dart",
58-
"type_patch.dart",
59-
"uri_patch.dart",
60-
"weak_property.dart",
61-
]

runtime/lib/developer_sources.gni

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,3 @@ developer_runtime_cc_files = [
88
"profiler.cc",
99
"timeline.cc",
1010
]
11-
12-
developer_runtime_dart_files = [
13-
# developer.dart needs to be the first dart file because it contains
14-
# imports.
15-
"developer.dart",
16-
"profiler.dart",
17-
"timeline.dart",
18-
]

runtime/lib/ffi_sources.gni

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,3 @@ ffi_runtime_cc_files = [
77
"ffi.cc",
88
"ffi_dynamic_library.cc",
99
]
10-
11-
ffi_runtime_dart_files = [
12-
"ffi_patch.dart",
13-
"ffi_dynamic_library_patch.dart",
14-
"ffi_native_type_patch.dart",
15-
]

runtime/lib/internal_sources.gni

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,3 @@
44

55
# Sources that patch the library "dart:_internal".
66
internal_runtime_cc_files = [ "class_id.cc" ]
7-
8-
internal_runtime_dart_files = [
9-
"internal_patch.dart",
10-
11-
# The above file needs to be first as it imports required libraries.
12-
"class_id.dart",
13-
"print_patch.dart",
14-
"symbol_patch.dart",
15-
]

runtime/lib/isolate_sources.gni

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,3 @@
44

55
# This file contains all sources for the dart:isolate library.
66
isolate_runtime_cc_files = [ "isolate.cc" ]
7-
8-
isolate_runtime_dart_files = [
9-
"isolate_patch.dart",
10-
"timer_impl.dart",
11-
]

0 commit comments

Comments
 (0)