[llvm] 336e367 - [gn build] (manually) port 0c2b43ab8cb1 (X86MCTests)
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 7 10:37:33 PST 2022
Author: Nico Weber
Date: 2022-03-07T13:37:14-05:00
New Revision: 336e3677eac3f0ab7af212505723ef5041bacb6c
URL: https://github.com/llvm/llvm-project/commit/336e3677eac3f0ab7af212505723ef5041bacb6c
DIFF: https://github.com/llvm/llvm-project/commit/336e3677eac3f0ab7af212505723ef5041bacb6c.diff
LOG: [gn build] (manually) port 0c2b43ab8cb1 (X86MCTests)
Added:
llvm/utils/gn/secondary/llvm/unittests/MC/X86/BUILD.gn
Modified:
llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
index 2d6a2a8accb47..0433280d978a1 100644
--- a/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/unittests/BUILD.gn
@@ -93,6 +93,7 @@ group("unittests") {
}
if (llvm_build_X86) {
deps += [
+ "MC/X86:X86MCTests",
"Target/X86:X86Tests",
"tools/llvm-exegesis/X86:LLVMExegesisX86Tests",
]
diff --git a/llvm/utils/gn/secondary/llvm/unittests/MC/X86/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/MC/X86/BUILD.gn
new file mode 100644
index 0000000000000..2c061c7d28719
--- /dev/null
+++ b/llvm/utils/gn/secondary/llvm/unittests/MC/X86/BUILD.gn
@@ -0,0 +1,12 @@
+import("//llvm/utils/unittest/unittest.gni")
+
+unittest("X86MCTests") {
+ deps = [
+ "//llvm/lib/MC",
+ "//llvm/lib/MC/MCDisassembler",
+ "//llvm/lib/Target",
+ "//llvm/lib/Target/X86/MCTargetDesc",
+ "//llvm/lib/Target/X86/Disassembler",
+ ]
+ sources = [ "X86MCDisassemblerTest.cpp" ]
+}
More information about the llvm-commits
mailing list