| 1 |
static_library("AArch64") { |
| 2 |
output_name = "LLVMBOLTTargetAArch64" |
| 3 |
configs += [ "//llvm/utils/gn/build:bolt_code" ] |
| 4 |
deps = [ |
| 5 |
"//bolt/lib/Core", |
| 6 |
"//llvm/lib/MC", |
| 7 |
"//llvm/lib/Support", |
| 8 |
"//llvm/lib/Target/AArch64/MCTargetDesc", |
| 9 |
] |
| 10 |
sources = [ "AArch64MCPlusBuilder.cpp" ] |
| 11 |
|
| 12 |
# This target reaches into the internal headers of LLVM's AArch64 library. |
| 13 |
# That target doesn't expect that, so it doesn't use public_deps for |
| 14 |
# tblgen-generated headers used only in internal headers (...which this |
| 15 |
# target here questionably includes). So depend on the target that generates |
| 16 |
# those headers here. |
| 17 |
include_dirs = [ "//llvm/lib/Target/AArch64" ] |
| 18 |
deps += [ "//llvm/lib/Target/AArch64/Utils" ] |
| 19 |
} |