--
You received this message because you are subscribed to the Google Groups "Dart VM Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vm-dev+un...@dartlang.org.
To be precise GN binary is not shipped with the repo, it's pulled down from CIPD based on the platform.
The only workaround for this is to build your own GN and replace sdk/buildtools/gn with it after you synced the source.
bash-4.4# ./tools/build.py --verbose --mode release --arch x64 runtime
gn gen --check in out/ReleaseX64Command failed: /tmp/app/sdk/buildtools/gn gen out/ReleaseX64 --args=exclude_kernel_service=false is_product=false dart_runtime_mode="develop" dart_use_crashpad=false dart_use_debian_sysroot=true dart_platform_bytecode=false use_goma=false dart_platform_sdk=false is_msan=false is_release=true is_clang=true dart_stripped_binary="exe.stripped/dart" dart_target_arch="x64" dart_use_tcmalloc=true goma_dir="None" dart_debug=false host_cpu="x64" dart_snapshot_kind="app-jit" is_tsan=false target_os="linux" dart_vm_code_coverage=false dart_use_fallback_root_certificates=true target_cpu="x64" is_asan=false is_debug=falseoutput: ERROR at //build/dart/dart_action.gni:101:3: Assertion failed.assert(_is_fuchsia || prebuilt_dart_exe_works,^-----A pre built dart executable needs to be presentSee //build/dart/dart_action.gni:180:3: whence it was called._prebuilt_tool_action(target_name) {^-----------------------------------See //utils/kernel-service/BUILD.gn:63:1: whence it was called.prebuilt_dart_action("kernel_service_dill") {^--------------------------------------------See //BUILD.gn:50:5: which caused the file to be included."utils/kernel-service:kernel-service",^------------------------------------Tried to run GN, but it failed. Try running it manually:$ python /tmp/app/sdk/tools/gn.py -m release -a x64 --os host -vninja -C out/ReleaseX64 -v runtimeninja: Entering directory `out/ReleaseX64'ninja: error: loading 'build.ninja': No such file or directoryBUILD FAILED