dart-sdk/pkg/vm/bin
Martin Kustermann 8d802dd78a [vm] Avoid embedding sources in CFE compilations if we AppJit
Creation of AppJit snapshot will not include the source of [Script]
objects (see `UntaggedScript::snapshot_to`). As a result there's no
point in letting the CFE embed the sources into the kernel if we
only use it to create an AppJit snapshot.

This is also in line with build rules for our dart-sdk, where we do the
kernel compilation separately, see utils/application_snapshot.gni:

```
  template("application_snapshot") {
    ...
    # Build the kernel file using the prebuilt VM to speed up the
    # debug and simulator builds.
    prebuilt_dart_action(target_name + "_dill") {
      ...

      args = [
        ...
        "--no-embed-sources",
        ...
      ]
      [[[
    }
    ...
  }
```

TEST=ci

Change-Id: I4e17e49dc21af6102d62c2278dbd6ebbe387f7e8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/313560
Reviewed-by: Slava Egorov <vegorov@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
2023-07-14 09:47:38 +00:00
..
compare_il.dart [vm/test] Convert vm/cc/IRTest_TypedDataAOT_{NotInlining,Regress43534} to the new IL tests 2022-01-04 15:29:06 +00:00
dump_kernel.dart Remove bytecode generator 2020-10-23 19:30:43 +00:00
gen_kernel.dart Spelling 2023-01-30 18:29:59 +00:00
kernel_service.dart [vm] Avoid embedding sources in CFE compilations if we AppJit 2023-07-14 09:47:38 +00:00
list_libraries.dart [vm/tools] Don't duplicate "problems" metadata into split package files. 2019-02-13 19:16:36 +00:00
protobuf_aware_treeshaker.dart [kernel] Enable sound null safety in TargetFlags by default 2023-02-02 14:54:18 +00:00