Files
sdk/runtime/llvm_codegen/bit/BUILD.gn
T
Jake Ehrlich 773f8d53ed Reland "[llvm] Add initial scaffolding"
This is a reland of b71d2d9996

Original change's description:
> [llvm] Add initial scaffolding
>
> This change adds the gclient and GN changes needed to build
> an executable using LLVM in the Dart tree as well as a basic
> testing framework based on llvm-lit.
>
> Change-Id: I9009a98ff95043cc3754966f31697ba7f1712310
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/106434
> Commit-Queue: Jake Ehrlich <jakehehrlich@google.com>
> Reviewed-by: Alexander Thomas <athom@google.com>
> Reviewed-by: Vyacheslav Egorov <vegorov@google.com>

Change-Id: I73cd24455c373bcc4d0f5675af6a3b1e0f947f67
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/110683
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2019-07-30 20:34:31 +00:00

32 lines
638 B
Plaintext

# Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
executable("bit") {
sources = [
"main.cc",
]
root_dir = rebase_path(root_out_dir)
defines = [ "LIT_BINARY_DIR=\"$root_dir\"" ]
deps = [
"//third_party/llvm:LLVMSupport",
]
data_deps = [
"//runtime/llvm_codegen/codegen",
]
}
source_set("test") {
sources = [
"test.cc",
]
deps = [
"//third_party/llvm:LLVMSupport",
]
include_dirs = [ "//runtime" ]
defines = [ "TESTING" ]
}