Use cpu-aware clang dist target.

See https://fxrev.dev/639941.

Bug: 90066
Change-Id: I7f4e1b78ba5f00206261c10e4cf9ec1b4c3c2860
2 files changed
tree: 7a22bac9bdca342bc2ccb6cebaccbb28a4d651c8
  1. scripts/
  2. src/
  3. tools/
  4. vendor/
  5. .bazelrc
  6. .bazelversion
  7. .gitignore
  8. .gitmodules
  9. AUTHORS
  10. CONTRIBUTING.md
  11. LICENSE
  12. OWNERS
  13. PATENTS
  14. README.md
  15. WORKSPACE.bazel
README.md

flutter-embedder.git

The Flutter & Dart embedders (FDE) repo holds the source code for building the Fuchsia-specific Flutter & Dart embedders outside of fuchsia.git.

This repository is a work in progress and should be considered experimental.

Fetch submodules

This project uses git submodules. After checking out a branch run the git submodule command to update the dependencies.

git submodule update --init --recursive

Bootstrap

Run scripts/bootstrap.sh to fetch the fuchsia sdk and generate part of the bazel sdk. This will allow c++ components to be built.

The FDE repository uses Bazel as its build system. To ensure that you are using the version of Bazel that was tested in CQ/CI we recommend using bazelisk. You can either add bazelisk to your path or invoke it directly.

# Assumes that FDE_REPO is set to your checkout directory
export PATH="${FDE_REPO}/tools/bazel:$PATH"