tree: c0eb2445fa9c9045c4afd5c42323a46aa35a60eb [path history] [tgz]
  1. tests/
  2. BUILD.gn
  3. components.gni
  4. fuchsia_component.gni
  5. fuchsia_cpp_component.gni
  6. fuchsia_cpp_unittest.gni
  7. fuchsia_package.gni
  8. fuchsia_resources.gni
  9. fuchsia_rust_component.gni
  10. fuchsia_rust_unittest.gni
  11. fuchsia_test.gni
  12. fuchsia_test_package.gni
  13. fuchsia_unittest_internal.gni
  14. 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.