dart-sdk/utils
Clement Skau fd5140d491 [SDK] Fix VM/kernel version mix in build.
Several people have experienced build issues traced back to
target `//utils/dartanalyzer:generate_summary_strong`.
The issue is triggered by the sdk_hash changing with an old
kernel-service snapshot in the out/ folder.
`generate_summary_strong` uses but does not explicitly depend on
the kernel-service, causing the outdated dependency.
This then causes 'Unexpected Kernel SDK Version' when the new dart
binary tried to load the old kernel-service snapshot.

Tested:
1. Clean build of create_sdk at HEAD.
2. Empty `git commit --amend` to modify commit and thus sdk hash.
3. Rebuild of create_sdk (which failed before).

Cq-Include-Trybots: dart/try:analyzer-analysis-server-linux-try,analyzer-linux-release-try,analyzer-mac-release-try,analyzer-nnbd-linux-release-try,analyzer-win-release-try,benchmark-linux-try,dart-sdk-linux-try,dart-sdk-mac-try,dart-sdk-win-try,dart-sdk-win-try,flutter-analyze-try,front-end-linux-release-x64-try,pkg-linux-release-try,vm-kernel-linux-release-x64-try
Change-Id: Iba07e9d0c5daa7a93870fb501d9bb57682c88a5d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/156913
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
Commit-Queue: Clement Skau <cskau@google.com>
2020-08-05 11:46:28 +00:00
..
analysis_server [analyzer] add more inputs to the analysis server GN build 2019-10-16 22:43:59 +00:00
bazel add --verbose support to Kernel worker 2020-05-15 15:18:52 +00:00
compiler [Core Libraries] Eliminate the fork in the core libraries. 2020-06-16 23:37:36 +00:00
dart2native [BUILD] - Format gn files, this is being done to ensure the unfork CL 2020-03-10 21:56:11 +00:00
dartanalyzer [build] Add dependencies to the strong summary generation 2020-07-31 20:49:29 +00:00
dartdev [ DartDev / GN ] Updated build files to always copy dartdev and DDS 2020-07-30 22:02:24 +00:00
dartdevc [ddc] Delete unused target dartdevc_patch_sdk 2020-07-29 01:10:51 +00:00
dartdoc [VM/SDK] Switch kernel isolate to run in Dart 2 mode 2018-08-21 20:28:06 +00:00
dartfix Add a script and target to run dartfix 2019-10-14 15:50:21 +00:00
dartfmt [VM/SDK] Switch kernel isolate to run in Dart 2 mode 2018-08-21 20:28:06 +00:00
dds [ DartDev / GN ] Updated build files to always copy dartdev and DDS 2020-07-30 22:02:24 +00:00
gen_kernel [BUILD] - Format gn files, this is being done to ensure the unfork CL 2020-03-10 21:56:11 +00:00
kernel-service [vm] Ensure SDK hash is correctly embedded for CFE and other tools that produce Kernel 2020-07-16 18:43:24 +00:00
peg Spelling fixes e to i. 2017-06-24 13:41:39 +02:00
pub Remove workaround introduced for issue #40486, that issue 2020-02-26 03:26:25 +00:00
tests/peg [infra] Keep comments intact when updating status files. 2018-04-10 19:03:21 +00:00
application_snapshot.gni [SDK] Fix VM/kernel version mix in build. 2020-08-05 11:46:28 +00:00
compile_platform.gni Reland "[SDK] Adds an SDK hash to kernels and the VM." 2020-07-07 06:08:20 +00:00
create_timestamp.gni [BUILD] - Format gn files, this is being done to ensure the unfork CL 2020-03-10 21:56:11 +00:00