[llvm] 10c18ab - [gn] port dbae7176a6ec (LLVMTelemetry)

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 24 05:18:21 PST 2024


Author: Nico Weber
Date: 2024-12-24T08:18:09-05:00
New Revision: 10c18ab7e6c46d9daeb558d47be1f06c53c5ed0e

URL: https://github.com/llvm/llvm-project/commit/10c18ab7e6c46d9daeb558d47be1f06c53c5ed0e
DIFF: https://github.com/llvm/llvm-project/commit/10c18ab7e6c46d9daeb558d47be1f06c53c5ed0e.diff

LOG: [gn] port dbae7176a6ec (LLVMTelemetry)

Added: 
    llvm/utils/gn/secondary/llvm/lib/Telemetry/BUILD.gn
    llvm/utils/gn/secondary/llvm/unittests/Telemetry/BUILD.gn

Modified: 
    llvm/utils/gn/secondary/llvm/unittests/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/llvm/lib/Telemetry/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Telemetry/BUILD.gn
new file mode 100644
index 00000000000000..82c1152c1eea3b
--- /dev/null
+++ b/llvm/utils/gn/secondary/llvm/lib/Telemetry/BUILD.gn
@@ -0,0 +1,5 @@
+static_library("Telemetry") {
+  output_name = "LLVMTelemetry"
+  deps = [ "//llvm/lib/Support" ]
+  sources = [ "Telemetry.cpp" ]
+}

diff  --git a/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
index 95279099fa53b4..78875ea9810228 100644
--- a/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
@@ -50,6 +50,7 @@ group("unittests") {
     "TableGen:TableGenTests",
     "Target:TargetMachineCTests",
     "TargetParser:TargetParserTests",
+    "Telemetry:TelemetryTests",
     "Testing/ADT:TestingADTTests",
     "Testing/Support:TestingSupportTests",
     "TextAPI:TextAPITests",

diff  --git a/llvm/utils/gn/secondary/llvm/unittests/Telemetry/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/Telemetry/BUILD.gn
new file mode 100644
index 00000000000000..47ecf352256e61
--- /dev/null
+++ b/llvm/utils/gn/secondary/llvm/unittests/Telemetry/BUILD.gn
@@ -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" ]
+}


        


More information about the llvm-commits mailing list