From ad820e36375b766b8dc9b2b76ef6dbc29ae8f0e5 Mon Sep 17 00:00:00 2001 From: John McDole Date: Wed, 10 Sep 2025 09:44:44 -0700 Subject: [PATCH 1/9] chore: move engine docs to top level They should not be included in engine build symantics --- {engine/src/flutter/docs => docs/engine}/Crashes.md | 0 .../engine}/Custom-Flutter-Engine-Embedders.md | 0 .../Custom-Flutter-Engine-Embedding-in-AOT-Mode.md | 0 .../docs => docs/engine}/Debugging-the-engine.md | 0 .../flutter/docs => docs/engine}/Doxyfile.template | 0 .../docs => docs/engine}/Engine-disk-footprint.md | 0 .../Engine-specific-Service-Protocol-extensions.md | 0 .../flutter/docs => docs/engine}/Flutter's-modes.md | 0 .../engine}/Flutter-engine-operation-in-AOT-Mode.md | 0 .../engine}/Image-Codecs-in-the-Flutter-Engine.md | 0 .../docs => docs/engine}/Life-of-a-Flutter-Frame.md | 0 {engine/src/flutter/docs => docs/engine}/README.md | 0 .../engine}/Supporting-legacy-platforms.md | 0 .../Using-Sanitizers-with-the-Flutter-Engine.md | 0 ...vTools-with-a-custom-Flutter-Engine-Embedding.md | 0 .../flutter/docs => docs/engine}/app_anatomy.svg | 0 .../benchmarks/Comparing-AOT-Snapshot-Sizes.md | 0 .../engine}/ci/Engine-Clang-Tidy-Linter.md | 0 .../ci/Engine-pre-submits-and-post-submits.md | 0 .../engine}/contributing/Compiling-the-engine.md | 0 ...Setting-up-the-Engine-development-environment.md | 0 .../engine}/dart_split_aot_compilation.svg | 0 .../engine}/deferred_components_architecture.svg | 0 .../engine}/deferred_components_call_lifecycle.svg | 0 .../flutter/docs => docs/engine}/flutter_logo.png | Bin .../docs => docs/engine}/flutter_overview.svg | 0 .../docs => docs/engine}/impeller/Flutter-GPU.md | 0 .../docs => docs/engine}/impeller/Impeller-Scene.md | 0 .../flutter/docs => docs/engine}/impeller/README.md | 0 .../Setting-up-MoltenVK-on-macOS-for-Impeller.md | 0 .../engine}/impeller/docs/android.md | 0 .../engine}/impeller/docs/android_cpu_profile.md | 0 .../impeller/docs/android_validation_layers.md | 0 .../engine}/impeller/docs/assets/README.md | 0 .../engine}/impeller/docs/babys_first_triangle.md | 0 .../engine}/impeller/docs/benchmarks.md | 0 .../engine}/impeller/docs/blending.md | 0 .../engine}/impeller/docs/coordinate_system.md | 0 .../flutter => docs/engine}/impeller/docs/faq.md | 0 .../engine}/impeller/docs/glossary.md | 0 .../engine}/impeller/docs/ios_cpu_profile.md | 0 .../engine}/impeller/docs/metal_validation.md | 0 .../impeller/docs/opengles_development_setup.md | 0 .../engine}/impeller/docs/read_frame_captures.md | 0 .../impeller/docs/renderdoc_frame_capture.md | 0 .../engine}/impeller/docs/shader_optimization.md | 0 .../impeller/docs/specialization_constants.md | 0 .../engine}/impeller/docs/standalone_gles.md | 0 .../engine}/impeller/docs/ubo_gles2.md | 0 .../engine}/impeller/docs/vulkan_threading.md | 0 .../engine}/impeller/docs/xcode_frame_capture.md | 0 .../engine}/monorepo/engine_binary_hashing.md | 0 .../engine}/monorepo/history_strategy.md | 0 .../src/flutter/docs => docs/engine}/rbe/luci.png | Bin {engine/src/flutter/docs => docs/engine}/rbe/rbe.md | 0 .../engine}/release/Code-signing-metadata.md | 0 .../engine}/testing/Testing-the-engine.md | 0 57 files changed, 0 insertions(+), 0 deletions(-) rename {engine/src/flutter/docs => docs/engine}/Crashes.md (100%) rename {engine/src/flutter/docs => docs/engine}/Custom-Flutter-Engine-Embedders.md (100%) rename {engine/src/flutter/docs => docs/engine}/Custom-Flutter-Engine-Embedding-in-AOT-Mode.md (100%) rename {engine/src/flutter/docs => docs/engine}/Debugging-the-engine.md (100%) rename {engine/src/flutter/docs => docs/engine}/Doxyfile.template (100%) rename {engine/src/flutter/docs => docs/engine}/Engine-disk-footprint.md (100%) rename {engine/src/flutter/docs => docs/engine}/Engine-specific-Service-Protocol-extensions.md (100%) rename {engine/src/flutter/docs => docs/engine}/Flutter's-modes.md (100%) rename {engine/src/flutter/docs => docs/engine}/Flutter-engine-operation-in-AOT-Mode.md (100%) rename {engine/src/flutter/docs => docs/engine}/Image-Codecs-in-the-Flutter-Engine.md (100%) rename {engine/src/flutter/docs => docs/engine}/Life-of-a-Flutter-Frame.md (100%) rename {engine/src/flutter/docs => docs/engine}/README.md (100%) rename {engine/src/flutter/docs => docs/engine}/Supporting-legacy-platforms.md (100%) rename {engine/src/flutter/docs => docs/engine}/Using-Sanitizers-with-the-Flutter-Engine.md (100%) rename {engine/src/flutter/docs => docs/engine}/Using-the-Dart-Development-Service-(DDS)-and-Flutter-DevTools-with-a-custom-Flutter-Engine-Embedding.md (100%) rename {engine/src/flutter/docs => docs/engine}/app_anatomy.svg (100%) rename {engine/src/flutter/docs => docs/engine}/benchmarks/Comparing-AOT-Snapshot-Sizes.md (100%) rename {engine/src/flutter/docs => docs/engine}/ci/Engine-Clang-Tidy-Linter.md (100%) rename {engine/src/flutter/docs => docs/engine}/ci/Engine-pre-submits-and-post-submits.md (100%) rename {engine/src/flutter/docs => docs/engine}/contributing/Compiling-the-engine.md (100%) rename {engine/src/flutter/docs => docs/engine}/contributing/Setting-up-the-Engine-development-environment.md (100%) rename {engine/src/flutter/docs => docs/engine}/dart_split_aot_compilation.svg (100%) rename {engine/src/flutter/docs => docs/engine}/deferred_components_architecture.svg (100%) rename {engine/src/flutter/docs => docs/engine}/deferred_components_call_lifecycle.svg (100%) rename {engine/src/flutter/docs => docs/engine}/flutter_logo.png (100%) rename {engine/src/flutter/docs => docs/engine}/flutter_overview.svg (100%) rename {engine/src/flutter/docs => docs/engine}/impeller/Flutter-GPU.md (100%) rename {engine/src/flutter/docs => docs/engine}/impeller/Impeller-Scene.md (100%) rename {engine/src/flutter/docs => docs/engine}/impeller/README.md (100%) rename {engine/src/flutter/docs => docs/engine}/impeller/Setting-up-MoltenVK-on-macOS-for-Impeller.md (100%) rename {engine/src/flutter => docs/engine}/impeller/docs/android.md (100%) rename {engine/src/flutter => docs/engine}/impeller/docs/android_cpu_profile.md (100%) rename {engine/src/flutter => docs/engine}/impeller/docs/android_validation_layers.md (100%) rename {engine/src/flutter => docs/engine}/impeller/docs/assets/README.md (100%) rename {engine/src/flutter => docs/engine}/impeller/docs/babys_first_triangle.md (100%) rename {engine/src/flutter => docs/engine}/impeller/docs/benchmarks.md (100%) rename {engine/src/flutter => docs/engine}/impeller/docs/blending.md (100%) rename {engine/src/flutter => docs/engine}/impeller/docs/coordinate_system.md (100%) rename {engine/src/flutter => docs/engine}/impeller/docs/faq.md (100%) rename {engine/src/flutter => docs/engine}/impeller/docs/glossary.md (100%) rename {engine/src/flutter => docs/engine}/impeller/docs/ios_cpu_profile.md (100%) rename {engine/src/flutter => docs/engine}/impeller/docs/metal_validation.md (100%) rename {engine/src/flutter => docs/engine}/impeller/docs/opengles_development_setup.md (100%) rename {engine/src/flutter => docs/engine}/impeller/docs/read_frame_captures.md (100%) rename {engine/src/flutter => docs/engine}/impeller/docs/renderdoc_frame_capture.md (100%) rename {engine/src/flutter => docs/engine}/impeller/docs/shader_optimization.md (100%) rename {engine/src/flutter => docs/engine}/impeller/docs/specialization_constants.md (100%) rename {engine/src/flutter => docs/engine}/impeller/docs/standalone_gles.md (100%) rename {engine/src/flutter => docs/engine}/impeller/docs/ubo_gles2.md (100%) rename {engine/src/flutter => docs/engine}/impeller/docs/vulkan_threading.md (100%) rename {engine/src/flutter => docs/engine}/impeller/docs/xcode_frame_capture.md (100%) rename {engine/src/flutter/docs => docs/engine}/monorepo/engine_binary_hashing.md (100%) rename {engine/src/flutter/docs => docs/engine}/monorepo/history_strategy.md (100%) rename {engine/src/flutter/docs => docs/engine}/rbe/luci.png (100%) rename {engine/src/flutter/docs => docs/engine}/rbe/rbe.md (100%) rename {engine/src/flutter/docs => docs/engine}/release/Code-signing-metadata.md (100%) rename {engine/src/flutter/docs => docs/engine}/testing/Testing-the-engine.md (100%) diff --git a/engine/src/flutter/docs/Crashes.md b/docs/engine/Crashes.md similarity index 100% rename from engine/src/flutter/docs/Crashes.md rename to docs/engine/Crashes.md diff --git a/engine/src/flutter/docs/Custom-Flutter-Engine-Embedders.md b/docs/engine/Custom-Flutter-Engine-Embedders.md similarity index 100% rename from engine/src/flutter/docs/Custom-Flutter-Engine-Embedders.md rename to docs/engine/Custom-Flutter-Engine-Embedders.md diff --git a/engine/src/flutter/docs/Custom-Flutter-Engine-Embedding-in-AOT-Mode.md b/docs/engine/Custom-Flutter-Engine-Embedding-in-AOT-Mode.md similarity index 100% rename from engine/src/flutter/docs/Custom-Flutter-Engine-Embedding-in-AOT-Mode.md rename to docs/engine/Custom-Flutter-Engine-Embedding-in-AOT-Mode.md diff --git a/engine/src/flutter/docs/Debugging-the-engine.md b/docs/engine/Debugging-the-engine.md similarity index 100% rename from engine/src/flutter/docs/Debugging-the-engine.md rename to docs/engine/Debugging-the-engine.md diff --git a/engine/src/flutter/docs/Doxyfile.template b/docs/engine/Doxyfile.template similarity index 100% rename from engine/src/flutter/docs/Doxyfile.template rename to docs/engine/Doxyfile.template diff --git a/engine/src/flutter/docs/Engine-disk-footprint.md b/docs/engine/Engine-disk-footprint.md similarity index 100% rename from engine/src/flutter/docs/Engine-disk-footprint.md rename to docs/engine/Engine-disk-footprint.md diff --git a/engine/src/flutter/docs/Engine-specific-Service-Protocol-extensions.md b/docs/engine/Engine-specific-Service-Protocol-extensions.md similarity index 100% rename from engine/src/flutter/docs/Engine-specific-Service-Protocol-extensions.md rename to docs/engine/Engine-specific-Service-Protocol-extensions.md diff --git a/engine/src/flutter/docs/Flutter's-modes.md b/docs/engine/Flutter's-modes.md similarity index 100% rename from engine/src/flutter/docs/Flutter's-modes.md rename to docs/engine/Flutter's-modes.md diff --git a/engine/src/flutter/docs/Flutter-engine-operation-in-AOT-Mode.md b/docs/engine/Flutter-engine-operation-in-AOT-Mode.md similarity index 100% rename from engine/src/flutter/docs/Flutter-engine-operation-in-AOT-Mode.md rename to docs/engine/Flutter-engine-operation-in-AOT-Mode.md diff --git a/engine/src/flutter/docs/Image-Codecs-in-the-Flutter-Engine.md b/docs/engine/Image-Codecs-in-the-Flutter-Engine.md similarity index 100% rename from engine/src/flutter/docs/Image-Codecs-in-the-Flutter-Engine.md rename to docs/engine/Image-Codecs-in-the-Flutter-Engine.md diff --git a/engine/src/flutter/docs/Life-of-a-Flutter-Frame.md b/docs/engine/Life-of-a-Flutter-Frame.md similarity index 100% rename from engine/src/flutter/docs/Life-of-a-Flutter-Frame.md rename to docs/engine/Life-of-a-Flutter-Frame.md diff --git a/engine/src/flutter/docs/README.md b/docs/engine/README.md similarity index 100% rename from engine/src/flutter/docs/README.md rename to docs/engine/README.md diff --git a/engine/src/flutter/docs/Supporting-legacy-platforms.md b/docs/engine/Supporting-legacy-platforms.md similarity index 100% rename from engine/src/flutter/docs/Supporting-legacy-platforms.md rename to docs/engine/Supporting-legacy-platforms.md diff --git a/engine/src/flutter/docs/Using-Sanitizers-with-the-Flutter-Engine.md b/docs/engine/Using-Sanitizers-with-the-Flutter-Engine.md similarity index 100% rename from engine/src/flutter/docs/Using-Sanitizers-with-the-Flutter-Engine.md rename to docs/engine/Using-Sanitizers-with-the-Flutter-Engine.md diff --git a/engine/src/flutter/docs/Using-the-Dart-Development-Service-(DDS)-and-Flutter-DevTools-with-a-custom-Flutter-Engine-Embedding.md b/docs/engine/Using-the-Dart-Development-Service-(DDS)-and-Flutter-DevTools-with-a-custom-Flutter-Engine-Embedding.md similarity index 100% rename from engine/src/flutter/docs/Using-the-Dart-Development-Service-(DDS)-and-Flutter-DevTools-with-a-custom-Flutter-Engine-Embedding.md rename to docs/engine/Using-the-Dart-Development-Service-(DDS)-and-Flutter-DevTools-with-a-custom-Flutter-Engine-Embedding.md diff --git a/engine/src/flutter/docs/app_anatomy.svg b/docs/engine/app_anatomy.svg similarity index 100% rename from engine/src/flutter/docs/app_anatomy.svg rename to docs/engine/app_anatomy.svg diff --git a/engine/src/flutter/docs/benchmarks/Comparing-AOT-Snapshot-Sizes.md b/docs/engine/benchmarks/Comparing-AOT-Snapshot-Sizes.md similarity index 100% rename from engine/src/flutter/docs/benchmarks/Comparing-AOT-Snapshot-Sizes.md rename to docs/engine/benchmarks/Comparing-AOT-Snapshot-Sizes.md diff --git a/engine/src/flutter/docs/ci/Engine-Clang-Tidy-Linter.md b/docs/engine/ci/Engine-Clang-Tidy-Linter.md similarity index 100% rename from engine/src/flutter/docs/ci/Engine-Clang-Tidy-Linter.md rename to docs/engine/ci/Engine-Clang-Tidy-Linter.md diff --git a/engine/src/flutter/docs/ci/Engine-pre-submits-and-post-submits.md b/docs/engine/ci/Engine-pre-submits-and-post-submits.md similarity index 100% rename from engine/src/flutter/docs/ci/Engine-pre-submits-and-post-submits.md rename to docs/engine/ci/Engine-pre-submits-and-post-submits.md diff --git a/engine/src/flutter/docs/contributing/Compiling-the-engine.md b/docs/engine/contributing/Compiling-the-engine.md similarity index 100% rename from engine/src/flutter/docs/contributing/Compiling-the-engine.md rename to docs/engine/contributing/Compiling-the-engine.md diff --git a/engine/src/flutter/docs/contributing/Setting-up-the-Engine-development-environment.md b/docs/engine/contributing/Setting-up-the-Engine-development-environment.md similarity index 100% rename from engine/src/flutter/docs/contributing/Setting-up-the-Engine-development-environment.md rename to docs/engine/contributing/Setting-up-the-Engine-development-environment.md diff --git a/engine/src/flutter/docs/dart_split_aot_compilation.svg b/docs/engine/dart_split_aot_compilation.svg similarity index 100% rename from engine/src/flutter/docs/dart_split_aot_compilation.svg rename to docs/engine/dart_split_aot_compilation.svg diff --git a/engine/src/flutter/docs/deferred_components_architecture.svg b/docs/engine/deferred_components_architecture.svg similarity index 100% rename from engine/src/flutter/docs/deferred_components_architecture.svg rename to docs/engine/deferred_components_architecture.svg diff --git a/engine/src/flutter/docs/deferred_components_call_lifecycle.svg b/docs/engine/deferred_components_call_lifecycle.svg similarity index 100% rename from engine/src/flutter/docs/deferred_components_call_lifecycle.svg rename to docs/engine/deferred_components_call_lifecycle.svg diff --git a/engine/src/flutter/docs/flutter_logo.png b/docs/engine/flutter_logo.png similarity index 100% rename from engine/src/flutter/docs/flutter_logo.png rename to docs/engine/flutter_logo.png diff --git a/engine/src/flutter/docs/flutter_overview.svg b/docs/engine/flutter_overview.svg similarity index 100% rename from engine/src/flutter/docs/flutter_overview.svg rename to docs/engine/flutter_overview.svg diff --git a/engine/src/flutter/docs/impeller/Flutter-GPU.md b/docs/engine/impeller/Flutter-GPU.md similarity index 100% rename from engine/src/flutter/docs/impeller/Flutter-GPU.md rename to docs/engine/impeller/Flutter-GPU.md diff --git a/engine/src/flutter/docs/impeller/Impeller-Scene.md b/docs/engine/impeller/Impeller-Scene.md similarity index 100% rename from engine/src/flutter/docs/impeller/Impeller-Scene.md rename to docs/engine/impeller/Impeller-Scene.md diff --git a/engine/src/flutter/docs/impeller/README.md b/docs/engine/impeller/README.md similarity index 100% rename from engine/src/flutter/docs/impeller/README.md rename to docs/engine/impeller/README.md diff --git a/engine/src/flutter/docs/impeller/Setting-up-MoltenVK-on-macOS-for-Impeller.md b/docs/engine/impeller/Setting-up-MoltenVK-on-macOS-for-Impeller.md similarity index 100% rename from engine/src/flutter/docs/impeller/Setting-up-MoltenVK-on-macOS-for-Impeller.md rename to docs/engine/impeller/Setting-up-MoltenVK-on-macOS-for-Impeller.md diff --git a/engine/src/flutter/impeller/docs/android.md b/docs/engine/impeller/docs/android.md similarity index 100% rename from engine/src/flutter/impeller/docs/android.md rename to docs/engine/impeller/docs/android.md diff --git a/engine/src/flutter/impeller/docs/android_cpu_profile.md b/docs/engine/impeller/docs/android_cpu_profile.md similarity index 100% rename from engine/src/flutter/impeller/docs/android_cpu_profile.md rename to docs/engine/impeller/docs/android_cpu_profile.md diff --git a/engine/src/flutter/impeller/docs/android_validation_layers.md b/docs/engine/impeller/docs/android_validation_layers.md similarity index 100% rename from engine/src/flutter/impeller/docs/android_validation_layers.md rename to docs/engine/impeller/docs/android_validation_layers.md diff --git a/engine/src/flutter/impeller/docs/assets/README.md b/docs/engine/impeller/docs/assets/README.md similarity index 100% rename from engine/src/flutter/impeller/docs/assets/README.md rename to docs/engine/impeller/docs/assets/README.md diff --git a/engine/src/flutter/impeller/docs/babys_first_triangle.md b/docs/engine/impeller/docs/babys_first_triangle.md similarity index 100% rename from engine/src/flutter/impeller/docs/babys_first_triangle.md rename to docs/engine/impeller/docs/babys_first_triangle.md diff --git a/engine/src/flutter/impeller/docs/benchmarks.md b/docs/engine/impeller/docs/benchmarks.md similarity index 100% rename from engine/src/flutter/impeller/docs/benchmarks.md rename to docs/engine/impeller/docs/benchmarks.md diff --git a/engine/src/flutter/impeller/docs/blending.md b/docs/engine/impeller/docs/blending.md similarity index 100% rename from engine/src/flutter/impeller/docs/blending.md rename to docs/engine/impeller/docs/blending.md diff --git a/engine/src/flutter/impeller/docs/coordinate_system.md b/docs/engine/impeller/docs/coordinate_system.md similarity index 100% rename from engine/src/flutter/impeller/docs/coordinate_system.md rename to docs/engine/impeller/docs/coordinate_system.md diff --git a/engine/src/flutter/impeller/docs/faq.md b/docs/engine/impeller/docs/faq.md similarity index 100% rename from engine/src/flutter/impeller/docs/faq.md rename to docs/engine/impeller/docs/faq.md diff --git a/engine/src/flutter/impeller/docs/glossary.md b/docs/engine/impeller/docs/glossary.md similarity index 100% rename from engine/src/flutter/impeller/docs/glossary.md rename to docs/engine/impeller/docs/glossary.md diff --git a/engine/src/flutter/impeller/docs/ios_cpu_profile.md b/docs/engine/impeller/docs/ios_cpu_profile.md similarity index 100% rename from engine/src/flutter/impeller/docs/ios_cpu_profile.md rename to docs/engine/impeller/docs/ios_cpu_profile.md diff --git a/engine/src/flutter/impeller/docs/metal_validation.md b/docs/engine/impeller/docs/metal_validation.md similarity index 100% rename from engine/src/flutter/impeller/docs/metal_validation.md rename to docs/engine/impeller/docs/metal_validation.md diff --git a/engine/src/flutter/impeller/docs/opengles_development_setup.md b/docs/engine/impeller/docs/opengles_development_setup.md similarity index 100% rename from engine/src/flutter/impeller/docs/opengles_development_setup.md rename to docs/engine/impeller/docs/opengles_development_setup.md diff --git a/engine/src/flutter/impeller/docs/read_frame_captures.md b/docs/engine/impeller/docs/read_frame_captures.md similarity index 100% rename from engine/src/flutter/impeller/docs/read_frame_captures.md rename to docs/engine/impeller/docs/read_frame_captures.md diff --git a/engine/src/flutter/impeller/docs/renderdoc_frame_capture.md b/docs/engine/impeller/docs/renderdoc_frame_capture.md similarity index 100% rename from engine/src/flutter/impeller/docs/renderdoc_frame_capture.md rename to docs/engine/impeller/docs/renderdoc_frame_capture.md diff --git a/engine/src/flutter/impeller/docs/shader_optimization.md b/docs/engine/impeller/docs/shader_optimization.md similarity index 100% rename from engine/src/flutter/impeller/docs/shader_optimization.md rename to docs/engine/impeller/docs/shader_optimization.md diff --git a/engine/src/flutter/impeller/docs/specialization_constants.md b/docs/engine/impeller/docs/specialization_constants.md similarity index 100% rename from engine/src/flutter/impeller/docs/specialization_constants.md rename to docs/engine/impeller/docs/specialization_constants.md diff --git a/engine/src/flutter/impeller/docs/standalone_gles.md b/docs/engine/impeller/docs/standalone_gles.md similarity index 100% rename from engine/src/flutter/impeller/docs/standalone_gles.md rename to docs/engine/impeller/docs/standalone_gles.md diff --git a/engine/src/flutter/impeller/docs/ubo_gles2.md b/docs/engine/impeller/docs/ubo_gles2.md similarity index 100% rename from engine/src/flutter/impeller/docs/ubo_gles2.md rename to docs/engine/impeller/docs/ubo_gles2.md diff --git a/engine/src/flutter/impeller/docs/vulkan_threading.md b/docs/engine/impeller/docs/vulkan_threading.md similarity index 100% rename from engine/src/flutter/impeller/docs/vulkan_threading.md rename to docs/engine/impeller/docs/vulkan_threading.md diff --git a/engine/src/flutter/impeller/docs/xcode_frame_capture.md b/docs/engine/impeller/docs/xcode_frame_capture.md similarity index 100% rename from engine/src/flutter/impeller/docs/xcode_frame_capture.md rename to docs/engine/impeller/docs/xcode_frame_capture.md diff --git a/engine/src/flutter/docs/monorepo/engine_binary_hashing.md b/docs/engine/monorepo/engine_binary_hashing.md similarity index 100% rename from engine/src/flutter/docs/monorepo/engine_binary_hashing.md rename to docs/engine/monorepo/engine_binary_hashing.md diff --git a/engine/src/flutter/docs/monorepo/history_strategy.md b/docs/engine/monorepo/history_strategy.md similarity index 100% rename from engine/src/flutter/docs/monorepo/history_strategy.md rename to docs/engine/monorepo/history_strategy.md diff --git a/engine/src/flutter/docs/rbe/luci.png b/docs/engine/rbe/luci.png similarity index 100% rename from engine/src/flutter/docs/rbe/luci.png rename to docs/engine/rbe/luci.png diff --git a/engine/src/flutter/docs/rbe/rbe.md b/docs/engine/rbe/rbe.md similarity index 100% rename from engine/src/flutter/docs/rbe/rbe.md rename to docs/engine/rbe/rbe.md diff --git a/engine/src/flutter/docs/release/Code-signing-metadata.md b/docs/engine/release/Code-signing-metadata.md similarity index 100% rename from engine/src/flutter/docs/release/Code-signing-metadata.md rename to docs/engine/release/Code-signing-metadata.md diff --git a/engine/src/flutter/docs/testing/Testing-the-engine.md b/docs/engine/testing/Testing-the-engine.md similarity index 100% rename from engine/src/flutter/docs/testing/Testing-the-engine.md rename to docs/engine/testing/Testing-the-engine.md From 0a7f9cbda4509f26e41a9265e519b8ac967b8ded Mon Sep 17 00:00:00 2001 From: John McDole Date: Wed, 10 Sep 2025 10:08:48 -0700 Subject: [PATCH 2/9] chore: update links --- docs/engine/contributing/Compiling-the-engine.md | 10 +++++----- docs/engine/impeller/docs/renderdoc_frame_capture.md | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/engine/contributing/Compiling-the-engine.md b/docs/engine/contributing/Compiling-the-engine.md index 716c9f2274700..a84391fb29847 100644 --- a/docs/engine/contributing/Compiling-the-engine.md +++ b/docs/engine/contributing/Compiling-the-engine.md @@ -57,7 +57,7 @@ These steps build the engine used by `flutter run` for Android devices. Run the following steps from the `engine/src` directory in your local checkout. See [Setting up the Engine development environment](Setting-up-the-Engine-development-environment.md). -1. Make sure your engine code is [up to date](https://github.com/flutter/flutter/blob/master/engine/src/flutter/docs/contributing/Compiling-the-engine.md#updating-the-engine). +1. Make sure your engine code is [up to date](https://github.com/flutter/flutter/blob/master/docs/engine/contributing/Compiling-the-engine.md#updating-the-engine). 2. Prepare your build files * `./flutter/tools/gn --android --unoptimized` for device-side executables. @@ -130,7 +130,7 @@ These steps build the engine used by `flutter run` for iOS devices. Run the following steps, from the `engine/src` directory: -1. Make sure your engine code is [up to date](https://github.com/flutter/flutter/blob/master/engine/src/flutter/docs/contributing/Compiling-the-engine.md#updating-the-engine). +1. Make sure your engine code is [up to date](https://github.com/flutter/flutter/blob/master/docs/engine/contributing/Compiling-the-engine.md#updating-the-engine). 2. `./flutter/tools/gn --ios --unoptimized` to prepare build files for device-side executables (or `--ios --simulator --unoptimized` for simulator). * This also produces an Xcode project for working with the engine source code at `out/ios_debug_unopt/flutter_engine.xcodeproj` @@ -154,7 +154,7 @@ See also [instructions for debugging the engine in a Flutter app in Xcode](../De These steps build the desktop embedding, and the engine used by `flutter test` on a host workstation. -1. Make sure your engine code is [up to date](https://github.com/flutter/flutter/blob/master/engine/src/flutter/docs/contributing/Compiling-the-engine.md#updating-the-engine). +1. Make sure your engine code is [up to date](https://github.com/flutter/flutter/blob/master/docs/engine/contributing/Compiling-the-engine.md#updating-the-engine). 2. `./flutter/tools/gn --unoptimized` to prepare your build files. * `--unoptimized` disables C++ compiler optimizations. On macOS, binaries are emitted unstripped; on Linux, unstripped binaries are emitted to an `exe.unstripped` subdirectory of the build. @@ -180,7 +180,7 @@ On Windows, ensure that the engine checkout is not deeply nested. This avoid the 1. Make sure you have Visual Studio installed (non-Googlers only). [Debugging Tools for Windows 10](https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/debugger-download-tools#small-classic-windbg-preview-logo-debugging-tools-for-windows-10-windbg) must be installed. -2. Make sure your engine code is [up to date](https://github.com/flutter/flutter/blob/master/engine/src/flutter/docs/contributing/Compiling-the-engine.md#updating-the-engine). +2. Make sure your engine code is [up to date](https://github.com/flutter/flutter/blob/master/docs/engine/contributing/Compiling-the-engine.md#updating-the-engine). 3. Ensure long path support is enabled on your machine. Launch PowerShell as an administrator and run: ``` @@ -290,7 +290,7 @@ Compiling the web engine might take a few extra steps on Windows. Use cmd.exe an 2. Make sure, depot_tools, ninja and python are installed and added to the path. Also set the following environment variable for depot tools: * `DEPOT_TOOLS_WIN_TOOLCHAIN = 0` * Tip: if you get a python error try to use Python 2 instead of 3 -3. Make sure your engine code is [up to date](https://github.com/flutter/flutter/blob/master/engine/src/flutter/docs/contributing/Compiling-the-engine.md#updating-the-engine). +3. Make sure your engine code is [up to date](https://github.com/flutter/flutter/blob/master/docs/engine/contributing/Compiling-the-engine.md#updating-the-engine). * Tip: If you get a git authentication errors on this step try Git Bash instead 5. `python .\flutter\tools\gn --unoptimized --full-dart-sdk` to prepare your build files. 6. `ninja -C .\out\` to build. diff --git a/docs/engine/impeller/docs/renderdoc_frame_capture.md b/docs/engine/impeller/docs/renderdoc_frame_capture.md index 8c561c24b1531..4bce6f3e4e379 100644 --- a/docs/engine/impeller/docs/renderdoc_frame_capture.md +++ b/docs/engine/impeller/docs/renderdoc_frame_capture.md @@ -49,4 +49,4 @@ _See also:_ - * [Learning to Read GPU Frame Captures](https://github.com/flutter/flutter/blob/main/engine/src/flutter/impeller/docs/read_frame_captures.md) + * [Learning to Read GPU Frame Captures](https://github.com/flutter/flutter/blob/main/docs/engine/impeller/docs/read_frame_captures.md) From d41224ffba0c7663f1098923865363a125054d8f Mon Sep 17 00:00:00 2001 From: John McDole Date: Wed, 10 Sep 2025 10:36:41 -0700 Subject: [PATCH 3/9] chore: clean up links --- .gemini/styleguide.md | 4 ++-- CONTRIBUTING.md | 2 +- docs/README.md | 4 ++-- docs/about/The-Engine-architecture.md | 4 ++-- .../Setting-up-the-Framework-development-environment.md | 2 +- docs/contributing/Tree-hygiene.md | 2 +- docs/contributing/testing/Running-and-writing-tests.md | 6 +++--- docs/infra/Rolling-Dart.md | 6 +++--- engine/README.md | 4 ++-- engine/src/flutter/.github/PULL_REQUEST_TEMPLATE.md | 2 +- engine/src/flutter/impeller/toolkit/glvk/trampoline.cc | 2 +- engine/src/flutter/lib/gpu/lib/gpu.dart | 2 +- engine/src/flutter/lib/web_ui/README.md | 2 +- engine/src/flutter/tools/engine_tool/README.md | 2 +- .../flutter/tools/vscode_workspace/engine-workspace.yaml | 2 +- 15 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.gemini/styleguide.md b/.gemini/styleguide.md index 96fc6f490232c..0ecc6ff5532a0 100644 --- a/.gemini/styleguide.md +++ b/.gemini/styleguide.md @@ -9,7 +9,7 @@ flutter/flutter repository. It is based on the more comprehensive official - Code should follow the guidance and principles described in [the Flutter contribution guide](https://github.com/flutter/flutter/blob/main/CONTRIBUTING.md). - Code should be tested and follow the guidance described in the [writing effective tests guide](https://github.com/flutter/flutter/blob/main/docs/contributing/testing/Writing-Effective-Tests.md) and the [running and writing tests guide](https://github.com/flutter/flutter/blob/main/docs/contributing/testing/Running-and-writing-tests.md). -- Changes to the [engine/ directory](https://github.com/flutter/flutter/tree/main/engine) should additionally have appropriate tests as described in [the engine test guidance](https://github.com/flutter/flutter/blob/main/engine/src/flutter/docs/testing/Testing-the-engine.md). +- Changes to the [engine/ directory](https://github.com/flutter/flutter/tree/main/engine) should additionally have appropriate tests as described in [the engine test guidance](https://github.com/flutter/flutter/blob/main/docs/engine/testing/Testing-the-engine.md). - PR descriptions should include the Pre-launch Checklist from [the PR template](https://github.com/flutter/flutter/blob/main/.github/PULL_REQUEST_TEMPLATE.md), with all of the steps completed. @@ -81,4 +81,4 @@ For more detailed guidance, refer to the following documents: - [The Flutter contribution guide](https://github.com/flutter/flutter/blob/main/CONTRIBUTING.md) - [Writing effective tests guide](https://github.com/flutter/flutter/blob/main/docs/contributing/testing/Writing-Effective-Tests.md) - [Running and writing tests guide](https://github.com/flutter/flutter/blob/main/docs/contributing/testing/Running-and-writing-tests.md) -- [Engine testing guide](https://github.com/flutter/flutter/blob/main/engine/src/flutter/docs/testing/Testing-the-engine.md) +- [Engine testing guide](https://github.com/flutter/flutter/blob/main/docs/engine/testing/Testing-the-engine.md) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6de7575d7c44c..50134ef0b7ffb 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -106,7 +106,7 @@ that describe these methodologies. The following list is ordered: you are strongly recommended to go through these documents in the order presented. -1. [Setting up your engine development environment](./engine/src/flutter/docs/contributing/Setting-up-the-Engine-development-environment.md), +1. [Setting up your engine development environment](./docs/engine/contributing/Setting-up-the-Engine-development-environment.md), which describes the steps you need to configure your computer to work on Flutter's engine. If you only want to write code for the Flutter framework, you can skip this step. Flutter's engine mainly diff --git a/docs/README.md b/docs/README.md index db9272b4c86e3..80e66672cf905 100644 --- a/docs/README.md +++ b/docs/README.md @@ -14,7 +14,7 @@ If you intend to contribute to Flutter, welcome! You are encouraged to start wit * [Cherrypick process](./releases/Flutter-Cherrypick-Process.md) * [Closing issues](./contributing/issue_hygiene/README.md#closing-issues) * [Dashboards](./infra/Dashboards.md) -* [Debugging a broken engine autoroll](../engine/src/flutter/docs/Debugging-the-engine.md#bisecting-a-roll-failure) +* [Debugging a broken engine autoroll](../docs/engine/Debugging-the-engine.md#bisecting-a-roll-failure) * [Deprecations](./contributing/Tree-hygiene.md#deprecations) * [Design documents](./contributing/Design-Documents.md) * [Discord](./contributing/Chat.md) @@ -31,7 +31,7 @@ If you intend to contribute to Flutter, welcome! You are encouraged to start wit * [Style guide for Flutter repo](./contributing/Style-guide-for-Flutter-repo.md) * [Submitting code, process for](./contributing/Tree-hygiene.md#overview) * [Support levels, definitions of](./about/Values.md#support) -* [Symbolicating stack traces](../engine/src/flutter/docs/Crashes.md) +* [Symbolicating stack traces](../docs/engine/Crashes.md) * [Threading in the Engine](./about/The-Engine-architecture.md#threading) * [When will my bug be fixed?](./contributing/issue_hygiene/README.md#when-will-my-bug-be-fixed) * [Security best practices](./infra/Security.md#best-practices) diff --git a/docs/about/The-Engine-architecture.md b/docs/about/The-Engine-architecture.md index 6da00b2ee468f..2640a566412d5 100644 --- a/docs/about/The-Engine-architecture.md +++ b/docs/about/The-Engine-architecture.md @@ -14,7 +14,7 @@ Flutter Engine sits in this stack, highlights API boundaries, and identifies the repositories where the individual pieces live. The legend below clarifies some of the terminology commonly used to describe the pieces of a Flutter app. -Flutter Architecture Diagram +Flutter Architecture Diagram #### Dart App @@ -70,7 +70,7 @@ library called `dart:ui` to provide low-level access to Skia features and the shell. The shells can also communicate directly to Dart code via [Platform Channels](https://flutter.io/platform-channels/) which bypass the engine. -![Flutter Architecture Diagram](https://github.com/flutter/flutter/tree/main/engine/src/flutter/docs/flutter_overview.svg?sanitize=true) +![Flutter Architecture Diagram](https://github.com/flutter/flutter/tree/main/docs/engine/flutter_overview.svg?sanitize=true) ## Threading diff --git a/docs/contributing/Setting-up-the-Framework-development-environment.md b/docs/contributing/Setting-up-the-Framework-development-environment.md index c8bf91e2691e7..1064effc912b8 100644 --- a/docs/contributing/Setting-up-the-Framework-development-environment.md +++ b/docs/contributing/Setting-up-the-Framework-development-environment.md @@ -13,7 +13,7 @@ Verify that `adb` is in your [PATH](https://en.wikipedia.org/wiki/PATH_(variable)) (that `which adb` prints sensible output). If you're - [also working on the Flutter engine](../../engine/src/flutter/docs/contributing/Setting-up-the-Engine-development-environment.md), + [also working on the Flutter engine](../../docs/engine/contributing/Setting-up-the-Engine-development-environment.md), you can use the copy of the Android platform tools in `.../engine/src/third_party/android_tools/sdk/platform-tools`. diff --git a/docs/contributing/Tree-hygiene.md b/docs/contributing/Tree-hygiene.md index f4c90640c6c6b..29b8af3606c7c 100644 --- a/docs/contributing/Tree-hygiene.md +++ b/docs/contributing/Tree-hygiene.md @@ -152,7 +152,7 @@ feel empowered to ask for tests. ## Using git Assuming your environment has been configured according to the instructions in -[Setting up the Engine development environment](../../engine/src/flutter/docs/contributing/Setting-up-the-Engine-development-environment.md), +[Setting up the Engine development environment](../../docs/engine/contributing/Setting-up-the-Engine-development-environment.md), [Setting up the Framework development environment](Setting-up-the-Framework-development-environment.md), or [Setting up the Packages development environment](../ecosystem/contributing/Setting-up-the-Packages-development-environment.md), follow these steps to start working on a patch: diff --git a/docs/contributing/testing/Running-and-writing-tests.md b/docs/contributing/testing/Running-and-writing-tests.md index ac1105b2ecdc0..5c087f76dfefd 100644 --- a/docs/contributing/testing/Running-and-writing-tests.md +++ b/docs/contributing/testing/Running-and-writing-tests.md @@ -47,7 +47,7 @@ runs them, run `dart dev/bots/test.dart` and `dart --enable-asserts dev/bots/ana ### Locally built engines -If you've built your own flutter engine (see [Setting up the Engine development environment](../../../engine/src/flutter/docs/contributing/Setting-up-the-Engine-development-environment.md)), you +If you've built your own flutter engine (see [Setting up the Engine development environment](../../../docs/engine/contributing/Setting-up-the-Engine-development-environment.md)), you can pass `--local-engine` to change what flutter shell `flutter test` uses. For example, if you built an engine in the `out/host_debug_unopt` directory, you can use: @@ -120,8 +120,8 @@ The following is an example of what running the local engine command might look The above command would use the local Flutter engine located at `/Users/myname/flutter/engine` to execute the `external_ui_integration_test` test on an Android emulator, which is why the `android_debug_unopt_x86` version of the engine is used. -Note that some tests may require `profile` mode instead of `debug` mode when running with local engine. Make sure to pass in the correct local engine. See [Compiling the engine](../../../engine/src/flutter/docs/contributing/Compiling-the-engine.md) for more details. +Note that some tests may require `profile` mode instead of `debug` mode when running with local engine. Make sure to pass in the correct local engine. See [Compiling the engine](../../../docs/engine/contributing/Compiling-the-engine.md) for more details. ## For the engine -See the [Testing the engine](../../../engine/src/flutter/docs/testing/Testing-the-engine.md) wiki. +See the [Testing the engine](../../../docs/engine/testing/Testing-the-engine.md) wiki. diff --git a/docs/infra/Rolling-Dart.md b/docs/infra/Rolling-Dart.md index d55c29587f964..79edc05a8b507 100644 --- a/docs/infra/Rolling-Dart.md +++ b/docs/infra/Rolling-Dart.md @@ -49,12 +49,12 @@ If the script completes without errors, move on to step 10 in the next section t 1. Set up your Engine and Flutter environments by following the instructions described in the pages linked to from [our contributing guide](../../CONTRIBUTING.md). -2. Build the engine according to the instructions on the [Compiling the engine](../../engine/src/flutter/docs/contributing/Compiling-the-engine.md) page. +2. Build the engine according to the instructions on the [Compiling the engine](../../docs/engine/contributing/Compiling-the-engine.md) page. 3. Select a target Dart revision, typically use the [latest revision](https://github.com/dart-lang/sdk/commits/main). Check that the tests for that revision have all passed (all green) on the [Dart buildbot](https://ci.chromium.org/p/flutter/g/engine/console) and the [Internal Dart Flutter buildbot](https://ci.chromium.org/p/dart/g/flutter/console). 4. Create a PR (see [Tree hygiene](../contributing/Tree-hygiene.md)) that updates `dart_revision` in [DEPS](../../DEPS) to your selected revision. Invoke `gclient sync` in the src directory to ensure versions corresponding to the DEPS file are synced up. 5. Update all Dart-dependent DEPS entries using [`create_updated_flutter_deps.py`](../../engine/src/tools/dart/create_updated_flutter_deps.py) script. In case script complains that dart dependency was removed, remove entry from flutter DEPS file manually. If the list of library source files or patch files is modified, update the file [`libraries.yaml`](../../engine/src/flutter/lib/snapshot/libraries.yaml) and regenerate the corresponding json file. 6. Invoke `gclient sync` in the src directory to ensure versions corresponding to the DEPS file are synced up. -7. Build the debug, profile, and release versions of the engine, following the normal [Compiling the engine](../../engine/src/flutter/docs/contributing/Compiling-the-engine.md) instructions. You will need to build the host versions of the engine too. Here is a script with the build commands: +7. Build the debug, profile, and release versions of the engine, following the normal [Compiling the engine](../../docs/engine/contributing/Compiling-the-engine.md) instructions. You will need to build the host versions of the engine too. Here is a script with the build commands: ```bash #!/bin/bash -e @@ -88,7 +88,7 @@ cd $FLUTTER_HOME/packages/flutter flutter test --local-engine=host_debug --local-engine-host=host_debug ``` -> See [Running a Flutter app with a local engine](../../engine/src/flutter/docs/Debugging-the-engine.md#running-a-flutter-app-with-a-local-engine) for more information. +> See [Running a Flutter app with a local engine](../../docs/engine/Debugging-the-engine.md#running-a-flutter-app-with-a-local-engine) for more information. 8. Make sure your path contains `engine/src/third_party/dart/tools/sdks/dart-sdk/bin`, run the script `flutter/ci/licenses.sh` in the src directory, update `flutter/ci/licenses_golden/licenses_third_party` by copying `out/license_script_output/licenses_third_party` into it. Include this change in your pull request. **If any licenses changed, make sure to also update the actual `LICENSE` file.** diff --git a/engine/README.md b/engine/README.md index c01e1d6c440d5..f0278c2f78281 100644 --- a/engine/README.md +++ b/engine/README.md @@ -2,7 +2,7 @@ ## Setting up the Engine development environment -See [here](https://github.com/flutter/flutter/blob/master/engine/src/flutter/docs/contributing/Setting-up-the-Engine-development-environment.md#getting-the-source) +See [here](https://github.com/flutter/flutter/blob/master/docs/engine/contributing/Setting-up-the-Engine-development-environment.md#getting-the-source) ## `gclient` bootstrap @@ -11,6 +11,6 @@ Flutter engine uses `gclient` to manage dependencies. If you've already cloned the flutter repository: 1. Copy one of the `engine/scripts/*.gclient` to the [root](../) folder as `.gclient`: - 1. Googlers: copy `rbe.gclient` to enable faster builds with [RBE](https://github.com/flutter/flutter/blob/master/engine/src/flutter/docs/rbe/rbe.md) + 1. Googlers: copy `rbe.gclient` to enable faster builds with [RBE](https://github.com/flutter/flutter/blob/master/docs/engine/rbe/rbe.md) 2. Everyone else: copy `standard.gclient` 2. run `gclient sync` from the [root](../) folder diff --git a/engine/src/flutter/.github/PULL_REQUEST_TEMPLATE.md b/engine/src/flutter/.github/PULL_REQUEST_TEMPLATE.md index 854dee303a729..b14fb2817325a 100644 --- a/engine/src/flutter/.github/PULL_REQUEST_TEMPLATE.md +++ b/engine/src/flutter/.github/PULL_REQUEST_TEMPLATE.md @@ -23,7 +23,7 @@ If you need help, consider asking for advice on the #hackers-new channel on [Dis [test-exempt]: https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md#tests [Flutter Style Guide]: https://github.com/flutter/flutter/blob/master/docs/contributing/Style-guide-for-Flutter-repo.md [C++, Objective-C, Java style guides]: https://github.com/flutter/flutter/blob/main/engine/src/flutter/CONTRIBUTING.md#style -[testing the engine]: https://github.com/flutter/flutter/blob/main/engine/src/flutter/docs/testing/Testing-the-engine.md +[testing the engine]: https://github.com/flutter/flutter/blob/main/docs/engine/testing/Testing-the-engine.md [CLA]: https://cla.developers.google.com/ [flutter/tests]: https://github.com/flutter/tests [breaking change policy]: https://github.com/flutter/flutter/blob/master/docs/contributing/Tree-hygiene.md#handling-breaking-changes diff --git a/engine/src/flutter/impeller/toolkit/glvk/trampoline.cc b/engine/src/flutter/impeller/toolkit/glvk/trampoline.cc index eda8595a0c5e1..7a35249fd5865 100644 --- a/engine/src/flutter/impeller/toolkit/glvk/trampoline.cc +++ b/engine/src/flutter/impeller/toolkit/glvk/trampoline.cc @@ -256,7 +256,7 @@ bool Trampoline::BlitTextureOpenGLToVulkan( // // See the following help link for an overview of the different coordinate // systems: - // https://github.com/flutter/engine/blob/5810b3fc791f4bb82b9a454014310990eddc1181/impeller/docs/coordinate_system.md + // https://github.com/flutter/flutter/blob/master/docs/impeller/coordinate_system.md static constexpr const VertexData kVertData[] = { {{-1, -1}, {0, 1}}, // bottom left {{-1, +1}, {0, 0}}, // top left diff --git a/engine/src/flutter/lib/gpu/lib/gpu.dart b/engine/src/flutter/lib/gpu/lib/gpu.dart index 22533ee9c1a7d..1c57d9f466fb5 100644 --- a/engine/src/flutter/lib/gpu/lib/gpu.dart +++ b/engine/src/flutter/lib/gpu/lib/gpu.dart @@ -17,7 +17,7 @@ /// /// See also: /// -/// * [Flutter GPU documentation](https://github.com/flutter/flutter/blob/main/engine/src/flutter/docs/impeller/Flutter-GPU.md). +/// * [Flutter GPU documentation](https://github.com/flutter/flutter/blob/main/docs/engine/impeller/Flutter-GPU.md). library flutter_gpu; import 'dart:ffi'; diff --git a/engine/src/flutter/lib/web_ui/README.md b/engine/src/flutter/lib/web_ui/README.md index 5739b5300ebfb..9a8e513719e5e 100644 --- a/engine/src/flutter/lib/web_ui/README.md +++ b/engine/src/flutter/lib/web_ui/README.md @@ -335,7 +335,7 @@ Once you know the version for the Emscripten SDK, change the line in -[1]: https://github.com/flutter/flutter/blob/main/engine/src/flutter/docs/contributing/Setting-up-the-Engine-development-environment.md +[1]: https://github.com/flutter/flutter/blob/main/docs/engine/contributing/Setting-up-the-Engine-development-environment.md [2]: https://github.com/flutter/flutter/blob/main/engine/src/flutter/lib/web_ui/test/README.md [3]: https://github.com/flutter/flutter/blob/main/engine/src/flutter/lib/web_ui/dev/package_lock.yaml [4]: https://chrome-infra-packages.appspot.com/p/flutter_internal diff --git a/engine/src/flutter/tools/engine_tool/README.md b/engine/src/flutter/tools/engine_tool/README.md index edebbc2f4f07e..35697c3390998 100644 --- a/engine/src/flutter/tools/engine_tool/README.md +++ b/engine/src/flutter/tools/engine_tool/README.md @@ -39,7 +39,7 @@ source on a supported platform (see: run at all outside of a valid repository setup. [architectural layers]: https://docs.flutter.dev/resources/architectural-overview#architectural-layers -[setting up the engine development environment]: https://github.com/flutter/flutter/blob/main/engine/src/flutter/docs/contributing/Setting-up-the-Engine-development-environment.md +[setting up the engine development environment]: https://github.com/flutter/flutter/blob/main/docs/engine/contributing/Setting-up-the-Engine-development-environment.md It is recommended to add `et` to your `PATH` by adding the [`bin` folder][]: diff --git a/engine/src/flutter/tools/vscode_workspace/engine-workspace.yaml b/engine/src/flutter/tools/vscode_workspace/engine-workspace.yaml index 4938ca8f7e090..1d8e3cbd2236f 100644 --- a/engine/src/flutter/tools/vscode_workspace/engine-workspace.yaml +++ b/engine/src/flutter/tools/vscode_workspace/engine-workspace.yaml @@ -299,7 +299,7 @@ extensions: # Flutter and Dart extensions. - Dart-Code.dart-code # Supports C/C++ in the engine. - # See https://github.com/flutter/flutter/blob/main/engine/src/flutter/docs/contributing/Setting-up-the-Engine-development-environment.md#vscode-with-cc-intellisense-cc + # See https://github.com/flutter/flutter/blob/main/docs/engine/contributing/Setting-up-the-Engine-development-environment.md#vscode-with-cc-intellisense-cc - llvm-vs-code-extensions.vscode-clangd # Auto-formats C/C++ code. # https://github.com/flutter/flutter/blob/main/engine/src/flutter/CONTRIBUTING.md#cc From 41045ec527e8ae51c0c2a01592296aa1161808d5 Mon Sep 17 00:00:00 2001 From: John McDole Date: Wed, 10 Sep 2025 10:51:03 -0700 Subject: [PATCH 4/9] Whoops --- engine/src/flutter/impeller/toolkit/glvk/trampoline.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/impeller/toolkit/glvk/trampoline.cc b/engine/src/flutter/impeller/toolkit/glvk/trampoline.cc index 7a35249fd5865..257bd1f48e924 100644 --- a/engine/src/flutter/impeller/toolkit/glvk/trampoline.cc +++ b/engine/src/flutter/impeller/toolkit/glvk/trampoline.cc @@ -256,7 +256,7 @@ bool Trampoline::BlitTextureOpenGLToVulkan( // // See the following help link for an overview of the different coordinate // systems: - // https://github.com/flutter/flutter/blob/master/docs/impeller/coordinate_system.md + // https://github.com/flutter/flutter/blob/master/docs/engine/impeller/docs/coordinate_system.md static constexpr const VertexData kVertData[] = { {{-1, -1}, {0, 1}}, // bottom left {{-1, +1}, {0, 0}}, // top left From ef5462f6974197d6d45d6a1f959ab2ba7226ee3e Mon Sep 17 00:00:00 2001 From: John McDole Date: Fri, 12 Sep 2025 10:17:30 -0700 Subject: [PATCH 5/9] Update Doxyfile.template location --- engine/src/flutter/tools/gen_docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/tools/gen_docs.py b/engine/src/flutter/tools/gen_docs.py index 7985cfa02db16..60f65e59d5545 100755 --- a/engine/src/flutter/tools/gen_docs.py +++ b/engine/src/flutter/tools/gen_docs.py @@ -49,7 +49,7 @@ def generate_doxyfile(section, output_dir, log_file, doxy_file): - doxyfile = open('docs/Doxyfile.template', 'r').read() + doxyfile = open('../../../docs/engine/Doxyfile.template', 'r').read() doxyfile = doxyfile.replace('@@OUTPUT_DIRECTORY@@', output_dir) doxyfile = doxyfile.replace('@@LOG_FILE@@', log_file) doxyfile = doxyfile.replace('@@INPUT_DIRECTORIES@@', '"{}"'.format('" "'.join(section.inputs))) From 0c309d7be9dcda241e45da7108fcc84b58766f2e Mon Sep 17 00:00:00 2001 From: John McDole Date: Fri, 12 Sep 2025 11:32:49 -0700 Subject: [PATCH 6/9] master->main --- docs/engine/Debugging-the-engine.md | 2 +- docs/engine/README.md | 12 ++++---- .../contributing/Compiling-the-engine.md | 28 +++++++++---------- ...g-up-the-Engine-development-environment.md | 10 +++---- docs/engine/testing/Testing-the-engine.md | 2 +- 5 files changed, 27 insertions(+), 27 deletions(-) diff --git a/docs/engine/Debugging-the-engine.md b/docs/engine/Debugging-the-engine.md index 23b9f83b019af..f0fcdfaa5af52 100644 --- a/docs/engine/Debugging-the-engine.md +++ b/docs/engine/Debugging-the-engine.md @@ -87,7 +87,7 @@ You can also set a breakpoint directly with [lldb](https://lldb.llvm.org/tutoria ## Debugging Android builds with gdb -See https://github.com/flutter/flutter/blob/master/engine/src/flutter/sky/tools/flutter_gdb +See https://github.com/flutter/flutter/blob/main/engine/src/flutter/sky/tools/flutter_gdb ## Debugging native engine code on Android with Android Studio diff --git a/docs/engine/README.md b/docs/engine/README.md index 083556816888d..2525e659c31b6 100644 --- a/docs/engine/README.md +++ b/docs/engine/README.md @@ -1,6 +1,6 @@ This is an index of team-facing documentation for the [flutter/engine team](https://github.com/flutter/flutter/tree/main/engine). -- [Accessibility on Windows](https://github.com/flutter/flutter/blob/master/docs/platforms/desktop/windows/Accessibility-on-Windows.md) +- [Accessibility on Windows](https://github.com/flutter/flutter/blob/main/docs/platforms/desktop/windows/Accessibility-on-Windows.md) - [Code signing metadata](./release/Code-signing-metadata.md) for engine binaries - [Compiling the engine](./contributing/Compiling-the-engine.md) - [Comparing AOT Snapshot Sizes](./benchmarks/Comparing-AOT-Snapshot-Sizes.md) @@ -9,7 +9,7 @@ This is an index of team-facing documentation for the [flutter/engine team](http - [Custom Flutter Engine Embedding in AOT Mode](./Custom-Flutter-Engine-Embedding-in-AOT-Mode.md) - [Debugging the engine](./Debugging-the-engine.md) - [Flutter engine operation in AOT Mode](./Flutter-engine-operation-in-AOT-Mode.md) -- [Flutter Test Fonts](https://github.com/flutter/flutter/blob/master/docs/contributing/testing/Flutter-Test-Fonts.md) +- [Flutter Test Fonts](https://github.com/flutter/flutter/blob/main/docs/contributing/testing/Flutter-Test-Fonts.md) - [Flutter's modes](./Flutter's-modes.md) - [Engine Clang Tidy Linter](./ci/Engine-Clang-Tidy-Linter.md) - [Engine disk footprint](./Engine-disk-footprint.md) @@ -18,12 +18,12 @@ This is an index of team-facing documentation for the [flutter/engine team](http - [Image Codecs in the Flutter Engine](Image-Codecs-in-the-Flutter-Engine.md) - [Impeller](./impeller/README.md) documentation index - [Life of a Flutter Frame](Life-of-a-Flutter-Frame.md) -- [Resolving common build failures](https://github.com/flutter/flutter/blob/master/docs/platforms/android/Resolving-common-build-failures.md) +- [Resolving common build failures](https://github.com/flutter/flutter/blob/main/docs/platforms/android/Resolving-common-build-failures.md) - [Setting up the Engine development environment](./contributing/Setting-up-the-Engine-development-environment.md) - [Supporting legacy platforms](Supporting-legacy-platforms.md) -- [Testing Android Changes in the Devicelab on an Emulator](https://github.com/flutter/flutter/blob/master/docs/platforms/android/Testing-Android-Changes-in-the-Devicelab-on-an-Emulator.md) +- [Testing Android Changes in the Devicelab on an Emulator](https://github.com/flutter/flutter/blob/main/docs/platforms/android/Testing-Android-Changes-in-the-Devicelab-on-an-Emulator.md) - [Testing the engine](./testing/Testing-the-engine.md) -- [The Engine architecture](https://github.com/flutter/flutter/blob/master/docs/about/The-Engine-architecture.md) -- [Upgrading Engine's Android API version](https://github.com/flutter/flutter/blob/master/docs/platforms/android/Upgrading-Engine's-Android-API-version.md) +- [The Engine architecture](https://github.com/flutter/flutter/blob/main/docs/about/The-Engine-architecture.md) +- [Upgrading Engine's Android API version](https://github.com/flutter/flutter/blob/main/docs/platforms/android/Upgrading-Engine's-Android-API-version.md) - [Using the Dart Development Service (DDS) and Flutter DevTools with a custom Flutter Engine Embedding](./Using-the-Dart-Development-Service-(DDS)-and-Flutter-DevTools-with-a-custom-Flutter-Engine-Embedding.md) - [Using Sanitizers with the Flutter Engine](./Using-Sanitizers-with-the-Flutter-Engine.md) diff --git a/docs/engine/contributing/Compiling-the-engine.md b/docs/engine/contributing/Compiling-the-engine.md index a84391fb29847..30fe2173db5f5 100644 --- a/docs/engine/contributing/Compiling-the-engine.md +++ b/docs/engine/contributing/Compiling-the-engine.md @@ -18,7 +18,7 @@ Depending on the platform you are making changes for, you may be interested in a - Instead of compiling manually as described in this file, it's recommended to use `et`, the engine tool, located at - https://github.com/flutter/flutter/blob/master/engine/src/flutter/tools/engine_tool. + https://github.com/flutter/flutter/blob/main/engine/src/flutter/tools/engine_tool. - For local development and testing, it's generally preferable to use `--unopt` builds. These builds will have additional logging and checks enabled, and generally use build and link flags that lead to faster compilation and better debugging symbols. @@ -57,7 +57,7 @@ These steps build the engine used by `flutter run` for Android devices. Run the following steps from the `engine/src` directory in your local checkout. See [Setting up the Engine development environment](Setting-up-the-Engine-development-environment.md). -1. Make sure your engine code is [up to date](https://github.com/flutter/flutter/blob/master/docs/engine/contributing/Compiling-the-engine.md#updating-the-engine). +1. Make sure your engine code is [up to date](https://github.com/flutter/flutter/blob/main/docs/engine/contributing/Compiling-the-engine.md#updating-the-engine). 2. Prepare your build files * `./flutter/tools/gn --android --unoptimized` for device-side executables. @@ -70,7 +70,7 @@ Run the following steps from the `engine/src` directory in your local checkout. > 💡 **TIP**: When developing on a Mac with ARM (M CPU), prefer `host_debug_unopt_arm64`. > > You can continue to use `host_debug_unopt` (required for Intel Macs), but the engine will be run under Rosetta -> which may be slower. See [Developing with Flutter on Apple Silicon](https://github.com/flutter/flutter/blob/master/docs/platforms/desktop/macos/Developing-with-Flutter-on-Apple-Silicon.md) +> which may be slower. See [Developing with Flutter on Apple Silicon](https://github.com/flutter/flutter/blob/main/docs/platforms/desktop/macos/Developing-with-Flutter-on-Apple-Silicon.md) > for more information. 3. Build your executables @@ -90,11 +90,11 @@ If you're going to be debugging crashes in the engine, make sure you add `android/AndroidManifest.xml` file for the Flutter app you are using to test the engine. -See [The flutter tool](https://github.com/flutter/flutter/blob/master/docs/tool/README.md) for instructions on how to use the `flutter` tool with a local engine. +See [The flutter tool](https://github.com/flutter/flutter/blob/main/docs/tool/README.md) for instructions on how to use the `flutter` tool with a local engine. You will typically use the `android_debug_unopt` build to debug the engine on a device, and `android_debug_unopt_x64` to debug in on a simulator. Modifying dart sources in the engine will require adding a `dependency_override` section in you app's `pubspec.yaml` as detailed -[here](https://github.com/flutter/flutter/blob/master/docs/tool/README.md#using-a-locally-built-engine-with-the-flutter-tool). +[here](https://github.com/flutter/flutter/blob/main/docs/tool/README.md#using-a-locally-built-engine-with-the-flutter-tool). Note that if you use particular android or ios engine build, you will need to have corresponding host build available next to it: if you use `android_debug_unopt`, you should have built `host_debug_unopt`, @@ -130,7 +130,7 @@ These steps build the engine used by `flutter run` for iOS devices. Run the following steps, from the `engine/src` directory: -1. Make sure your engine code is [up to date](https://github.com/flutter/flutter/blob/master/docs/engine/contributing/Compiling-the-engine.md#updating-the-engine). +1. Make sure your engine code is [up to date](https://github.com/flutter/flutter/blob/main/docs/engine/contributing/Compiling-the-engine.md#updating-the-engine). 2. `./flutter/tools/gn --ios --unoptimized` to prepare build files for device-side executables (or `--ios --simulator --unoptimized` for simulator). * This also produces an Xcode project for working with the engine source code at `out/ios_debug_unopt/flutter_engine.xcodeproj` @@ -142,11 +142,11 @@ Run the following steps, from the `engine/src` directory: 4. `ninja -C out/ios_debug_unopt && ninja -C out/host_debug_unopt` to build all artifacts (use `out/ios_debug_sim_unopt` for Simulator). -See [The flutter tool](https://github.com/flutter/flutter/blob/master/docs/tool/README.md) for instructions on how to use the `flutter` tool with a local engine. +See [The flutter tool](https://github.com/flutter/flutter/blob/main/docs/tool/README.md) for instructions on how to use the `flutter` tool with a local engine. You will typically use the `ios_debug_unopt` build to debug the engine on a device, and `ios_debug_sim_unopt` to debug in on a simulator. Modifying dart sources in the engine will require adding a `dependency_override` section in you app's `pubspec.yaml` as detailed -[here](https://github.com/flutter/flutter/blob/master/docs/tool/README.md#using-a-locally-built-engine-with-the-flutter-tool). +[here](https://github.com/flutter/flutter/blob/main/docs/tool/README.md#using-a-locally-built-engine-with-the-flutter-tool). See also [instructions for debugging the engine in a Flutter app in Xcode](../Debugging-the-engine.md#debugging-ios-builds-with-xcode). @@ -154,7 +154,7 @@ See also [instructions for debugging the engine in a Flutter app in Xcode](../De These steps build the desktop embedding, and the engine used by `flutter test` on a host workstation. -1. Make sure your engine code is [up to date](https://github.com/flutter/flutter/blob/master/docs/engine/contributing/Compiling-the-engine.md#updating-the-engine). +1. Make sure your engine code is [up to date](https://github.com/flutter/flutter/blob/main/docs/engine/contributing/Compiling-the-engine.md#updating-the-engine). 2. `./flutter/tools/gn --unoptimized` to prepare your build files. * `--unoptimized` disables C++ compiler optimizations. On macOS, binaries are emitted unstripped; on Linux, unstripped binaries are emitted to an `exe.unstripped` subdirectory of the build. @@ -162,10 +162,10 @@ These steps build the desktop embedding, and the engine used by `flutter test` o 3. `ninja -C out/host_debug_unopt` to build a desktop unoptimized binary. * If you skipped `--unoptimized`, use `ninja -C out/host_debug` instead. -See [The flutter tool](https://github.com/flutter/flutter/blob/master/docs/tool/README.md) for instructions on how to use the `flutter` tool with a local engine. +See [The flutter tool](https://github.com/flutter/flutter/blob/main/docs/tool/README.md) for instructions on how to use the `flutter` tool with a local engine. You will typically use the `host_debug_unopt` build in this setup. Modifying dart sources in the engine will require adding a `dependency_override` section in you app's `pubspec.yaml` as detailed -[here](https://github.com/flutter/flutter/blob/master/docs/tool/README.md#using-a-locally-built-engine-with-the-flutter-tool). +[here](https://github.com/flutter/flutter/blob/main/docs/tool/README.md#using-a-locally-built-engine-with-the-flutter-tool). If you have [ccache](https://ccache.dev/) installed on your system, you can enable this by using `--ccache` on `gn` in step 2 above. This can speed up subsequent builds, especially when switching branches. @@ -180,7 +180,7 @@ On Windows, ensure that the engine checkout is not deeply nested. This avoid the 1. Make sure you have Visual Studio installed (non-Googlers only). [Debugging Tools for Windows 10](https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/debugger-download-tools#small-classic-windbg-preview-logo-debugging-tools-for-windows-10-windbg) must be installed. -2. Make sure your engine code is [up to date](https://github.com/flutter/flutter/blob/master/docs/engine/contributing/Compiling-the-engine.md#updating-the-engine). +2. Make sure your engine code is [up to date](https://github.com/flutter/flutter/blob/main/docs/engine/contributing/Compiling-the-engine.md#updating-the-engine). 3. Ensure long path support is enabled on your machine. Launch PowerShell as an administrator and run: ``` @@ -271,7 +271,7 @@ python3 flutter/tools/fuchsia/with_envs.py flutter/testing/fuchsia/run_tests.py ## Compiling for the Web -For building the engine for the Web we use the [felt](https://github.com/flutter/flutter/blob/master/engine/src/flutter/lib/web_ui/README.md) tool. +For building the engine for the Web we use the [felt](https://github.com/flutter/flutter/blob/main/engine/src/flutter/lib/web_ui/README.md) tool. To test Flutter with a local build of the Web engine, add `--local-web-sdk=wasm_release` to your `flutter` command, e.g.: @@ -290,7 +290,7 @@ Compiling the web engine might take a few extra steps on Windows. Use cmd.exe an 2. Make sure, depot_tools, ninja and python are installed and added to the path. Also set the following environment variable for depot tools: * `DEPOT_TOOLS_WIN_TOOLCHAIN = 0` * Tip: if you get a python error try to use Python 2 instead of 3 -3. Make sure your engine code is [up to date](https://github.com/flutter/flutter/blob/master/docs/engine/contributing/Compiling-the-engine.md#updating-the-engine). +3. Make sure your engine code is [up to date](https://github.com/flutter/flutter/blob/main/docs/engine/contributing/Compiling-the-engine.md#updating-the-engine). * Tip: If you get a git authentication errors on this step try Git Bash instead 5. `python .\flutter\tools\gn --unoptimized --full-dart-sdk` to prepare your build files. 6. `ninja -C .\out\` to build. diff --git a/docs/engine/contributing/Setting-up-the-Engine-development-environment.md b/docs/engine/contributing/Setting-up-the-Engine-development-environment.md index b7ada86a9b3a5..b50a78582219f 100644 --- a/docs/engine/contributing/Setting-up-the-Engine-development-environment.md +++ b/docs/engine/contributing/Setting-up-the-Engine-development-environment.md @@ -42,7 +42,7 @@ Run the following steps to set up your environment: > * `GYP_MSVS_OVERRIDE_PATH=C:\Program Files\Microsoft Visual Studio\2022\Community` > * Use the path of your installation. -Clone the Flutter source code. As of late 2024, the engine source is part of the main [flutter/flutter repo](https://github.com/flutter/flutter). The convention is to fork this repo and point `origin` to your fork and `upstream` to `git@github.com:flutter/flutter.git`. See [Setting up the Framework development environment](https://github.com/flutter/flutter/blob/master/docs/contributing/Setting-up-the-Framework-development-environment.md#set-up-your-environment) for more. +Clone the Flutter source code. As of late 2024, the engine source is part of the main [flutter/flutter repo](https://github.com/flutter/flutter). The convention is to fork this repo and point `origin` to your fork and `upstream` to `git@github.com:flutter/flutter.git`. See [Setting up the Framework development environment](https://github.com/flutter/flutter/blob/main/docs/contributing/Setting-up-the-Framework-development-environment.md#set-up-your-environment) for more. > [!IMPORTANT] > On Windows, the following must be run as an Administrator due to [a known issue](https://github.com/flutter/flutter/issues/94580). @@ -75,8 +75,8 @@ gclient sync ## Next steps: * [Compiling the engine](Compiling-the-engine.md) explains how to actually get builds, now that you have the code. - * The docs for the flutter tool have a section on [using a locally built engine with the flutter tool](https://github.com/flutter/flutter/blob/master/docs/tool/README.md#using-a-locally-built-engine-with-the-flutter-tool). - * [Signing commits](https://github.com/flutter/flutter/blob/master/docs/contributing/Signing-commits.md), to configure your environment to securely sign your commits. + * The docs for the flutter tool have a section on [using a locally built engine with the flutter tool](https://github.com/flutter/flutter/blob/main/docs/tool/README.md#using-a-locally-built-engine-with-the-flutter-tool). + * [Signing commits](https://github.com/flutter/flutter/blob/main/docs/contributing/Signing-commits.md), to configure your environment to securely sign your commits. ## Editor autocomplete support @@ -175,11 +175,11 @@ To set up: ### Using Android Studio as an IDE for the Android Embedding [Java] Alternatively, Android Studio can be used as an IDE for the Android Embedding Java code. See docs -at https://github.com/flutter/flutter/blob/master/engine/src/flutter/shell/platform/android/README.md#editing-java-code for +at https://github.com/flutter/flutter/blob/main/engine/src/flutter/shell/platform/android/README.md#editing-java-code for instructions. ## VSCode Additional Useful Configuration -1. Create [snippets](https://code.visualstudio.com/docs/editor/userdefinedsnippets) for header files with [this configuration](https://github.com/chromium/chromium/blob/master/tools/vscode/settings.json5). This will let you use `hdr` keyboard macro to create the boiler plate header code. Also consider some of [these settings](https://github.com/chromium/chromium/blob/master/tools/vscode/settings.json5) and [more tips](https://chromium.googlesource.com/chromium/src/+show/lkgr/docs/vscode.md). +1. Create [snippets](https://code.visualstudio.com/docs/editor/userdefinedsnippets) for header files with [this configuration](https://github.com/chromium/chromium/blob/main/tools/vscode/settings.json5). This will let you use `hdr` keyboard macro to create the boiler plate header code. Also consider some of [these settings](https://github.com/chromium/chromium/blob/main/tools/vscode/settings.json5) and [more tips](https://chromium.googlesource.com/chromium/src/+show/lkgr/docs/vscode.md). 2. To format GN files on save, [consider using this extension](https://marketplace.visualstudio.com/items?itemName=persidskiy.vscode-gnformat). diff --git a/docs/engine/testing/Testing-the-engine.md b/docs/engine/testing/Testing-the-engine.md index 978673b70fa34..74ac146f6a123 100644 --- a/docs/engine/testing/Testing-the-engine.md +++ b/docs/engine/testing/Testing-the-engine.md @@ -330,7 +330,7 @@ Xcode and hit CMD+U. Dart unit tests are executed during pre-submit on our CI system when submitting PRs to the `flutter/engine` repository. -_See also: [Flutter Test Fonts](https://github.com/flutter/flutter/blob/master/docs/contributing/testing/Flutter-Test-Fonts.md)_ +_See also: [Flutter Test Fonts](https://github.com/flutter/flutter/blob/main/docs/contributing/testing/Flutter-Test-Fonts.md)_ ### Framework tests From e1cb62fce03d5ddb5a131bbaad2320df160780b0 Mon Sep 17 00:00:00 2001 From: John McDole Date: Fri, 12 Sep 2025 14:38:04 -0700 Subject: [PATCH 7/9] Move binary images back for now. --- docs/engine/rbe/rbe.md | 3 ++- .../src/flutter/docs}/Doxyfile.template | 0 .../src/flutter/docs}/flutter_logo.png | Bin .../engine => engine/src/flutter/docs}/rbe/luci.png | Bin 4 files changed, 2 insertions(+), 1 deletion(-) rename {docs/engine => engine/src/flutter/docs}/Doxyfile.template (100%) rename {docs/engine => engine/src/flutter/docs}/flutter_logo.png (100%) rename {docs/engine => engine/src/flutter/docs}/rbe/luci.png (100%) diff --git a/docs/engine/rbe/rbe.md b/docs/engine/rbe/rbe.md index f933cfd5350f6..ff94c641c93a3 100644 --- a/docs/engine/rbe/rbe.md +++ b/docs/engine/rbe/rbe.md @@ -1,5 +1,6 @@ # RBE for Flutter Engine Developers +g ## Overview This is documentation on setting up RBE for building the Flutter engine. It is @@ -211,7 +212,7 @@ The logs for RBE live under the system `/tmp` folder in the files `/tmp/reproxy. In CI runs, the RBE logs are also available by following the links as in the screenshot below under `teardown remote execution > collect rbe logs`: -![LUCI logs links](luci.png "LUCI logs links") +![LUCI logs links](../../engine/src/flutter/docs/rbe/luci.png "LUCI logs links") ### Dependency analysis failures diff --git a/docs/engine/Doxyfile.template b/engine/src/flutter/docs/Doxyfile.template similarity index 100% rename from docs/engine/Doxyfile.template rename to engine/src/flutter/docs/Doxyfile.template diff --git a/docs/engine/flutter_logo.png b/engine/src/flutter/docs/flutter_logo.png similarity index 100% rename from docs/engine/flutter_logo.png rename to engine/src/flutter/docs/flutter_logo.png diff --git a/docs/engine/rbe/luci.png b/engine/src/flutter/docs/rbe/luci.png similarity index 100% rename from docs/engine/rbe/luci.png rename to engine/src/flutter/docs/rbe/luci.png From 9757e9d0a1845a902c8ca382c913eec985c1aa0e Mon Sep 17 00:00:00 2001 From: John McDole Date: Fri, 12 Sep 2025 14:39:38 -0700 Subject: [PATCH 8/9] Trailing spaces --- docs/engine/impeller/docs/android.md | 7 +++---- docs/engine/impeller/docs/babys_first_triangle.md | 1 - docs/engine/impeller/docs/faq.md | 1 - 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/docs/engine/impeller/docs/android.md b/docs/engine/impeller/docs/android.md index 754893e20a4f8..9860e2ded23d7 100644 --- a/docs/engine/impeller/docs/android.md +++ b/docs/engine/impeller/docs/android.md @@ -18,12 +18,12 @@ flowchart TD vulkan_exts{Vulkan Supports Extensions} vulkan[Use Vulkan Backend] opengl[Use OpenGL Backend] - + start-->device_support - + device_support-->|Yes|android_api device_support-->|No|opengl - + android_api-->|>= Android 29|vulkan_version android_api-->|< Android 29|opengl @@ -88,4 +88,3 @@ There are no issues with SurfaceTextures when using the GLES backend. We do not currently support rendering these textures when using the Vulkan backend. Supporting this will require adding support for importing GL textures into Vulkan textures which will have performance implications. - diff --git a/docs/engine/impeller/docs/babys_first_triangle.md b/docs/engine/impeller/docs/babys_first_triangle.md index 83df3588d2c1b..57bce9da7a557 100644 --- a/docs/engine/impeller/docs/babys_first_triangle.md +++ b/docs/engine/impeller/docs/babys_first_triangle.md @@ -273,4 +273,3 @@ And with that, you should see animated triangle shading. ## Conclusion You have learned how to draw a triangle, modify its vertices, access varying information in the fragment shader, and specify uniform data to your shaders. You'll find that its somewhat annoying that you can't color outside the confines of your triangle. So add more, the rest is Flutter doesn't do anything more (conceptually) complicated. - diff --git a/docs/engine/impeller/docs/faq.md b/docs/engine/impeller/docs/faq.md index 4cf4dbda80c8d..4286eef17b9dd 100644 --- a/docs/engine/impeller/docs/faq.md +++ b/docs/engine/impeller/docs/faq.md @@ -313,7 +313,6 @@ flowchart TD OpenGL --> GraphicsHardware Metal --> GraphicsHardware Vulkan --> GraphicsHardware - ``` WebGPU, or Dawn/wgpu.rs in JS garb, purports to be a sensible and portable abstraction layer over the [client APIs](https://dawn.googlesource.com/dawn/+/HEAD/docs/support.md). For middleware, that presents an interesting value proposition. Instead of doing mostly the same thing multiple times, you just target one API and let the WebGPU library take care of the rest. From 41e49a1125ac7a625bd1a0ac0e8aa83fb4e83b02 Mon Sep 17 00:00:00 2001 From: John McDole Date: Mon, 15 Sep 2025 08:31:06 -0700 Subject: [PATCH 9/9] fix: restory gen_docs.py after move --- engine/src/flutter/tools/gen_docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/tools/gen_docs.py b/engine/src/flutter/tools/gen_docs.py index 60f65e59d5545..7985cfa02db16 100755 --- a/engine/src/flutter/tools/gen_docs.py +++ b/engine/src/flutter/tools/gen_docs.py @@ -49,7 +49,7 @@ def generate_doxyfile(section, output_dir, log_file, doxy_file): - doxyfile = open('../../../docs/engine/Doxyfile.template', 'r').read() + doxyfile = open('docs/Doxyfile.template', 'r').read() doxyfile = doxyfile.replace('@@OUTPUT_DIRECTORY@@', output_dir) doxyfile = doxyfile.replace('@@LOG_FILE@@', log_file) doxyfile = doxyfile.replace('@@INPUT_DIRECTORIES@@', '"{}"'.format('" "'.join(section.inputs)))