tree: ab73b2d453502561e3a06f2a31d1c3d25b7810d0 [path history] [tgz]
  1. cpp/
  2. meta/
  3. rust/
  4. BUILD.gn
  5. README.md
examples/components/realm_builder/README.md

Realm Builder Examples

The following directory hosts example of usages of the Realm Builder library. This is primarily for code references used in the official docs (found at //development/components/v2/realm_builder.md), though it serves as a useful guide on its own. The tests are meant to demonstrate compilable code. This means that it will always contain the latest API surface of each of the client libraries. However, the tests are disabled because they construct invalid realms for demonstration purposes.

Building

If these components are not present in your build, they can be added by appending --with //examples to your fx set command. For example:

$ fx set core.x64 --with //examples --with //examples:tests
$ fx build

Testing

Run the tests for cpp using the realm-builder-examples package.

$ fx test realm-builder-examples