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

Issue 2995913002: Update incremental load example so you can point to different sdk (Closed)

Created:
3 years, 4 months ago by aam
Modified:
3 years, 4 months ago
CC:
reviews_dartlang.org, dart-fe-team+reviews_google.com, scheglov
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Update incremental load example so you can point it at different(flutter) sdk. This allows to run flutter gallery example through incremental compiler(it assumes you built android_debug flutter/engine and have fetched flutter/flutter): $HOME/p/d/dart-sdk/sdk/out/DebugX64/dart --packages=$HOME/p/d/dart-sdk/sdk/.packages $HOME/p/d/dart-sdk/sdk/pkg/front_end/example/incremental_reload/run.dart --sdk-root=$HOME/p/f/t11/flutter/engine/src/out/android_debug/flutter_patched_sdk --input $HOME/p/f/t11/flutter/flutter/examples/flutter_gallery/lib/main.dart which crashes with R=sigmund@google.com error: compilation error: dart:_builtin: Internal problem: Unhandled null in builder.library., #0 internalProblem (package:front_end/src/fasta/problems.dart:29:3) #1 unhandled (package:front_end/src/fasta/problems.dart:41:10) #2 DillLoader.buildOutline (package:front_end/src/fasta/dill/dill_loader.dart:47:7) <asynchronous suspension> ... Committed: https://github.com/dart-lang/sdk/commit/69d9c26416822807dd5f5deeecc5ba2b2a7a4035

Patch Set 1 #

Total comments: 6

Patch Set 2 : Add target #

Patch Set 3 : Use options.rest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -9 lines) Patch
M pkg/front_end/example/incremental_reload/compiler_with_invalidation.dart View 1 1 chunk +4 lines, -4 lines 0 comments Download
M pkg/front_end/example/incremental_reload/run.dart View 1 2 3 chunks +32 lines, -5 lines 0 comments Download

Messages

Total messages: 6 (3 generated)
Siggi Cherem (dart-lang)
small suggestions but otherwise lgtm. I think this crashes for you because you may need ...
3 years, 4 months ago (2017-08-15 00:37:15 UTC) #3
aam
Added --target option, and now flutter gallery app compiles fine with `--target flutter` https://codereview.chromium.org/2995913002/diff/1/pkg/front_end/example/incremental_reload/compiler_with_invalidation.dart File ...
3 years, 4 months ago (2017-08-15 03:59:49 UTC) #4
aam
3 years, 4 months ago (2017-08-15 04:04:35 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
69d9c26416822807dd5f5deeecc5ba2b2a7a4035 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698