)]}'
{
  "commit": "116ad3612dc2d170cdb47756134e7f082efbfd82",
  "tree": "8202cc5b1a104fa22e477a34fab9ec303e53b7ee",
  "parents": [
    "6e582bb058d6a82c7660537be48fecae8b213331"
  ],
  "author": {
    "name": "Ben Konyi",
    "email": "bkonyi@google.com",
    "time": "Fri Nov 27 20:19:17 2026 +0000"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Fri Nov 27 20:19:17 2026 +0000"
  },
  "message": "Reland [tool][engine] Enable experimental VM service by default (#197483)\n\nRelands [#190100](https://github.com/flutter/flutter/pull/190100)\n(reverted in [#197481](https://github.com/flutter/flutter/pull/197481))\nwith a fix for Windows and Linux desktop profile-mode bundling on\nexisting projects.\n\n### Root cause\n[#190100](https://github.com/flutter/flutter/pull/190100) added the\n`install(FILES ... libvmservice_snapshot.{dll,so} ...)` rule only to the\nnew-project `CMakeLists.txt.tmpl` templates. Existing Windows and Linux\napps (including DeviceLab apps such as `flutter_gallery` and\n`flutter_view`) have checked-in `CMakeLists.txt` files without that\nrule, so `UnpackWindows`/`UnpackLinux` unpacked the library into\n`flutter/ephemeral/`, but CMake `INSTALL` never copied it to the app\nbundle. At startup, `DartVMData::GetServiceIsolateSnapshot()` fell back\nto the app snapshot and failed in `DartServiceIsolate::Startup`. The\ntemplate rule also omitted `CONFIGURATIONS Profile`, risking stale\nbundling into subsequent Release builds.\n\n### Fix\n- Emit the `install(FILES ...)` rule in `writeGeneratedCmakeConfig`\n(`packages/flutter_tools/lib/src/cmake.dart`) for `WindowsProject`\n(`data/libvmservice_snapshot.dll`) and `LinuxProject`\n(`lib/libvmservice_snapshot.so`) with `CONFIGURATIONS Profile`,\n`COMPONENT Runtime`, and `OPTIONAL`.\n- On CMake 3.19+, defer the `install()` call to `${PROJECT_SOURCE_DIR}`\nvia `cmake_language(DEFER ...)` so it runs after parent bundle cleanup\nrules (such as Linux `file(REMOVE_RECURSE ...)` when\n`cmake_minimum_required` is 3.14+ / `CMP0082` NEW).\n- Revert the `CMakeLists.txt.tmpl` changes from\n[#190100](https://github.com/flutter/flutter/pull/190100).\n- Add unit tests in\n`packages/flutter_tools/test/general.shard/cmake_test.dart` and\nintegration tests in\n`packages/flutter_tools/test/integration.shard/flutter_build_windows_test.dart`\nand\n`packages/flutter_tools/test/integration.shard/flutter_build_linux_test.dart`\n(covering profile bundling, release exclusion, and CMake 3.14 ordering).\n\nPrevious output:\n```\n[IMPORTANT:flutter/shell/platform/embedder/embedder_surface_gl_impeller.cc(127)] Using the Impeller rendering backend (OpenGLESSDF).\n[ERROR:flutter/runtime/dart_isolate.cc(1095)] DartServiceIsolate::Startup failed: Unhandled exception:\nNoSuchMethodError: No top-level setter \u0027_ip\u003d\u0027 declared.\nReceiver: top-level\nTried calling: _ip\u003d\"127.0.0.1\"\n#0      NoSuchMethodError._throwNew (dart:core-patch/errors_patch.dart:174)\n```\n\nCurrent output:\n```\n[IMPORTANT:flutter/shell/platform/embedder/embedder_surface_gl_impeller.cc(127)] Using the Impeller rendering backend (OpenGLESSDF).\nThe Dart VM service is listening on http://127.0.0.1:45591/3O4DhxOyHcE\u003d/\n```\n\nFixes https://github.com/flutter/flutter/issues/191966",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "24aa285dbdfb37be40e1173cecab02f2e5dbfc49",
      "old_mode": 33188,
      "old_path": "dev/bots/suite_runners/run_verify_binaries_codesigned_tests.dart",
      "new_id": "4937542920d8a5e6fc29de00b5ee24e31d3deef8",
      "new_mode": 33188,
      "new_path": "dev/bots/suite_runners/run_verify_binaries_codesigned_tests.dart"
    },
    {
      "type": "modify",
      "old_id": "7d43d6a64151d9767cb6d12b86e0f470d0c11c31",
      "old_mode": 33188,
      "old_path": "dev/bots/tool_test_durations.json",
      "new_id": "e9d73f88bb26bee5273fd191427a48f05c26c66b",
      "new_mode": 33188,
      "new_path": "dev/bots/tool_test_durations.json"
    },
    {
      "type": "modify",
      "old_id": "3613b7d48d7757f4a7c09ebf19473194f43de550",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/BUILD.gn",
      "new_id": "f772191b9244f1a4ff537cecddff520c8b2a69ea",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/BUILD.gn"
    },
    {
      "type": "modify",
      "old_id": "d3a44d4418ffea486c8dc3b84235e8e5dcd0bcd1",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/build/archives/BUILD.gn",
      "new_id": "b6585dc8be0f84b6002f39e99dc5c2fc8b78280e",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/build/archives/BUILD.gn"
    },
    {
      "type": "modify",
      "old_id": "c1ac80ed56e76e6c00122b9a44b61c6b3f99e881",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/build/dart/internal/flutter_snapshot.gni",
      "new_id": "56b8f904db5efaf8ce56e3fb7686513d05706344",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/build/dart/internal/flutter_snapshot.gni"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "6ce9721608e8e0d31df9c2a7a06a512adecb1367",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/build/raw_command.py"
    },
    {
      "type": "modify",
      "old_id": "66669d223197f422f1cc12b6302f5df02b8ad5b7",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/runtime/dart_isolate.cc",
      "new_id": "57f3f0230850043f3e5f9da595ff879dd242bf2f",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/runtime/dart_isolate.cc"
    },
    {
      "type": "modify",
      "old_id": "dda560f517990dcb92a6a145bb211a03f30a99e7",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/runtime/dart_isolate_unittests.cc",
      "new_id": "1ececb7dab3254f9864f9f9821a7b2299610ab5a",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/runtime/dart_isolate_unittests.cc"
    },
    {
      "type": "modify",
      "old_id": "9f27e16d323b953caa7c3a2236056f84f86ecc01",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/runtime/dart_service_isolate.cc",
      "new_id": "e2cca769052ca3e0880f03a648bfc14c3a8cc2c1",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/runtime/dart_service_isolate.cc"
    },
    {
      "type": "modify",
      "old_id": "293ed44cc5fe260e38aacc37fb43baa84e26f03d",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/runtime/dart_snapshot.cc",
      "new_id": "03f90af9a962785cd59aac18d5956855f0038cc6",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/runtime/dart_snapshot.cc"
    },
    {
      "type": "modify",
      "old_id": "4794b10fd8fed1676d8b1a875d90354837c21748",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/shell/platform/android/io/flutter/embedding/engine/loader/FlutterLoader.java",
      "new_id": "b5cbfc81cba7400714dc75ff89bc9bb9b78aed96",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/shell/platform/android/io/flutter/embedding/engine/loader/FlutterLoader.java"
    },
    {
      "type": "modify",
      "old_id": "a7d1cdec7b6de665c6c6073de2360a2c868fa346",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/shell/platform/darwin/ios/BUILD.gn",
      "new_id": "6ac333db0de9261355b090e33657a6c1509703c8",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/shell/platform/darwin/ios/BUILD.gn"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c5ebd56a5b381425288430648e7a9afd11a7e3d8",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/shell/platform/darwin/ios/framework/VMServiceInfo.plist"
    },
    {
      "type": "modify",
      "old_id": "cba7db081992d0034b7c6707ac35c0c106da785d",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/shell/platform/darwin/macos/BUILD.gn",
      "new_id": "ac92651213aceb8a0202b67f9e1a77dc98962a9b",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/shell/platform/darwin/macos/BUILD.gn"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "0e2564e2b1baa6f2e2df53c5dac41044332b1f0d",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/shell/platform/darwin/macos/framework/VMServiceInfo.plist"
    },
    {
      "type": "modify",
      "old_id": "d4a052244b77fbe57232cbc54cc8a108709c84a4",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/shell/platform/fuchsia/flutter/BUILD.gn",
      "new_id": "5c4af9c89a082252b1ddc3a7af4fd44501a1aadb",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/shell/platform/fuchsia/flutter/BUILD.gn"
    },
    {
      "type": "modify",
      "old_id": "68f4165f342d39616b408c38572344fd16d862ef",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/shell/platform/linux/BUILD.gn",
      "new_id": "ea4780a64d71494a903c4e197e254185bd1d4008",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/shell/platform/linux/BUILD.gn"
    },
    {
      "type": "modify",
      "old_id": "bf76d5475ccebc208752d9f418f970fe541eccad",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/shell/platform/windows/BUILD.gn",
      "new_id": "90b755f3fbcc931854917ed53fc3fb9aeb9f4611",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/shell/platform/windows/BUILD.gn"
    },
    {
      "type": "modify",
      "old_id": "aada8b71800fd603df293ce704ed0d942b178c56",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/shell/vmservice/BUILD.gn",
      "new_id": "e389c352adabcbffe6989f03346b88dd72aeec14",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/shell/vmservice/BUILD.gn"
    },
    {
      "type": "modify",
      "old_id": "d87e0f91bff49c54388d4e88a6603b022ae5f9fc",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/sky/tools/create_ios_framework.py",
      "new_id": "7dca6c45f35e92f947d566eb184678962c3f2c3a",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/sky/tools/create_ios_framework.py"
    },
    {
      "type": "modify",
      "old_id": "0d58b68f55f4a6b27f4d890f05f9b50edbf8eca4",
      "old_mode": 33261,
      "old_path": "engine/src/flutter/sky/tools/create_macos_framework.py",
      "new_id": "7ff8d2db9746d5576abd620b474d49c1b5730e3f",
      "new_mode": 33261,
      "new_path": "engine/src/flutter/sky/tools/create_macos_framework.py"
    },
    {
      "type": "modify",
      "old_id": "c79fb115f976cf131f700d0b9d4da6d1fed9591f",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/sky/tools/sky_utils.py",
      "new_id": "e08e5e6aac380490d7f4209db2affa22edae43e0",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/sky/tools/sky_utils.py"
    },
    {
      "type": "modify",
      "old_id": "003d488c6dada1d575c59fc4444cb081849a0e6f",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/testing/BUILD.gn",
      "new_id": "560850482718ffcb104a2616e18c28c447ab8e59",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/testing/BUILD.gn"
    },
    {
      "type": "modify",
      "old_id": "4ccc4baefc304ae29ddaf3f75f2000ad0ee865b2",
      "old_mode": 33188,
      "old_path": "engine/src/flutter/testing/dart_fixture.cc",
      "new_id": "2f94e999a343fba1eda0e7ab6e20ab9988c860d8",
      "new_mode": 33188,
      "new_path": "engine/src/flutter/testing/dart_fixture.cc"
    },
    {
      "type": "modify",
      "old_id": "c1beb978c264247653681873358abdb784154318",
      "old_mode": 33261,
      "old_path": "engine/src/flutter/testing/run_tests.py",
      "new_id": "0af6686dc264ec756c6afdaa0f2dee704299ac10",
      "new_mode": 33261,
      "new_path": "engine/src/flutter/testing/run_tests.py"
    },
    {
      "type": "modify",
      "old_id": "0ee8a52af89779caf5f04eb41a469aa5ff68ed45",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/bin/xcode_backend.dart",
      "new_id": "811df22b21039eb002bae915435fa70cfff84c8e",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/bin/xcode_backend.dart"
    },
    {
      "type": "modify",
      "old_id": "f2fef6119ba606edd40a37dfab667249db0e14c1",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/lib/src/artifacts.dart",
      "new_id": "dbc8a05f52e149afe528d69e393b693375f12a50",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/lib/src/artifacts.dart"
    },
    {
      "type": "modify",
      "old_id": "b4dc92900c5826b12065e7a7ce90e1a0476cbd21",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/lib/src/build_system/targets/android.dart",
      "new_id": "08496f3cf3a64261f55b89938b0ecc5afd5d6e09",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/lib/src/build_system/targets/android.dart"
    },
    {
      "type": "modify",
      "old_id": "25bd65535930fa5e5cf87fcbee6bd08279f6fc1d",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/lib/src/build_system/targets/ios.dart",
      "new_id": "bcb62692545bbe1b18042b6d7cc3030fedfb9e69",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/lib/src/build_system/targets/ios.dart"
    },
    {
      "type": "modify",
      "old_id": "b28d4a8e5a6ae5b3f18db5c8c1d03c063fed5e86",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/lib/src/build_system/targets/linux.dart",
      "new_id": "1e8c9202a33bc63a59800727668d47d13f95a01d",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/lib/src/build_system/targets/linux.dart"
    },
    {
      "type": "modify",
      "old_id": "6fa5ea9ae0fa54f2ed296f23c21a58f32b1773d9",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/lib/src/build_system/targets/macos.dart",
      "new_id": "12dd2724e666c1ec229dbbd75949851c55529508",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/lib/src/build_system/targets/macos.dart"
    },
    {
      "type": "modify",
      "old_id": "789606ef3f020cd4453c4b90c19f44ac9fb4c674",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/lib/src/build_system/targets/windows.dart",
      "new_id": "ac33fdb3fa876840022a4c6e00a74a0364379928",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/lib/src/build_system/targets/windows.dart"
    },
    {
      "type": "modify",
      "old_id": "6fe7bf38ec4ee4b0ca849a64e3a1fcfdd077ee05",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/lib/src/cmake.dart",
      "new_id": "acbd58808cd5b40f84dc24d13fb93feca93a95a7",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/lib/src/cmake.dart"
    },
    {
      "type": "modify",
      "old_id": "5ef528051f5e2ddfcd847c968b2c260df675489b",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/lib/src/commands/assemble.dart",
      "new_id": "828729fa66cc6257e9c54cfcb3e4f96fd3c00829",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/lib/src/commands/assemble.dart"
    },
    {
      "type": "modify",
      "old_id": "4a9c5bf76a71fadcc76d7570746a87cc79025da1",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/test/commands.shard/hermetic/assemble_test.dart",
      "new_id": "67a46f250c6b270de497ab20c2afeb46d995357d",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/test/commands.shard/hermetic/assemble_test.dart"
    },
    {
      "type": "modify",
      "old_id": "a2b6611ee4eae995346b52b20a13800e51915af7",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/test/general.shard/artifacts_test.dart",
      "new_id": "67e12c5a561b7b4cd0fdd6c3cef851a66505853a",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/test/general.shard/artifacts_test.dart"
    },
    {
      "type": "modify",
      "old_id": "3329df0f38144d9c6447cf5a589725df0bd321a6",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/test/general.shard/build_system/targets/android_test.dart",
      "new_id": "219bea8421cea3fc738bfb80430e935ed0287755",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/test/general.shard/build_system/targets/android_test.dart"
    },
    {
      "type": "modify",
      "old_id": "b9fc7070b5371bdfcbdf3ac8c9f334a7ea98aaa9",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/test/general.shard/build_system/targets/ios_test.dart",
      "new_id": "7ee1fa7b5e5f63270148277a788ead7e6365e79a",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/test/general.shard/build_system/targets/ios_test.dart"
    },
    {
      "type": "modify",
      "old_id": "c9e439a19bb956be2d0471e23bff1240721a2406",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/test/general.shard/build_system/targets/linux_test.dart",
      "new_id": "d55a5a02e29644d1a68c096c7dbaefb5bdd78f79",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/test/general.shard/build_system/targets/linux_test.dart"
    },
    {
      "type": "modify",
      "old_id": "8ef705b071d764965e801b62ea0a3ff9d653b443",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/test/general.shard/build_system/targets/macos_test.dart",
      "new_id": "02c259159903b15d39e312c794694ecd0bc8eab6",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/test/general.shard/build_system/targets/macos_test.dart"
    },
    {
      "type": "modify",
      "old_id": "0e57e31b8c4f4e3abb948ab697f7f66bfbbfbd64",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/test/general.shard/build_system/targets/windows_test.dart",
      "new_id": "71cdecd8b66a43dd53822d98821881ac17299c9f",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/test/general.shard/build_system/targets/windows_test.dart"
    },
    {
      "type": "modify",
      "old_id": "8326277eb686e015228f8f65747008ebddc6ae27",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/test/general.shard/cmake_test.dart",
      "new_id": "688f5bccd5a24d889b07b68a62681021492754e4",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/test/general.shard/cmake_test.dart"
    },
    {
      "type": "modify",
      "old_id": "76268511dc6ef8ab2a90b0143113179b1eb20c51",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/test/general.shard/xcode_backend_test.dart",
      "new_id": "bb81ee42161d8c639fed6cfeaf590ac5d41b9b7b",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/test/general.shard/xcode_backend_test.dart"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "433f4882f745575b10a6d56d107732c035805f84",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/test/integration.shard/flutter_build_linux_test.dart"
    },
    {
      "type": "modify",
      "old_id": "ceb95958f3b45cd0d70932495148acd10b2b49f8",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/test/integration.shard/flutter_build_windows_test.dart",
      "new_id": "b1603a2c1eb1d4f7ba50c4a368f957d339ed6091",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/test/integration.shard/flutter_build_windows_test.dart"
    },
    {
      "type": "modify",
      "old_id": "91c13b0e1500842de2751894b3d8b6794102a863",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/test/integration.shard/ios_content_validation_test.dart",
      "new_id": "8884fc6cadd14e6a76f226f8d7f3b2055c32afa6",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/test/integration.shard/ios_content_validation_test.dart"
    },
    {
      "type": "modify",
      "old_id": "63c23cf89718db9c4794c5e281ae4a42e2ff5958",
      "old_mode": 33188,
      "old_path": "packages/flutter_tools/test/integration.shard/macos_content_validation_test.dart",
      "new_id": "c44ae5b0892e11059cb88991cb0766627f43dcf3",
      "new_mode": 33188,
      "new_path": "packages/flutter_tools/test/integration.shard/macos_content_validation_test.dart"
    },
    {
      "type": "modify",
      "old_id": "b5a9ce49bbdcde6ff90027047ea4fe0a09627a1d",
      "old_mode": 33188,
      "old_path": "packages/integration_test/lib/integration_test.dart",
      "new_id": "16867e9721da892f66f90b8c33dbfbe402d2d688",
      "new_mode": 33188,
      "new_path": "packages/integration_test/lib/integration_test.dart"
    }
  ]
}
