tree: fa039c0fa701a37d304baa67421ffa54e92760d7 [path history] [tgz]
  1. BUILD.gn
  2. README.md
  3. components.gni
  4. fuchsia_component.gni
  5. fuchsia_package.gni
  6. fuchsia_package_with_single_component.gni
  7. fuchsia_test.gni
  8. fuchsia_test_package.gni
  9. fuchsia_unittest_component.gni
  10. fuchsia_unittest_package.gni
  11. tests/
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.