blob: 57dde21ca3c3f0618c0ec1a3bd36fa1499fffaf0 [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package main
import (
"go.fuchsia.dev/fuchsia/tools/fidl/fidlgen_llcpp/codegen"
cpp "go.fuchsia.dev/fuchsia/tools/fidl/lib/fidlgen_cpp"
)
func main() {
flags := cpp.NewCmdlineFlags("llcpp", nil)
fidl := flags.ParseAndLoadIR()
generator := codegen.NewGenerator(flags)
generator.GenerateFiles(fidl, []string{
"Header", "TestBase", "Markers",
"TypesHeader", "TypesSource",
"MessagingHeader", "MessagingSource",
})
}