Create a demonstrative `Hello World` component.

This POC shows the current state of the bazel sdk and outlines some of
the work necessary to merge the different bazel sdk approaches.

Tested with the following commands: ```
bazel build --config=fuchsia_x64 //src/examples:examples_repository
ffx repository add-from-pm -r bazel-bin/src/examples/
ffx target reboot
ffx target repository register -r
ffx component run fuchsia-pkg:// --recreate

Bug: 90066

Change-Id: Id2c1b6f971634217e3ced599163bdeb8dd3abb6b
10 files changed
tree: 993d43db9512fee1776b9984f73713e919fe98ec
  1. scripts/
  2. src/
  3. tools/
  4. vendor/
  5. .bazelrc
  6. .bazelversion
  7. .gitignore
  8. .gitmodules
  12. OWNERS
  15. WORKSPACE.bazel


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


Run scripts/ 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"