tree: 6396fa4ae6d8dadb6a51a2f39331b786dd087073 [path history] [tgz]
  1. bazel/
  2. common/
  3. dart-pub/
  4. merger/
  5. tools/
  6. MAINTAINERS
  7. README.md
sdk/README.md

SDK frontends

This directory contains frontends to the SDK pipeline:

  • bazel/: creates a C/C++/Dart/Flutter Bazel workspace;
  • dart-pub/: creates a Dart SDK that integrates with a pub environment.

In addition, the common/ directory provides plumbing shared by all frontends, and tools/ contains various tools to work with SDK manifests.

Generating

To generate an SDK, first build an SDK package, for example:

$ fx set x64 out/sdk-x64 --packages topaz/packages/sdk/topaz
$ fx full-build

Then run the generate.py script against the SDK manifest, for example:

./scripts/sdk/bazel/generate.py --manifest out/sdk-x64/sdk-manifests/topaz --output /tmp/bazel_sdk