111ea256ad
This CL adds auto-generation of entry points JSON file for standalone VM during build (in runtime_kernel target, as it is only used for kernel-based transformation). pkg/vm/tool/precompiler2 script is changed to automatically pass auto-generated entry points to gen_kernel. New option --entry-points is added to pkg/vm/bin/gen_kernel.dart in order to specify custom entry points files. Checked-in entry_points.json is still used for testing and in gen_kernel if --entry-points is not specified. Issue: https://github.com/dart-lang/sdk/issues/30480 Change-Id: I39c4461e48763f40d7565656dc33e23fc5d9c2cb Reviewed-on: https://dart-review.googlesource.com/42521 Commit-Queue: Alexander Markov <alexmarkov@google.com> Reviewed-by: Zach Anderson <zra@google.com>