tree: f8ad28b34e5807c7444754fed0c821c5410298db [path history] [tgz]
  1. fuchsia_component.gni
  2. fuchsia_package.gni
  3. fuchsia_package_archive.gni
  4. fuchsia_package_with_single_component.gni
  5. fuchsia_shell_package.gni
  6. fuchsia_structured_config.gni
  7. fuchsia_system_package.gni
  8. fuchsia_test.gni
  9. fuchsia_test_component.gni
  10. fuchsia_test_component_manifest.gni
  11. fuchsia_test_package.gni
  12. fuchsia_unittest_component.gni
  13. fuchsia_unittest_package.gni
  14. METADATA.textproto
  15. OWNERS
  16. README.md
  17. test_component_executable_generator.py
build/components/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("//build/components.gni")

Examples

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