23 lines · plain
1static_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 = [11 "AArch64MCPlusBuilder.cpp",12 "AArch64MCSymbolizer.cpp",13 ]14 15 # This target reaches into the internal headers of LLVM's AArch64 library.16 # That target doesn't expect that, so it doesn't use public_deps for17 # tblgen-generated headers used only in internal headers (...which this18 # target here questionably includes). So depend on the target that generates19 # those headers here.20 include_dirs = [ "//llvm/lib/Target/AArch64" ]21 deps += [ "//llvm/lib/Target/AArch64/Utils" ]22}23