Files
sdk/runtime/llvm_codegen/bit/BUILD.gn
T
asiva e33d023fa0 [BUILD] - Format gn files, this is being done to ensure the unfork CL
doesn't show these formatting changes as diffs.

Change-Id: I69ccbf4adabc66d88371cece785a2c1bce60f133
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/138962
Reviewed-by: Ryan Macnak <rmacnak@google.com>
2020-03-10 21:56:11 +00:00

33 lines
895 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)
clang_dir = rebase_path("//buildtools/linux-x64/clang/bin")
defines = [
"BIT_BINARY_DIR=\"$root_dir\"",
"BIT_CLANG_DIR=\"$clang_dir\"",
]
deps = [ "../../../third_party/llvm:LLVMSupport" ]
data_deps = [ "../codegen" ]
}
source_set("test") {
sources = [ "test.cc" ]
root_dir = rebase_path(root_out_dir)
clang_dir = rebase_path("//buildtools/linux-x64/clang/bin")
defines = [
"BIT_BINARY_DIR=\"$root_dir\"",
"BIT_CLANG_DIR=\"$clang_dir\"",
]
deps = [ "../../../third_party/llvm:LLVMSupport" ]
include_dirs = [ "//runtime" ]
defines += [ "TESTING" ]
}