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

Issue 227123007: Only run [declareOutputs] once for each asset/transformer pair. (Closed)

Created:
6 years, 8 months ago by nweiz
Modified:
6 years, 8 months ago
Reviewers:
Bob Nystrom
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Only run [declareOutputs] once for each asset/transformer pair. BUG=16442 R=rnystrom@google.com Committed: https://code.google.com/p/dart/source/detail?r=34892

Patch Set 1 #

Patch Set 2 : changes from 224933002 #

Total comments: 27

Patch Set 3 : code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+780 lines, -488 lines) Patch
M pkg/barback/CHANGELOG.md View 1 chunk +14 lines, -0 lines 0 comments Download
M pkg/barback/lib/src/base_transform.dart View 3 chunks +0 lines, -69 lines 0 comments Download
M pkg/barback/lib/src/declaring_transform.dart View 1 chunk +4 lines, -1 line 0 comments Download
M pkg/barback/lib/src/declaring_transformer.dart View 1 chunk +6 lines, -5 lines 0 comments Download
M pkg/barback/lib/src/transform.dart View 2 chunks +73 lines, -1 line 0 comments Download
M pkg/barback/lib/src/transform_node.dart View 1 2 11 chunks +214 lines, -218 lines 0 comments Download
M pkg/barback/lib/src/transformer.dart View 3 chunks +4 lines, -4 lines 0 comments Download
M pkg/barback/pubspec.yaml View 1 chunk +1 line, -1 line 0 comments Download
A pkg/barback/test/package_graph/declaring_transformer_test.dart View 1 2 1 chunk +170 lines, -0 lines 0 comments Download
M pkg/barback/test/package_graph/lazy_transformer_test.dart View 1 2 2 chunks +23 lines, -3 lines 0 comments Download
M pkg/barback/test/package_graph/transform/concurrency_test.dart View 1 chunk +15 lines, -0 lines 0 comments Download
M pkg/barback/test/package_graph/transform/pass_through_test.dart View 1 chunk +0 lines, -18 lines 0 comments Download
M pkg/barback/test/transformer/bad.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/barback/test/transformer/bad_log.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/barback/test/transformer/catch_asset_not_found.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/barback/test/transformer/check_content.dart View 1 chunk +3 lines, -2 lines 0 comments Download
M pkg/barback/test/transformer/check_content_and_rename.dart View 1 chunk +8 lines, -6 lines 0 comments Download
M pkg/barback/test/transformer/create_asset.dart View 1 chunk +1 line, -1 line 0 comments Download
A pkg/barback/test/transformer/declare_assets.dart View 1 2 1 chunk +44 lines, -0 lines 0 comments Download
A pkg/barback/test/transformer/declaring_bad.dart View 1 2 1 chunk +50 lines, -0 lines 0 comments Download
A + pkg/barback/test/transformer/declaring_rewrite.dart View 1 2 chunks +5 lines, -6 lines 0 comments Download
M pkg/barback/test/transformer/emit_nothing.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/barback/test/transformer/has_input.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/barback/test/transformer/lazy_bad.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/barback/test/transformer/lazy_many_to_one.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/barback/test/transformer/lazy_rewrite.dart View 1 1 chunk +2 lines, -10 lines 0 comments Download
M pkg/barback/test/transformer/log.dart View 1 chunk +1 line, -1 line 0 comments Download
M pkg/barback/test/transformer/many_to_one.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/barback/test/transformer/mock.dart View 2 chunks +5 lines, -5 lines 0 comments Download
M pkg/barback/test/transformer/one_to_many.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/barback/test/transformer/rewrite.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/barback/test/transformer_test.dart View 2 chunks +11 lines, -12 lines 0 comments Download
M pkg/barback/test/utils.dart View 1 1 chunk +3 lines, -0 lines 0 comments Download
M pkg/code_transformers/pubspec.yaml View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/code_transformers/test/assets_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M pkg/code_transformers/test/entry_point_test.dart View 1 chunk +0 lines, -2 lines 0 comments Download
M pkg/code_transformers/test/resolver_test.dart View 1 chunk +1 line, -2 lines 0 comments Download
M pkg/observe/lib/transformer.dart View 1 chunk +9 lines, -13 lines 0 comments Download
M pkg/observe/pubspec.yaml View 2 chunks +2 lines, -2 lines 0 comments Download
M pkg/polymer/lib/src/build/build_filter.dart View 1 chunk +4 lines, -4 lines 0 comments Download
M pkg/polymer/lib/src/build/import_inliner.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/polymer/lib/src/build/mirrors_remover.dart View 1 chunk +2 lines, -3 lines 0 comments Download
M pkg/polymer/lib/src/build/polyfill_injector.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/polymer/lib/src/build/script_compactor.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/polymer/pubspec.yaml View 1 chunk +1 line, -1 line 0 comments Download
M pkg/smoke/lib/src/default_transformer.dart View 1 chunk +2 lines, -3 lines 0 comments Download
M pkg/smoke/pubspec.yaml View 1 chunk +1 line, -1 line 0 comments Download
M samples/third_party/dromaeo/lib/transformer.dart View 1 chunk +2 lines, -2 lines 0 comments Download
M samples/third_party/dromaeo/pubspec.yaml View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/asset/dart/serialize/transformer.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/lib/src/barback.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/pub/lib/src/barback/dart2js_transformer.dart View 2 chunks +67 lines, -58 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/barback/excluding_transformer.dart View 1 chunk +4 lines, -4 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/barback/load_transformers.dart View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
nweiz
Like before, patch set 1 is the previous patch, so you only need to look ...
6 years, 8 months ago (2014-04-08 00:13:35 UTC) #1
Bob Nystrom
https://codereview.chromium.org/227123007/diff/20001/pkg/barback/lib/src/transform_node.dart File pkg/barback/lib/src/transform_node.dart (right): https://codereview.chromium.org/227123007/diff/20001/pkg/barback/lib/src/transform_node.dart#newcode110 pkg/barback/lib/src/transform_node.dart:110: /// This is only set if [transformer] is a ...
6 years, 8 months ago (2014-04-08 18:23:44 UTC) #2
nweiz
https://codereview.chromium.org/227123007/diff/20001/pkg/barback/lib/src/transform_node.dart File pkg/barback/lib/src/transform_node.dart (right): https://codereview.chromium.org/227123007/diff/20001/pkg/barback/lib/src/transform_node.dart#newcode110 pkg/barback/lib/src/transform_node.dart:110: /// This is only set if [transformer] is a ...
6 years, 8 months ago (2014-04-08 23:42:32 UTC) #3
Bob Nystrom
LGTM, but the behavior around outputting undeclared assets still feels rough to me. https://codereview.chromium.org/227123007/diff/20001/pkg/barback/lib/src/transform_node.dart File ...
6 years, 8 months ago (2014-04-09 18:07:07 UTC) #4
nweiz
https://codereview.chromium.org/227123007/diff/20001/pkg/barback/test/package_graph/declaring_transformer_test.dart File pkg/barback/test/package_graph/declaring_transformer_test.dart (right): https://codereview.chromium.org/227123007/diff/20001/pkg/barback/test/package_graph/declaring_transformer_test.dart#newcode141 pkg/barback/test/package_graph/declaring_transformer_test.dart:141: schedule(pumpEventQueue); On 2014/04/09 18:07:08, Bob Nystrom wrote: > On ...
6 years, 8 months ago (2014-04-09 20:11:52 UTC) #5
nweiz
6 years, 8 months ago (2014-04-09 20:23:57 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as r34892 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698