From ba04499715142a05dad780f2d1bb2581270641af Mon Sep 17 00:00:00 2001 From: Vyacheslav Egorov Date: Fri, 12 Oct 2018 16:44:34 +0200 Subject: [PATCH] Roll Dart to 1f4dfce179c8f05c9e48759300a15e671b88cc10 (#6515) 1f4dfce179 [gardening] Mark co19 LibTest/io/HttpServer/close_A05_t01 flaky 5cbb640f7c Error for type arguments after named constructor with implicit new 2fa1143600 Check classes at mixin applications ade528c4e6 Fixed the type alias omission in the def. of simple bounds ddf67772bb Remove warning about inferring packages URI from dart2js 18110717fe Move infer methods to visitor bd223d0ec4 Add consistent_type_error_test d95f63d752 Update dartfix to use new invalid type argument fix 0cdd5b9ff3 Raise warning to error: duplicate key in a const map is now an error in Dart. f6ca2c1d8f Remove the Dart 1 tests. 9f98f5f44c Remove instantiateToBounds parameter from FunctionTypeImpl.relate. 82f31cd250 Add types to method args to avoid analysis warnings. 63c9a241e3 Upgrade WRONG_NUMBER_OF_TYPE_ARGUMENTS_CONSTRUCTOR from a warning to an error 5658d406b7 Add changelog entry for integer literals in double contexts. 6b67cd784b [vm] Make UBSAN happy for the code in Range::BitwiseOp e4c3fa0a9c Improve recovery when parsing named constructor invocation with invalid type arguments 3e7ce992cf [vm/tfa] Implementation of type arguments tracking in TFA. 001343ce06 [vm, gc] Disable reads and writes to from-space after a scavenge. 97ffcd9a3d [vm] Disable incorrect widening of smis to int32 1a4933715e [gardening] Mark co19 LibTest/io/RawDatagramSocket/any_A03_t01 flaky e4842a293b Remove extra spaces in headers 58c90dc488 [vm] Fix bytecode in core-jit for simarm64 fab5d0a50d In InheritanceManager remove unused, and deprecate used (in lints) methods. 2989116219 Add some special cases for types we can't/don't need to parse 49b121f20d Remove TypeParameterSerializationContext.location. 244e6c7ffc Infer package URIs cc884b3449 Remove optional argument from FunctionTypeImpl.forTypedef. 931202df27 Improve wrapping of lists and *notes* in LSP spec comments 3e897ac3b1 [vm] Extend previous status file updates. 23e7f9d1eb Handle references to other classes in comments 472c898c87 [dartdevc] fix for-in loop variable shadowing a var used in initialzer 3fe3106489 [gardening] Fix leaks in run_vm_tests binary detected by ASAN. a6c8b62056 Remove dummy .packages files 2f7e7a4b52 [vm] Update status files for vm-kernel-mac-product-x64 for issue 34760. e12538fff0 Move package bundle functionality into SummaryBaseTestStrategy. 96737787e2 Add LSP spec code-gen output 5e7ea5b672 [infra] Add .vpython spec to fix gsutil on the bots (#31065) 3cf0008b13 [vm/bytecode] Remove dependencies on ASTs when running with bytecode fc0decc262 Improvements to the Dart code generated from the LSP spec. efcca1132b Switch ErrorVerifier and OverrideVerifier to InheritanceManager2. c347850976 [gardening] Mark co19 LibTest/io/RawDatagramSocket/timeout_A06_t01 as flaky 5e1bf1d135 Create LibraryScope once per library analyzer. 7c7df7bfa4 Add initial version of feature specification on interface conflicts. f2bffc6872 Revert "[infra] Upgrade gsutil to a new version (#31065)" 1809bae318 Revert "Ignore JSON exceptions when reading (empty) test results file" 787194e738 [infra] Upgrade gsutil to a new version (#31065) 265d0d9ec1 Update status files after 8648d782 23c36ed029 Elaborate that -0 means -0.0 in double context or when compiled to JS. 8648d782ae Reland "[fasta] Report errors for bounds violations" 5c9a8d8cb5 [VM] Add $target_gen_dir/gen_kernel_bytecode.dill.d to outputs of GN action, to ensure directory is created before action is run 49d7fb39ac Temporarily ignore --strong option in flutter builds f0a30bc8d1 Revert "[vm] Add a library and class cache to KernelProgramInfo" 1c2ed4ac11 [infra] Include gsutil in vm-kernel fileset to enable coredumps on shards (#31065) 5b32ab3be6 Remove the word "strongMode" from some package:kernel libraries. dfb8e97b86 Report errors on members hiding prefixes 235a918233 [vm] Remove Dart_LoadScript, Dart_LoadLibrary, Dart_LoadSource, etc. 90e362f63c Deprecate the last non-deprecated EMPTY_LIST 0ab8e42fea Use a special context for serializing generic function types. c47879d354 Remove one-phase summary logic. b9dd229e35 Convert element.dart to triple-slash comment style. e70a7aab8a [VM] Dead code removal - Remove dead code around creation of service isolate in gen_snapshot.cc - Create service isolate from the core snapshot - exclude sources from platform dill file (saves about 2.5MB in size) 662ff7f112 [vm] Remove TokenStream, TokenValue, CompilerStats. a933f42b9e [VM] Use Symbols::Empty() when there is no source for a script instead of creating new empty string objects. Change-Id: I8ec6702557b07c4c4ede2aece5a3f25b4cde1a5b Reviewed-on: https://dart-review.googlesource.com/c/79060 Reviewed-by: Ryan Macnak Commit-Queue: Siva Annamalai 72b31316e4 [observatory] Fail gracefully when a Script lacks source code. Roll tonic to dd971f40ba7646fab586ac2b6370721257109cb7 --- DEPS | 4 +-- ci/licenses_golden/licenses_third_party | 17 ++---------- runtime/BUILD.gn | 36 ------------------------- 3 files changed, 4 insertions(+), 53 deletions(-) diff --git a/DEPS b/DEPS index e36be164f4..28f178ce97 100644 --- a/DEPS +++ b/DEPS @@ -31,7 +31,7 @@ vars = { # Dart is: https://github.com/dart-lang/sdk/blob/master/DEPS. # You can use //tools/dart/create_updated_flutter_deps.py to produce # updated revision list of existing dependencies. - 'dart_revision': 'b99bcfd3099f0d32e39287160a9539e878cb0b68', + 'dart_revision': '1f4dfce179c8f05c9e48759300a15e671b88cc10', # WARNING: DO NOT EDIT MANUALLY # The lines between blank lines above and below are generated by a script. See create_updated_flutter_deps.py @@ -126,7 +126,7 @@ deps = { # and not have to specific specific hashes. 'src/third_party/tonic': - Var('fuchsia_git') + '/tonic' + '@' + '187c6d54eb7ac604e6ae00577d8992ffdc34e52c', + Var('fuchsia_git') + '/tonic' + '@' + 'dd971f40ba7646fab586ac2b6370721257109cb7', 'src/third_party/benchmark': Var('fuchsia_git') + '/third_party/benchmark' + '@' + '21f1eb3fe269ea43eba862bf6b699cde46587ade', diff --git a/ci/licenses_golden/licenses_third_party b/ci/licenses_golden/licenses_third_party index 61a0be22ad..1862a7fdbb 100644 --- a/ci/licenses_golden/licenses_third_party +++ b/ci/licenses_golden/licenses_third_party @@ -1,4 +1,4 @@ -Signature: ac08e09569da6bc35a213e80f4f97427 +Signature: d56ae5b92307d86a0b6fd2fa753c2626 UNUSED LICENSES: @@ -4432,6 +4432,7 @@ ORIGIN: ../../../third_party/dart/LICENSE TYPE: LicenseType.bsd FILE: ../../../third_party/dart/.gitconfig FILE: ../../../third_party/dart/.mailmap +FILE: ../../../third_party/dart/.vpython FILE: ../../../third_party/dart/client/idea/.idea/.name FILE: ../../../third_party/dart/client/idea/.idea/inspectionProfiles/Project_Default.xml FILE: ../../../third_party/dart/client/idea/.idea/vcs.xml @@ -4655,8 +4656,6 @@ FILE: ../../../third_party/dart/runtime/vm/allocation.cc FILE: ../../../third_party/dart/runtime/vm/allocation_test.cc FILE: ../../../third_party/dart/runtime/vm/assert_test.cc FILE: ../../../third_party/dart/runtime/vm/ast.h -FILE: ../../../third_party/dart/runtime/vm/ast_printer_test.cc -FILE: ../../../third_party/dart/runtime/vm/ast_test.cc FILE: ../../../third_party/dart/runtime/vm/base_isolate.h FILE: ../../../third_party/dart/runtime/vm/benchmark_test.cc FILE: ../../../third_party/dart/runtime/vm/benchmark_test.h @@ -4703,7 +4702,6 @@ FILE: ../../../third_party/dart/runtime/vm/compiler/backend/inliner.h FILE: ../../../third_party/dart/runtime/vm/compiler/cha.cc FILE: ../../../third_party/dart/runtime/vm/compiler/cha.h FILE: ../../../third_party/dart/runtime/vm/compiler/cha_test.cc -FILE: ../../../third_party/dart/runtime/vm/compiler/code_generator_test.cc FILE: ../../../third_party/dart/runtime/vm/compiler/frontend/flow_graph_builder.cc FILE: ../../../third_party/dart/runtime/vm/compiler/frontend/flow_graph_builder.h FILE: ../../../third_party/dart/runtime/vm/compiler/intrinsifier.cc @@ -5274,7 +5272,6 @@ FILE: ../../../third_party/dart/runtime/observatory/lib/src/models/objects/sourc FILE: ../../../third_party/dart/runtime/observatory/lib/src/models/objects/target.dart FILE: ../../../third_party/dart/runtime/observatory/lib/src/models/objects/thread.dart FILE: ../../../third_party/dart/runtime/observatory/lib/src/models/objects/timeline_event.dart -FILE: ../../../third_party/dart/runtime/observatory/lib/src/models/objects/token_stream.dart FILE: ../../../third_party/dart/runtime/observatory/lib/src/models/objects/type_arguments.dart FILE: ../../../third_party/dart/runtime/observatory/lib/src/models/objects/unknown.dart FILE: ../../../third_party/dart/runtime/observatory/lib/src/models/objects/vm.dart @@ -5363,7 +5360,6 @@ FILE: ../../../third_party/dart/runtime/vm/compiler/backend/flow_graph_compiler_ FILE: ../../../third_party/dart/runtime/vm/compiler/backend/il_dbc.cc FILE: ../../../third_party/dart/runtime/vm/compiler/backend/redundancy_elimination.cc FILE: ../../../third_party/dart/runtime/vm/compiler/backend/redundancy_elimination.h -FILE: ../../../third_party/dart/runtime/vm/compiler/frontend/flow_graph_builder_test.cc FILE: ../../../third_party/dart/runtime/vm/compiler/frontend/kernel_binary_flowgraph.cc FILE: ../../../third_party/dart/runtime/vm/compiler/frontend/kernel_to_il.cc FILE: ../../../third_party/dart/runtime/vm/compiler/frontend/kernel_to_il.h @@ -5540,17 +5536,12 @@ FILE: ../../../third_party/dart/runtime/lib/object.cc FILE: ../../../third_party/dart/runtime/lib/string.cc FILE: ../../../third_party/dart/runtime/platform/c99_support_win.h FILE: ../../../third_party/dart/runtime/platform/inttypes_support_win.h -FILE: ../../../third_party/dart/runtime/vm/ast.cc -FILE: ../../../third_party/dart/runtime/vm/ast_printer.cc -FILE: ../../../third_party/dart/runtime/vm/ast_printer.h FILE: ../../../third_party/dart/runtime/vm/bitfield.h FILE: ../../../third_party/dart/runtime/vm/code_patcher_ia32_test.cc FILE: ../../../third_party/dart/runtime/vm/code_patcher_x64_test.cc FILE: ../../../third_party/dart/runtime/vm/compiler/assembler/disassembler.cc FILE: ../../../third_party/dart/runtime/vm/compiler/assembler/disassembler.h FILE: ../../../third_party/dart/runtime/vm/compiler/assembler/disassembler_test.cc -FILE: ../../../third_party/dart/runtime/vm/compiler_stats.cc -FILE: ../../../third_party/dart/runtime/vm/compiler_stats.h FILE: ../../../third_party/dart/runtime/vm/cpu_ia32.cc FILE: ../../../third_party/dart/runtime/vm/custom_isolate_test.cc FILE: ../../../third_party/dart/runtime/vm/dart.h @@ -5587,7 +5578,6 @@ FILE: ../../../third_party/dart/runtime/vm/native_entry_test.cc FILE: ../../../third_party/dart/runtime/vm/native_entry_test.h FILE: ../../../third_party/dart/runtime/vm/object_store_test.cc FILE: ../../../third_party/dart/runtime/vm/os.h -FILE: ../../../third_party/dart/runtime/vm/parser_test.cc FILE: ../../../third_party/dart/runtime/vm/port.h FILE: ../../../third_party/dart/runtime/vm/resolver.cc FILE: ../../../third_party/dart/runtime/vm/resolver.h @@ -5887,7 +5877,6 @@ FILE: ../../../third_party/dart/runtime/observatory/lib/src/elements/sentinel_va FILE: ../../../third_party/dart/runtime/observatory/lib/src/elements/sentinel_view.dart FILE: ../../../third_party/dart/runtime/observatory/lib/src/elements/source_inset.dart FILE: ../../../third_party/dart/runtime/observatory/lib/src/elements/stack_trace_tree_config.dart -FILE: ../../../third_party/dart/runtime/observatory/lib/src/elements/token_stream_ref.dart FILE: ../../../third_party/dart/runtime/observatory/lib/src/elements/type_arguments_ref.dart FILE: ../../../third_party/dart/runtime/observatory/lib/src/elements/unknown_ref.dart FILE: ../../../third_party/dart/runtime/observatory/lib/src/elements/vm_view.dart @@ -6192,8 +6181,6 @@ FILE: ../../../third_party/dart/runtime/platform/math.h FILE: ../../../third_party/dart/runtime/platform/memory_sanitizer.h FILE: ../../../third_party/dart/runtime/platform/safe_stack.h FILE: ../../../third_party/dart/runtime/tools/verbose_gc_to_bmu.dart -FILE: ../../../third_party/dart/runtime/vm/ast_transformer.cc -FILE: ../../../third_party/dart/runtime/vm/ast_transformer.h FILE: ../../../third_party/dart/runtime/vm/bit_set_test.cc FILE: ../../../third_party/dart/runtime/vm/code_patcher_arm64.cc FILE: ../../../third_party/dart/runtime/vm/code_patcher_arm64_test.cc diff --git a/runtime/BUILD.gn b/runtime/BUILD.gn index c4cb72d117..330c019f33 100644 --- a/runtime/BUILD.gn +++ b/runtime/BUILD.gn @@ -6,41 +6,6 @@ import("//third_party/dart/runtime/bin/vmservice/vmservice_sources.gni") import("$flutter_root/common/config.gni") import("$flutter_root/testing/testing.gni") -action("gen_embedded_resources_cc") { - script = "//third_party/dart/runtime/tools/create_resources.py" - output_file = "$target_gen_dir/embedded_resources.cc" - outputs = [ - output_file, - ] - - inputs = rebase_path(vmservice_sources, - "", - "//third_party/dart/runtime/bin/vmservice") - - args = [ - "--output", - rebase_path(output_file), - "--outer_namespace", - "flutter", - "--inner_namespace", - "runtime", - "--table_name", - "flutter_embedded_service_isolate", - "--root_prefix", - rebase_path("//third_party/dart/runtime/bin/"), - ] + rebase_path(inputs) -} - -source_set("embedded_resources_cc") { - sources = [ - "$target_gen_dir/embedded_resources.cc", - ] - deps = [ - ":gen_embedded_resources_cc", - ] - public_configs = [ "$flutter_root:config" ] -} - source_set("test_font") { sources = [ "test_font_data.cc", @@ -84,7 +49,6 @@ source_set("runtime") { ] deps = [ - ":embedded_resources_cc", ":test_font", "$flutter_root/assets", "$flutter_root/common", -- GitLab