# Copyright 2018 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. | |
assert(current_toolchain == host_toolchain, | |
"LLVM TableGen should only be referenced from the host toolchain.") | |
static_library("TableGen") { | |
sources = [ | |
"Error.cpp", | |
"Main.cpp", | |
"Record.cpp", | |
"SetTheory.cpp", | |
"StringMatcher.cpp", | |
"TGLexer.cpp", | |
"TGParser.cpp", | |
"TableGenBackend.cpp", | |
] | |
public_deps = [ | |
"../Support", | |
] | |
} |