blob: bffeb283b34243c9b7e9a6813dff689366d0f985 [file] [log] [blame]
# 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/resolution.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"
}