mirror of
https://github.com/dart-lang/sdk
synced 2024-09-15 22:31:50 +00:00
Fix sources to source_set
Recent changes to GN require only buildable files to be included in sources. See crbug.com/gn/77 for additional details. Change-Id: Ic8fd059e85ba86a63c5d6483e8ec64ddbd1612ea Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/103022 Reviewed-by: Zach Anderson <zra@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
parent
d7f4763e79
commit
21f32e7383
|
@ -3,4 +3,4 @@
|
||||||
# BSD-style license that can be found in the LICENSE file.
|
# BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
# This file contains all sources for the dart:cli library.
|
# This file contains all sources for the dart:cli library.
|
||||||
cli_runtime_sources = [ "cli_patch.dart" ]
|
cli_runtime_dart_files = [ "cli_patch.dart" ]
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# BSD-style license that can be found in the LICENSE file.
|
# BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
# This file contains all sources for the dart:io library.
|
# This file contains all sources for the dart:io library.
|
||||||
io_runtime_sources = [
|
io_runtime_dart_files = [
|
||||||
"common_patch.dart",
|
"common_patch.dart",
|
||||||
"directory_patch.dart",
|
"directory_patch.dart",
|
||||||
"eventhandler_patch.dart",
|
"eventhandler_patch.dart",
|
||||||
|
|
|
@ -12,5 +12,3 @@ async_runtime_dart_files = [
|
||||||
"schedule_microtask_patch.dart",
|
"schedule_microtask_patch.dart",
|
||||||
"timer_patch.dart",
|
"timer_patch.dart",
|
||||||
]
|
]
|
||||||
|
|
||||||
async_runtime_sources = async_runtime_cc_files + async_runtime_dart_files
|
|
||||||
|
|
|
@ -10,6 +10,3 @@ collection_runtime_dart_files = [
|
||||||
"collection_patch.dart",
|
"collection_patch.dart",
|
||||||
"compact_hash.dart",
|
"compact_hash.dart",
|
||||||
]
|
]
|
||||||
|
|
||||||
collection_runtime_sources =
|
|
||||||
collection_runtime_cc_files + collection_runtime_dart_files
|
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
# for details. All rights reserved. Use of this source code is governed by a
|
# 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.
|
# BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
convert_runtime_sources = [ "convert_patch.dart" ]
|
convert_runtime_dart_files = [ "convert_patch.dart" ]
|
||||||
|
|
|
@ -59,5 +59,3 @@ core_runtime_dart_files = [
|
||||||
"uri_patch.dart",
|
"uri_patch.dart",
|
||||||
"weak_property.dart",
|
"weak_property.dart",
|
||||||
]
|
]
|
||||||
|
|
||||||
core_runtime_sources = core_runtime_cc_files + core_runtime_dart_files
|
|
||||||
|
|
|
@ -16,6 +16,3 @@ developer_runtime_dart_files = [
|
||||||
"profiler.dart",
|
"profiler.dart",
|
||||||
"timeline.dart",
|
"timeline.dart",
|
||||||
]
|
]
|
||||||
|
|
||||||
developer_runtime_sources =
|
|
||||||
developer_runtime_cc_files + developer_runtime_dart_files
|
|
||||||
|
|
|
@ -13,5 +13,3 @@ ffi_runtime_dart_files = [
|
||||||
"ffi_dynamic_library_patch.dart",
|
"ffi_dynamic_library_patch.dart",
|
||||||
"ffi_native_type_patch.dart",
|
"ffi_native_type_patch.dart",
|
||||||
]
|
]
|
||||||
|
|
||||||
ffi_runtime_sources = ffi_runtime_cc_files + ffi_runtime_dart_files
|
|
||||||
|
|
|
@ -13,6 +13,3 @@ internal_runtime_dart_files = [
|
||||||
"print_patch.dart",
|
"print_patch.dart",
|
||||||
"symbol_patch.dart",
|
"symbol_patch.dart",
|
||||||
]
|
]
|
||||||
|
|
||||||
internal_runtime_sources =
|
|
||||||
internal_runtime_cc_files + internal_runtime_dart_files
|
|
||||||
|
|
|
@ -9,5 +9,3 @@ isolate_runtime_dart_files = [
|
||||||
"isolate_patch.dart",
|
"isolate_patch.dart",
|
||||||
"timer_impl.dart",
|
"timer_impl.dart",
|
||||||
]
|
]
|
||||||
|
|
||||||
isolate_runtime_sources = isolate_runtime_cc_files + isolate_runtime_dart_files
|
|
||||||
|
|
|
@ -5,5 +5,3 @@
|
||||||
math_runtime_cc_files = [ "math.cc" ]
|
math_runtime_cc_files = [ "math.cc" ]
|
||||||
|
|
||||||
math_runtime_dart_files = [ "math_patch.dart" ]
|
math_runtime_dart_files = [ "math_patch.dart" ]
|
||||||
|
|
||||||
math_runtime_sources = math_runtime_cc_files + math_runtime_dart_files
|
|
||||||
|
|
|
@ -15,5 +15,3 @@ mirrors_runtime_dart_files = [
|
||||||
"mirrors_impl.dart",
|
"mirrors_impl.dart",
|
||||||
"mirror_reference.dart",
|
"mirror_reference.dart",
|
||||||
]
|
]
|
||||||
|
|
||||||
mirrors_runtime_sources = mirrors_runtime_cc_files + mirrors_runtime_dart_files
|
|
||||||
|
|
|
@ -3,4 +3,4 @@
|
||||||
# BSD-style license that can be found in the LICENSE file.
|
# BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
# Sources list to keep vm/BUILD.gn generate_core_libraries happy.
|
# Sources list to keep vm/BUILD.gn generate_core_libraries happy.
|
||||||
profiler_runtime_sources = [ "empty_source.dart" ]
|
profiler_runtime_dart_files = [ "empty_source.dart" ]
|
||||||
|
|
|
@ -9,6 +9,3 @@ typed_data_runtime_cc_files = [
|
||||||
]
|
]
|
||||||
|
|
||||||
typed_data_runtime_dart_files = [ "typed_data_patch.dart" ]
|
typed_data_runtime_dart_files = [ "typed_data_patch.dart" ]
|
||||||
|
|
||||||
typed_data_runtime_sources =
|
|
||||||
typed_data_runtime_cc_files + typed_data_runtime_dart_files
|
|
||||||
|
|
|
@ -3,4 +3,4 @@
|
||||||
# BSD-style license that can be found in the LICENSE file.
|
# BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
# Sources that patch the library "dart:_vmservice".
|
# Sources that patch the library "dart:_vmservice".
|
||||||
vmservice_runtime_sources = [ "vmservice.cc" ]
|
vmservice_runtime_cc_files = [ "vmservice.cc" ]
|
||||||
|
|
|
@ -101,13 +101,12 @@ library_for_all_configs("libdart_lib") {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
include_dirs = [ ".." ]
|
include_dirs = [ ".." ]
|
||||||
allsources =
|
allsources = async_runtime_cc_files + collection_runtime_cc_files +
|
||||||
async_runtime_sources + collection_runtime_sources +
|
core_runtime_cc_files + developer_runtime_cc_files +
|
||||||
convert_runtime_sources + core_runtime_sources +
|
internal_runtime_cc_files + isolate_runtime_cc_files +
|
||||||
developer_runtime_sources + internal_runtime_sources +
|
math_runtime_cc_files + mirrors_runtime_cc_files +
|
||||||
isolate_runtime_sources + math_runtime_sources + mirrors_runtime_sources +
|
typed_data_runtime_cc_files + vmservice_runtime_cc_files +
|
||||||
profiler_runtime_sources + typed_data_runtime_sources +
|
ffi_runtime_cc_files
|
||||||
vmservice_runtime_sources + ffi_runtime_sources
|
|
||||||
sources = [ "bootstrap.cc" ] + rebase_path(allsources, ".", "../lib")
|
sources = [ "bootstrap.cc" ] + rebase_path(allsources, ".", "../lib")
|
||||||
snapshot_sources = []
|
snapshot_sources = []
|
||||||
nosnapshot_sources = []
|
nosnapshot_sources = []
|
||||||
|
|
Loading…
Reference in a new issue