1static_library("RuntimeLibs") { 2 output_name = "LLVMBOLTRuntimeLibs" 3 configs += [ "//llvm/utils/gn/build:bolt_code" ] 4 deps = [ 5 "//bolt/include/bolt/RuntimeLibs:RuntimeLibraryVariables", 6 "//bolt/lib/Core", 7 "//bolt/lib/Passes", 8 "//bolt/lib/Utils", 9 "//llvm/lib/BinaryFormat", 10 "//llvm/lib/ExecutionEngine/JITLink", 11 "//llvm/lib/MC", 12 "//llvm/lib/Object", 13 "//llvm/lib/Support", 14 ] 15 include_dirs = [ target_gen_dir ] 16 sources = [ 17 "HugifyRuntimeLibrary.cpp", 18 "InstrumentationRuntimeLibrary.cpp", 19 "RuntimeLibrary.cpp", 20 ] 21 22 # FIXME: Hopefully change this, see 23 # https://github.com/llvm/llvm-project/pull/97130/files#r1691863361 24 defines = [ "CMAKE_INSTALL_FULL_LIBDIR=\"\"" ] 25} 26