GN templates for defining Fuchsia components and packages for production and testing.
See: [https://fuchsia.dev/fuchsia-src/development/components/build]
Add this line to your BUILD.gn
file:
import("//src/sys/build/components.gni")
See the tests under tests/
for usage examples. See individual .gni
files for more details.