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

Issue 2234343003: fix #620, infer the input files from sources (Closed)

Created:
4 years, 4 months ago by Jennifer Messerly
Modified:
4 years, 4 months ago
Reviewers:
vsm, nweiz
CC:
dev-compiler+reviews_dartlang.org
Base URL:
git@github.com:dart-lang/dev_compiler.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

fix #620, infer the input files from sources also simplifies build of packages used by our tests this caused a bunch of tests that use parts to start passing R=nweiz@google.com Committed: https://github.com/dart-lang/dev_compiler/commit/617e3b69a61e6994bfc8eb9e2a807deda52cfd45

Patch Set 1 #

Patch Set 2 : format #

Total comments: 4

Patch Set 3 : fix #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1301 lines, -8827 lines) Patch
M karma.conf.js View 1 chunk +1 line, -7 lines 0 comments Download
M lib/src/compiler/code_generator.dart View 1 chunk +1 line, -1 line 0 comments Download
M lib/src/compiler/compiler.dart View 1 2 4 chunks +28 lines, -36 lines 0 comments Download
M pubspec.lock View 1 chunk +2 lines, -1 line 0 comments Download
M test/browser/language_tests.js View 13 chunks +2 lines, -18 lines 0 comments Download
D test/codegen_expected/async_helper/async_helper.js View 1 chunk +0 lines, -76 lines 0 comments Download
M test/codegen_expected/destructuring.js View 3 chunks +15 lines, -0 lines 0 comments Download
D test/codegen_expected/expect/expect.js View 1 chunk +0 lines, -304 lines 0 comments Download
D test/codegen_expected/js/js.js View 1 chunk +0 lines, -31 lines 0 comments Download
M test/codegen_expected/language/application_test.js View 1 chunk +15 lines, -1 line 0 comments Download
M test/codegen_expected/language/cyclic_import_test.js View 1 chunk +7 lines, -551 lines 0 comments Download
M test/codegen_expected/language/export_double_same_main_test.js View 1 chunk +22 lines, -1 line 0 comments Download
M test/codegen_expected/language/export_main_override_test.js View 1 chunk +21 lines, -1 line 0 comments Download
M test/codegen_expected/language/export_main_test.js View 1 chunk +18 lines, -1 line 0 comments Download
M test/codegen_expected/language/generic_instanceof_test.js View 1 chunk +164 lines, -1 line 0 comments Download
M test/codegen_expected/language/hello_script_test.js View 1 chunk +38 lines, -1 line 0 comments Download
M test/codegen_expected/language/inline_super_test.js View 1 chunk +43 lines, -1 line 0 comments Download
M test/codegen_expected/language/lazy_static6_test.js View 1 chunk +27 lines, -1 line 0 comments Download
M test/codegen_expected/language/library1_test.js View 1 chunk +42 lines, -1 line 0 comments Download
M test/codegen_expected/language/library_juxtaposition_test.js View 1 chunk +22 lines, -1 line 0 comments Download
M test/codegen_expected/language/library_prefixes_test.js View 1 chunk +350 lines, -1 line 0 comments Download
M test/codegen_expected/language/many_generic_instanceof_test.js View 1 chunk +173 lines, -1 line 0 comments Download
M test/codegen_expected/language/multi_pass2_test.js View 1 chunk +52 lines, -1 line 0 comments Download
M test/codegen_expected/language/multi_pass_test.js View 1 chunk +52 lines, -1 line 0 comments Download
M test/codegen_expected/language/part_test.js View 1 chunk +17 lines, -1 line 0 comments Download
M test/codegen_expected/language/private2_test.js View 1 chunk +49 lines, -1 line 0 comments Download
M test/codegen_expected/language/regress_18535_test.js View 1 chunk +1 line, -17 lines 0 comments Download
M test/codegen_expected/language/top_level_entry_test.js View 1 chunk +15 lines, -1 line 0 comments Download
M test/codegen_expected/language/top_level_multiple_files_test.js View 1 chunk +24 lines, -1 line 0 comments Download
M test/codegen_expected/language/top_level_non_prefixed_library_test.js View 1 chunk +26 lines, -1 line 0 comments Download
D test/codegen_expected/matcher/matcher.js View 1 chunk +0 lines, -2009 lines 0 comments Download
D test/codegen_expected/path/path.js View 1 chunk +0 lines, -1092 lines 0 comments Download
D test/codegen_expected/stack_trace/stack_trace.js View 1 chunk +0 lines, -797 lines 0 comments Download
D test/codegen_expected/unittest/unittest.js View 1 chunk +0 lines, -3740 lines 0 comments Download
M test/codegen_expected/varargs.js View 2 chunks +15 lines, -0 lines 0 comments Download
M test/codegen_test.dart View 7 chunks +17 lines, -107 lines 0 comments Download
M test/worker/worker_test.dart View 4 chunks +6 lines, -15 lines 0 comments Download
A tool/build_test_pkgs.sh View 1 chunk +34 lines, -0 lines 2 comments Download
M tool/sdk_expected_errors.txt View 1 chunk +0 lines, -6 lines 0 comments Download
M tool/test.sh View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
Jennifer Messerly
4 years, 4 months ago (2016-08-11 17:47:46 UTC) #2
nweiz
Dart code LGTM https://codereview.chromium.org/2234343003/diff/20001/lib/src/compiler/compiler.dart File lib/src/compiler/compiler.dart (right): https://codereview.chromium.org/2234343003/diff/20001/lib/src/compiler/compiler.dart#newcode79 lib/src/compiler/compiler.dart:79: bool compilingSdk = false; "var"? https://codereview.chromium.org/2234343003/diff/20001/lib/src/compiler/compiler.dart#newcode109 ...
4 years, 4 months ago (2016-08-11 20:14:29 UTC) #3
Jennifer Messerly
Thanks! :) https://codereview.chromium.org/2234343003/diff/20001/lib/src/compiler/compiler.dart File lib/src/compiler/compiler.dart (right): https://codereview.chromium.org/2234343003/diff/20001/lib/src/compiler/compiler.dart#newcode79 lib/src/compiler/compiler.dart:79: bool compilingSdk = false; On 2016/08/11 20:14:29, ...
4 years, 4 months ago (2016-08-11 20:19:23 UTC) #4
Jennifer Messerly
Committed patchset #3 (id:40001) manually as 617e3b69a61e6994bfc8eb9e2a807deda52cfd45 (presubmit successful).
4 years, 4 months ago (2016-08-11 20:19:40 UTC) #6
vsm
nice! https://codereview.chromium.org/2234343003/diff/40001/tool/build_test_pkgs.sh File tool/build_test_pkgs.sh (right): https://codereview.chromium.org/2234343003/diff/40001/tool/build_test_pkgs.sh#newcode24 tool/build_test_pkgs.sh:24: ./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/stack_trace.js \ I believe stack_trace ...
4 years, 4 months ago (2016-08-11 21:45:57 UTC) #7
Jennifer Messerly
https://codereview.chromium.org/2234343003/diff/40001/tool/build_test_pkgs.sh File tool/build_test_pkgs.sh (right): https://codereview.chromium.org/2234343003/diff/40001/tool/build_test_pkgs.sh#newcode24 tool/build_test_pkgs.sh:24: ./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/stack_trace.js \ On 2016/08/11 21:45:56, vsm ...
4 years, 4 months ago (2016-08-11 21:47:51 UTC) #8
vsm
On 2016/08/11 21:47:51, John Messerly wrote: > https://codereview.chromium.org/2234343003/diff/40001/tool/build_test_pkgs.sh > File tool/build_test_pkgs.sh (right): > > https://codereview.chromium.org/2234343003/diff/40001/tool/build_test_pkgs.sh#newcode24 ...
4 years, 4 months ago (2016-08-11 21:49:46 UTC) #9
Jennifer Messerly
On 2016/08/11 21:49:46, vsm wrote: > On 2016/08/11 21:47:51, John Messerly wrote: > > https://codereview.chromium.org/2234343003/diff/40001/tool/build_test_pkgs.sh ...
4 years, 4 months ago (2016-08-11 21:54:36 UTC) #10
vsm
4 years, 4 months ago (2016-08-11 22:27:57 UTC) #11
Message was sent while issue was closed.
On 2016/08/11 21:54:36, John Messerly wrote:
> On 2016/08/11 21:49:46, vsm wrote:
> > On 2016/08/11 21:47:51, John Messerly wrote:
> > >
> https://codereview.chromium.org/2234343003/diff/40001/tool/build_test_pkgs.sh
> > > File tool/build_test_pkgs.sh (right):
> > > 
> > >
> >
>
https://codereview.chromium.org/2234343003/diff/40001/tool/build_test_pkgs.sh...
> > > tool/build_test_pkgs.sh:24: ./bin/dartdevc.dart $SDK  -o
> > > gen/codegen_output/pkg/stack_trace.js \
> > > On 2016/08/11 21:45:56, vsm wrote:
> > > > I believe stack_trace depends on path - don't you need to pass the
summary
> > > here?
> > > 
> > > it'll just get inlined if it does. but we could save a weeeeee bit of
> startup
> > > for the tests I suppose :)
> > 
> > Which version gets used if both are linked in by the same test?
> 
> I'm happy to fix it ... just saying it really doesn't break anything :). None
of
> the language tests use path.

fine as is - lgtm

Powered by Google App Engine
This is Rietveld 408576698