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

Issue 1106713003: Support defining environment constants for dart2js via the command-line. (Closed)

Created:
5 years, 8 months ago by nweiz
Modified:
5 years, 8 months ago
Reviewers:
Bob Nystrom, kevmoo
CC:
reviews_dartlang.org, Cutch, kevmoo
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Support defining environment constants for dart2js via the command-line. These constants only work for dart2js because neither Dartium nor the isolate API support defining them. BUG= http://dartbug.com/15806 R=rnystrom@google.com Committed: https://code.google.com/p/dart/source/detail?r=45416

Patch Set 1 #

Total comments: 10

Patch Set 2 : Code review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -7 lines) Patch
M sdk/lib/_internal/pub/lib/src/barback/asset_environment.dart View 4 chunks +11 lines, -3 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/barback/dart2js_transformer.dart View 1 chunk +4 lines, -2 lines 0 comments Download
M sdk/lib/_internal/pub/lib/src/command/build.dart View 2 chunks +11 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/lib/src/command/serve.dart View 2 chunks +8 lines, -1 line 0 comments Download
M sdk/lib/_internal/pub/lib/src/utils.dart View 1 1 chunk +10 lines, -0 lines 0 comments Download
A sdk/lib/_internal/pub/test/dart2js/environment_constant_test.dart View 1 chunk +65 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (2 generated)
nweiz
5 years, 8 months ago (2015-04-24 00:14:26 UTC) #2
kevmoo
DBC https://codereview.chromium.org/1106713003/diff/1/sdk/lib/_internal/pub/test/dart2js/environment_constant_test.dart File sdk/lib/_internal/pub/test/dart2js/environment_constant_test.dart (right): https://codereview.chromium.org/1106713003/diff/1/sdk/lib/_internal/pub/test/dart2js/environment_constant_test.dart#newcode29 sdk/lib/_internal/pub/test/dart2js/environment_constant_test.dart:29: schedulePub(args: ["build", "--define", "name=fblthp"], Can I define many ...
5 years, 8 months ago (2015-04-24 00:23:14 UTC) #4
nweiz
https://codereview.chromium.org/1106713003/diff/1/sdk/lib/_internal/pub/test/dart2js/environment_constant_test.dart File sdk/lib/_internal/pub/test/dart2js/environment_constant_test.dart (right): https://codereview.chromium.org/1106713003/diff/1/sdk/lib/_internal/pub/test/dart2js/environment_constant_test.dart#newcode29 sdk/lib/_internal/pub/test/dart2js/environment_constant_test.dart:29: schedulePub(args: ["build", "--define", "name=fblthp"], On 2015/04/24 00:23:14, kevmoo wrote: ...
5 years, 8 months ago (2015-04-24 00:26:48 UTC) #5
Bob Nystrom
https://codereview.chromium.org/1106713003/diff/1/sdk/lib/_internal/pub/lib/src/command/build.dart File sdk/lib/_internal/pub/lib/src/command/build.dart (right): https://codereview.chromium.org/1106713003/diff/1/sdk/lib/_internal/pub/lib/src/command/build.dart#newcode40 sdk/lib/_internal/pub/lib/src/command/build.dart:40: allowMultiple: true, splitCommas: false); Why make splitCommas false? https://codereview.chromium.org/1106713003/diff/1/sdk/lib/_internal/pub/lib/src/utils.dart ...
5 years, 8 months ago (2015-04-24 21:33:10 UTC) #6
nweiz
Code review changes
5 years, 8 months ago (2015-04-24 21:37:42 UTC) #7
nweiz
https://codereview.chromium.org/1106713003/diff/1/sdk/lib/_internal/pub/lib/src/command/build.dart File sdk/lib/_internal/pub/lib/src/command/build.dart (right): https://codereview.chromium.org/1106713003/diff/1/sdk/lib/_internal/pub/lib/src/command/build.dart#newcode40 sdk/lib/_internal/pub/lib/src/command/build.dart:40: allowMultiple: true, splitCommas: false); On 2015/04/24 21:33:09, Bob Nystrom ...
5 years, 8 months ago (2015-04-24 21:38:06 UTC) #8
Bob Nystrom
lgtm
5 years, 8 months ago (2015-04-24 21:39:26 UTC) #9
nweiz
5 years, 8 months ago (2015-04-24 21:40:59 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as 45416 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698