tree: c1b980817bc18b8e00a1d2954485a6602fa30ce9 [path history] [tgz]
  1. fuchsia_asset_builder/
  2. fuchsia_attach/
  3. fuchsia_builder/
  4. fuchsia_tester/
  5. README.md
packages/flutter_tools/fuchsia_entrypoint_shim/README.md

This directory serves as a placeholder directory for the package roots of various fuchsia tools which use the flutter_tools library.

This is required to provide a workaround for the fuchsia build system. When this directory is not present the various tools specified in the dart_tool directives in the flutter_tools/BUILD.gn file will end up having the same package root entry written in the .packages file. This causes the build to fail because the dart compiler has a requirement that libraries must have a unique package URI. By specifying a package root which is a subdirectory of this directory for these tools we avoid having the build system create duplicate package roots for the generated libraries for these tools.

Note that we cannot move the location of the main files for these tools because the paths are hardcoded in the fuchsia tree.

Tracking Bugs:

  • fxbug.dev/51373 (move flutter_tools/BUILD.gn to fuchsia repo)
  • fxbug.dev/51375 (do not refence fuchsia_tester.dart directly)
  • fxbug.dev/51375 (remove the fuchsia_entrypoint_shim directory)