tree: bdc6645043d6cea18afc724e8449406dc49a8522 [path history] [tgz]
  1. tests/
  2. BUILD.gn
  3. components.gni
  4. fuchsia_component.gni
  5. fuchsia_package.gni
  6. fuchsia_package_with_single_component.gni
  7. fuchsia_shell_package.gni
  8. fuchsia_test.gni
  9. fuchsia_test_component_manifest.gni
  10. fuchsia_test_package.gni
  11. fuchsia_unittest_component.gni
  12. fuchsia_unittest_package.gni
  13. README.md
src/sys/build/README.md

GN templates for building and testing components.

GN templates for defining Fuchsia components and packages for production and testing.

See: [https://fuchsia.dev/fuchsia-src/development/components/build]

Using

Add this line to your BUILD.gn file:

import("//src/sys/build/components.gni")

Examples

See the tests under tests/ for usage examples. See individual .gni files for more details.