[gn] port dbae7176a6ec (LLVMTelemetry)

This commit is contained in:
Nico Weber 2024-12-24 08:18:09 -05:00
parent c858bf620c
commit 10c18ab7e6
3 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,5 @@
static_library("Telemetry") {
output_name = "LLVMTelemetry"
deps = [ "//llvm/lib/Support" ]
sources = [ "Telemetry.cpp" ]
}

View File

@ -50,6 +50,7 @@ group("unittests") {
"TableGen:TableGenTests",
"Target:TargetMachineCTests",
"TargetParser:TargetParserTests",
"Telemetry:TelemetryTests",
"Testing/ADT:TestingADTTests",
"Testing/Support:TestingSupportTests",
"TextAPI:TextAPITests",

View File

@ -0,0 +1,10 @@
import("//third-party/unittest/unittest.gni")
unittest("TelemetryTests") {
deps = [
"//llvm/lib/IR",
"//llvm/lib/Support",
"//llvm/lib/Telemetry",
]
sources = [ "TelemetryTest.cpp" ]
}