Documentation
¶
Overview ¶
Command spec2go generates Go source code from YAML spec files.
It reads spec files produced by aidl2spec, converts them back to the parser AST types, and feeds them through the existing codegen.Generator to produce identical Go output without requiring AIDL source files.
Usage:
spec2go -specs specs/ -output . [-smoke-tests] [-codes-output binder/versionaware/codes_gen.go] [-default-api 36]
Click to show internal directories.
Click to hide internal directories.