blob: a4d77e699790fe38b05cc720fd944231fe579b77 [file]
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//mojo/go/rules.gni")
go_binary("mojom_parser") {
sources = [
"parser_main.go",
]
inputs = [
"lexer/lexer.go",
"lexer/token_stream.go",
"lexer/tokens.go",
"mojom/computed_data.go",
"mojom/mojom_descriptor.go",
"mojom/scopes.go",
"mojom/types.go",
"mojom/user_defined_types.go",
"parser/parse_driver.go",
"parser/parser.go",
"serialization/serialization.go",
]
deps = [
"//mojo/public/platform/native:system",
]
# Ninja gets confused if the output_binary_name is the same
# as the target name.
output_binary_name = "moparse"
}