Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(230)

Issue 2434123003: Merge more Kernel infrastructure from kernel_sdk SDK fork. (Closed)

Created:
4 years, 2 months ago by Vyacheslav Egorov (Google)
Modified:
4 years, 1 month ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Merge more Kernel infrastructure from kernel_sdk SDK fork. - bring patched SDK generation scripts and VM patch tweaks that allow VM patch files to be parsed by analyzer front-end; Patched SDK is an SDK with all VM patches spliced into it. Kernel compiler is based on the analyzer front-end which does not have any patch files support/model so for it to produce Kernel files that match VM we need to generate a such patched SDKs. - bring test script modifications that allow to test Kernel pipeline BUG= R=asiva@google.com, kmillikin@google.com, whesse@google.com, zra@google.com Committed: https://github.com/dart-lang/sdk/commit/2fed1c39053eec122fa5bfec9a123ca2c5b80500

Patch Set 1 #

Total comments: 54

Patch Set 2 : Address comments #

Total comments: 7

Patch Set 3 : don't put synthetic classes into core libraries #

Total comments: 19

Patch Set 4 : address more comments #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+5048 lines, -135 lines) Patch
M BUILD.gn View 1 2 3 3 chunks +3 lines, -0 lines 0 comments Download
M dart.gyp View 3 chunks +4 lines, -0 lines 0 comments Download
M runtime/bin/builtin.dart View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M runtime/bin/common_patch.dart View 2 chunks +3 lines, -1 line 0 comments Download
M runtime/bin/eventhandler_patch.dart View 1 chunk +0 lines, -2 lines 0 comments Download
A runtime/bin/nativewrappers.dart View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
M runtime/bin/process_patch.dart View 1 1 chunk +2 lines, -2 lines 0 comments Download
M runtime/bin/stdio_patch.dart View 4 chunks +5 lines, -5 lines 0 comments Download
M runtime/lib/collection_patch.dart View 1 chunk +5 lines, -2 lines 0 comments Download
M runtime/lib/collection_sources.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/lib/compact_hash.dart View 1 chunk +0 lines, -3 lines 0 comments Download
M runtime/lib/core_patch.dart View 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/lib/developer.dart View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/lib/developer_sources.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/lib/errors_patch.dart View 2 chunks +1 line, -3 lines 0 comments Download
M runtime/lib/integers_patch.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M runtime/lib/lib_prefix.dart View 1 chunk +0 lines, -3 lines 0 comments Download
M runtime/lib/mirrors_impl.dart View 1 chunk +0 lines, -3 lines 0 comments Download
M runtime/lib/mirrors_patch.dart View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/lib/mirrors_sources.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/lib/null_patch.dart View 1 1 chunk +0 lines, -7 lines 0 comments Download
M runtime/lib/object_patch.dart View 1 chunk +1 line, -1 line 0 comments Download
M runtime/lib/profiler.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M runtime/lib/regexp_patch.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M runtime/lib/timeline.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M runtime/lib/typed_data.dart View 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/lib/uri_patch.dart View 1 chunk +0 lines, -2 lines 0 comments Download
A runtime/tools/concatenate_patches.py View 1 chunk +30 lines, -0 lines 0 comments Download
M runtime/vm/BUILD.gn View 1 2 3 3 chunks +126 lines, -13 lines 4 comments Download
M runtime/vm/vm.gypi View 2 chunks +453 lines, -0 lines 0 comments Download
M sdk/lib/_internal/sdk_library_metadata/lib/libraries.dart View 3 chunks +26 lines, -2 lines 0 comments Download
A tests/co19/co19-kernel.status View 1 chunk +645 lines, -0 lines 0 comments Download
A + tests/kernel/kernel.status View 1 1 chunk +3 lines, -5 lines 0 comments Download
A tests/kernel/unsorted/as_is_test.dart View 1 chunk +28 lines, -0 lines 0 comments Download
A tests/kernel/unsorted/block_scope_test.dart View 1 chunk +60 lines, -0 lines 0 comments Download
A tests/kernel/unsorted/breakable_statement_test.dart View 1 1 chunk +81 lines, -0 lines 0 comments Download
A + tests/kernel/unsorted/closures_regression_test.dart View 1 chunk +13 lines, -10 lines 0 comments Download
A tests/kernel/unsorted/closures_test.dart View 1 chunk +65 lines, -0 lines 0 comments Download
A tests/kernel/unsorted/conditional_test.dart View 1 chunk +142 lines, -0 lines 0 comments Download
A + tests/kernel/unsorted/constant_evaluator_regression_test.dart View 1 chunk +4 lines, -2 lines 0 comments Download
A tests/kernel/unsorted/constant_expressions_test.dart View 1 1 chunk +99 lines, -0 lines 0 comments Download
A tests/kernel/unsorted/expect.dart View 1 1 chunk +16 lines, -0 lines 0 comments Download
A tests/kernel/unsorted/factory_regression_test.dart View 1 1 chunk +23 lines, -0 lines 0 comments Download
A tests/kernel/unsorted/field_dispatcher_test.dart View 1 chunk +37 lines, -0 lines 0 comments Download
A tests/kernel/unsorted/finally_contexts_test.dart View 1 chunk +47 lines, -0 lines 0 comments Download
A tests/kernel/unsorted/for_in_loop_test.dart View 1 chunk +38 lines, -0 lines 0 comments Download
A tests/kernel/unsorted/getters_and_setters_test.dart View 1 1 chunk +32 lines, -0 lines 0 comments Download
A tests/kernel/unsorted/global_field_initializer_test.dart View 1 1 chunk +37 lines, -0 lines 0 comments Download
A tests/kernel/unsorted/global_function_test.dart View 1 1 chunk +35 lines, -0 lines 0 comments Download
A tests/kernel/unsorted/instance_getters_and_setters_test.dart View 1 1 chunk +36 lines, -0 lines 0 comments Download
A + tests/kernel/unsorted/invocation_errors_test.dart View 1 chunk +6 lines, -7 lines 0 comments Download
A tests/kernel/unsorted/invocation_test.dart View 1 chunk +40 lines, -0 lines 0 comments Download
A tests/kernel/unsorted/klass_field_initializer_test.dart View 1 1 chunk +36 lines, -0 lines 0 comments Download
A tests/kernel/unsorted/klass_test.dart View 1 1 chunk +52 lines, -0 lines 0 comments Download
A + tests/kernel/unsorted/let_test.dart View 1 1 chunk +3 lines, -2 lines 0 comments Download
A tests/kernel/unsorted/load_store_test.dart View 1 chunk +64 lines, -0 lines 0 comments Download
A tests/kernel/unsorted/local_function_test.dart View 1 chunk +25 lines, -0 lines 0 comments Download
A tests/kernel/unsorted/loop_test.dart View 1 chunk +91 lines, -0 lines 0 comments Download
A tests/kernel/unsorted/mapliteral_test.dart View 1 1 chunk +27 lines, -0 lines 0 comments Download
A tests/kernel/unsorted/mixin_test.dart View 1 1 chunk +64 lines, -0 lines 0 comments Download
A tests/kernel/unsorted/nsm_dispatcher_test.dart View 1 chunk +32 lines, -0 lines 0 comments Download
A + tests/kernel/unsorted/nullable_operator_test.dart View 1 1 chunk +6 lines, -2 lines 0 comments Download
A tests/kernel/unsorted/rethrow_test.dart View 1 1 chunk +67 lines, -0 lines 0 comments Download
A tests/kernel/unsorted/return_test.dart View 1 chunk +28 lines, -0 lines 0 comments Download
A tests/kernel/unsorted/simple_literal_test.dart View 1 chunk +45 lines, -0 lines 0 comments Download
A + tests/kernel/unsorted/string_buffer_test.dart View 1 1 chunk +3 lines, -3 lines 0 comments Download
A + tests/kernel/unsorted/string_concatenation_test.dart View 1 1 chunk +6 lines, -2 lines 0 comments Download
A tests/kernel/unsorted/super_initializer_test.dart View 1 chunk +48 lines, -0 lines 0 comments Download
A tests/kernel/unsorted/super_mixin_test.dart View 1 1 chunk +39 lines, -0 lines 0 comments Download
A tests/kernel/unsorted/super_test.dart View 1 1 chunk +40 lines, -0 lines 0 comments Download
A tests/kernel/unsorted/superclass_test.dart View 1 1 chunk +64 lines, -0 lines 0 comments Download
A tests/kernel/unsorted/switch_case_test.dart View 1 chunk +174 lines, -0 lines 0 comments Download
A + tests/kernel/unsorted/symbol_literal_test.dart View 1 1 chunk +3 lines, -2 lines 0 comments Download
A tests/kernel/unsorted/this_capture_test.dart View 1 chunk +34 lines, -0 lines 0 comments Download
A + tests/kernel/unsorted/this_test.dart View 1 1 chunk +8 lines, -9 lines 0 comments Download
A tests/kernel/unsorted/throw_try_catch_test.dart View 1 1 chunk +190 lines, -0 lines 0 comments Download
A tests/kernel/unsorted/try_context_test.dart View 1 chunk +91 lines, -0 lines 0 comments Download
A tests/kernel/unsorted/try_finally_test.dart View 1 1 chunk +158 lines, -0 lines 0 comments Download
A tests/kernel/unsorted/type_args_regression_test.dart View 1 chunk +22 lines, -0 lines 0 comments Download
A tests/kernel/unsorted/types_test.dart View 1 chunk +202 lines, -0 lines 0 comments Download
A tests/language/language_kernel.status View 1 chunk +720 lines, -0 lines 0 comments Download
A + tools/patch_sdk.dart View 1 2 6 chunks +94 lines, -26 lines 0 comments Download
A tools/patch_sdk.py View 1 chunk +17 lines, -0 lines 0 comments Download
A tools/run_pub_get.py View 1 chunk +28 lines, -0 lines 2 comments Download
M tools/testing/dart/co19_test_config.dart View 1 chunk +2 lines, -1 line 0 comments Download
M tools/testing/dart/compiler_configuration.dart View 1 2 chunks +264 lines, -0 lines 0 comments Download
M tools/testing/dart/test_configurations.dart View 1 chunk +1 line, -0 lines 0 comments Download
M tools/testing/dart/test_options.dart View 1 6 chunks +34 lines, -4 lines 0 comments Download
M tools/testing/dart/test_runner.dart View 1 5 chunks +65 lines, -0 lines 0 comments Download
M tools/testing/dart/test_suite.dart View 3 chunks +24 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
Vyacheslav Egorov (Google)
PTAL (this depends on https://chromiumcodereview.appspot.com/2435013003/ which is in process of being landed)
4 years, 2 months ago (2016-10-20 16:49:38 UTC) #2
Kevin Millikin (Google)
LGTM. Ultimately when the analyzer can handle patch files, we should be able to have ...
4 years, 2 months ago (2016-10-21 09:10:58 UTC) #3
Bill Hesse
lgtm https://codereview.chromium.org/2434123003/diff/1/DEPS File DEPS (right): https://codereview.chromium.org/2434123003/diff/1/DEPS#newcode578 DEPS:578: 'name': 'run_pub_get', This adds a lot of complexity, ...
4 years, 2 months ago (2016-10-21 12:17:39 UTC) #4
Vyacheslav Egorov (Google)
Please take another look. I removed additional copy of Kernel - that did not work ...
4 years, 2 months ago (2016-10-21 13:39:44 UTC) #6
Florian Schneider
https://codereview.chromium.org/2434123003/diff/20001/runtime/bin/nativewrappers.dart File runtime/bin/nativewrappers.dart (right): https://codereview.chromium.org/2434123003/diff/20001/runtime/bin/nativewrappers.dart#newcode7 runtime/bin/nativewrappers.dart:7: class NativeFieldWrapperClass1 extends Object {} Are these now duplicated ...
4 years, 2 months ago (2016-10-21 15:36:09 UTC) #8
Vyacheslav Egorov (Google)
https://codereview.chromium.org/2434123003/diff/20001/runtime/bin/nativewrappers.dart File runtime/bin/nativewrappers.dart (right): https://codereview.chromium.org/2434123003/diff/20001/runtime/bin/nativewrappers.dart#newcode7 runtime/bin/nativewrappers.dart:7: class NativeFieldWrapperClass1 extends Object {} On 2016/10/21 15:36:09, Florian ...
4 years, 2 months ago (2016-10-21 15:55:32 UTC) #9
Florian Schneider
https://codereview.chromium.org/2434123003/diff/20001/runtime/bin/nativewrappers.dart File runtime/bin/nativewrappers.dart (right): https://codereview.chromium.org/2434123003/diff/20001/runtime/bin/nativewrappers.dart#newcode7 runtime/bin/nativewrappers.dart:7: class NativeFieldWrapperClass1 extends Object {} On 2016/10/21 15:55:32, Vyacheslav ...
4 years, 2 months ago (2016-10-21 17:16:02 UTC) #10
siva
4 years, 2 months ago (2016-10-21 20:47:06 UTC) #12
zra
https://codereview.chromium.org/2434123003/diff/40001/dart.gyp File dart.gyp (right): https://codereview.chromium.org/2434123003/diff/40001/dart.gyp#newcode33 dart.gyp:33: 'runtime/dart-runtime.gyp:generate_patched_sdk#host', Could you also please add this to the ...
4 years, 2 months ago (2016-10-21 21:34:43 UTC) #13
Vyacheslav Egorov (Google)
I have addressed latest comments. (In reality BUILD.gn did not work at all the way ...
4 years, 1 month ago (2016-10-24 13:35:10 UTC) #14
zra
GN lgtm https://codereview.chromium.org/2434123003/diff/60001/runtime/vm/BUILD.gn File runtime/vm/BUILD.gn (right): https://codereview.chromium.org/2434123003/diff/60001/runtime/vm/BUILD.gn#newcode338 runtime/vm/BUILD.gn:338: foreach(library, invoker.libraries) { assert that invoker.libraries is ...
4 years, 1 month ago (2016-10-25 07:06:36 UTC) #15
siva
lgtm
4 years, 1 month ago (2016-10-26 07:19:37 UTC) #16
Vyacheslav Egorov (Google)
Thanks for all your reviews. Landing this now. https://codereview.chromium.org/2434123003/diff/60001/runtime/vm/BUILD.gn File runtime/vm/BUILD.gn (right): https://codereview.chromium.org/2434123003/diff/60001/runtime/vm/BUILD.gn#newcode338 runtime/vm/BUILD.gn:338: foreach(library, ...
4 years, 1 month ago (2016-10-26 10:45:17 UTC) #17
Vyacheslav Egorov (Google)
4 years, 1 month ago (2016-10-26 11:02:59 UTC) #19
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
2fed1c39053eec122fa5bfec9a123ca2c5b80500 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698