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:
Ryan Macnak 2019-05-21 17:01:48 +00:00 committed by commit-bot@chromium.org
parent d7f4763e79
commit 21f32e7383
16 changed files with 11 additions and 36 deletions

View file

@ -3,4 +3,4 @@
# BSD-style license that can be found in the LICENSE file.
# This file contains all sources for the dart:cli library.
cli_runtime_sources = [ "cli_patch.dart" ]
cli_runtime_dart_files = [ "cli_patch.dart" ]

View file

@ -3,7 +3,7 @@
# BSD-style license that can be found in the LICENSE file.
# This file contains all sources for the dart:io library.
io_runtime_sources = [
io_runtime_dart_files = [
"common_patch.dart",
"directory_patch.dart",
"eventhandler_patch.dart",

View file

@ -12,5 +12,3 @@ async_runtime_dart_files = [
"schedule_microtask_patch.dart",
"timer_patch.dart",
]
async_runtime_sources = async_runtime_cc_files + async_runtime_dart_files

View file

@ -10,6 +10,3 @@ collection_runtime_dart_files = [
"collection_patch.dart",
"compact_hash.dart",
]
collection_runtime_sources =
collection_runtime_cc_files + collection_runtime_dart_files

View file

@ -2,4 +2,4 @@
# 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.
convert_runtime_sources = [ "convert_patch.dart" ]
convert_runtime_dart_files = [ "convert_patch.dart" ]

View file

@ -59,5 +59,3 @@ core_runtime_dart_files = [
"uri_patch.dart",
"weak_property.dart",
]
core_runtime_sources = core_runtime_cc_files + core_runtime_dart_files

View file

@ -16,6 +16,3 @@ developer_runtime_dart_files = [
"profiler.dart",
"timeline.dart",
]
developer_runtime_sources =
developer_runtime_cc_files + developer_runtime_dart_files

View file

@ -13,5 +13,3 @@ ffi_runtime_dart_files = [
"ffi_dynamic_library_patch.dart",
"ffi_native_type_patch.dart",
]
ffi_runtime_sources = ffi_runtime_cc_files + ffi_runtime_dart_files

View file

@ -13,6 +13,3 @@ internal_runtime_dart_files = [
"print_patch.dart",
"symbol_patch.dart",
]
internal_runtime_sources =
internal_runtime_cc_files + internal_runtime_dart_files

View file

@ -9,5 +9,3 @@ isolate_runtime_dart_files = [
"isolate_patch.dart",
"timer_impl.dart",
]
isolate_runtime_sources = isolate_runtime_cc_files + isolate_runtime_dart_files

View file

@ -5,5 +5,3 @@
math_runtime_cc_files = [ "math.cc" ]
math_runtime_dart_files = [ "math_patch.dart" ]
math_runtime_sources = math_runtime_cc_files + math_runtime_dart_files

View file

@ -15,5 +15,3 @@ mirrors_runtime_dart_files = [
"mirrors_impl.dart",
"mirror_reference.dart",
]
mirrors_runtime_sources = mirrors_runtime_cc_files + mirrors_runtime_dart_files

View file

@ -3,4 +3,4 @@
# BSD-style license that can be found in the LICENSE file.
# Sources list to keep vm/BUILD.gn generate_core_libraries happy.
profiler_runtime_sources = [ "empty_source.dart" ]
profiler_runtime_dart_files = [ "empty_source.dart" ]

View file

@ -9,6 +9,3 @@ typed_data_runtime_cc_files = [
]
typed_data_runtime_dart_files = [ "typed_data_patch.dart" ]
typed_data_runtime_sources =
typed_data_runtime_cc_files + typed_data_runtime_dart_files

View file

@ -3,4 +3,4 @@
# BSD-style license that can be found in the LICENSE file.
# Sources that patch the library "dart:_vmservice".
vmservice_runtime_sources = [ "vmservice.cc" ]
vmservice_runtime_cc_files = [ "vmservice.cc" ]

View file

@ -101,13 +101,12 @@ library_for_all_configs("libdart_lib") {
}
}
include_dirs = [ ".." ]
allsources =
async_runtime_sources + collection_runtime_sources +
convert_runtime_sources + core_runtime_sources +
developer_runtime_sources + internal_runtime_sources +
isolate_runtime_sources + math_runtime_sources + mirrors_runtime_sources +
profiler_runtime_sources + typed_data_runtime_sources +
vmservice_runtime_sources + ffi_runtime_sources
allsources = async_runtime_cc_files + collection_runtime_cc_files +
core_runtime_cc_files + developer_runtime_cc_files +
internal_runtime_cc_files + isolate_runtime_cc_files +
math_runtime_cc_files + mirrors_runtime_cc_files +
typed_data_runtime_cc_files + vmservice_runtime_cc_files +
ffi_runtime_cc_files
sources = [ "bootstrap.cc" ] + rebase_path(allsources, ".", "../lib")
snapshot_sources = []
nosnapshot_sources = []