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

Issue 2814513003: GN: Add libdart_jit and dart_api. (Closed)

Created:
3 years, 8 months ago by rmacnak
Modified:
3 years, 8 months ago
Reviewers:
zra
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

GN: Add libdart_jit and dart_api. libdart_jit is always the JIT, unlike libdart which is either the JIT or AOT runtime depending on dart_runtime_mode. Clients of libdart will be updated to explicitly choose libdart_jit or libdart_precompiled_runtime. dart_api allows libraries such as tonic or intermediate components of the Flutter engine to be agnostic as to whether they're in a JIT or AOT runtime, allowing the final executable making the choice without having to deal with a conflicting dependency brought in by a library. Remove dead libdart_embedder_noio. Replace all used of dart_nosnapshot* with dart_nosnapshot_with_precompiler*. We don't care about binary size of their clients, so it's better to have fewer targets. R=zra@google.com Committed: https://github.com/dart-lang/sdk/commit/42ec925a9e8be87e515f06440e01e11c832b8da7

Patch Set 1 #

Total comments: 6

Patch Set 2 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -39 lines) Patch
M runtime/BUILD.gn View 4 chunks +23 lines, -15 lines 0 comments Download
M runtime/bin/BUILD.gn View 4 chunks +3 lines, -15 lines 0 comments Download
M runtime/vm/BUILD.gn View 1 3 chunks +26 lines, -9 lines 0 comments Download

Messages

Total messages: 7 (2 generated)
rmacnak
3 years, 8 months ago (2017-04-10 19:33:27 UTC) #2
zra
https://codereview.chromium.org/2814513003/diff/1/runtime/BUILD.gn File runtime/BUILD.gn (right): https://codereview.chromium.org/2814513003/diff/1/runtime/BUILD.gn#newcode206 runtime/BUILD.gn:206: source_set("dart_api") { So, to depend on a header file, ...
3 years, 8 months ago (2017-04-10 19:50:02 UTC) #3
rmacnak
https://codereview.chromium.org/2814513003/diff/1/runtime/BUILD.gn File runtime/BUILD.gn (right): https://codereview.chromium.org/2814513003/diff/1/runtime/BUILD.gn#newcode206 runtime/BUILD.gn:206: source_set("dart_api") { On 2017/04/10 19:50:02, zra wrote: > So, ...
3 years, 8 months ago (2017-04-10 20:30:11 UTC) #4
zra
lgtm
3 years, 8 months ago (2017-04-10 20:36:04 UTC) #5
rmacnak
3 years, 8 months ago (2017-04-10 20:44:30 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
42ec925a9e8be87e515f06440e01e11c832b8da7 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698