tree: 64d8ead0760fbbfd01d7531825c2f2a918a6910e [path history] [tgz]
  1. bazel/
  2. common/
  3. dart-pub/
  4. foundation/
  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++ workspace;
  • dart-pub/: creates a Dart SDK that integrates with a pub environment;
  • foundation/: creates a low-level C/C++ SDK.

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