1static_library("Profile") { 2 output_name = "LLVMBOLTProfile" 3 configs += [ "//llvm/utils/gn/build:bolt_code" ] 4 deps = [ 5 "//bolt/lib/Core", 6 "//bolt/lib/Passes", 7 "//bolt/lib/Utils", 8 "//llvm/lib/Support", 9 ] 10 sources = [ 11 "BoltAddressTranslation.cpp", 12 "DataAggregator.cpp", 13 "DataReader.cpp", 14 "Heatmap.cpp", 15 "ProfileReaderBase.cpp", 16 "YAMLProfileReader.cpp", 17 "YAMLProfileWriter.cpp", 18 ] 19} 20