[gn build] Port some of 07af0e2d3e84
authorNico Weber <thakis@chromium.org>
Sun, 18 Dec 2022 12:15:02 +0000 (07:15 -0500)
committerNico Weber <thakis@chromium.org>
Sun, 18 Dec 2022 12:21:54 +0000 (07:21 -0500)
Enough to get the build fixed, but doesn't add the plugin yet, so the test
fails for now.

llvm/utils/gn/secondary/llvm/unittests/Analysis/BUILD.gn

index 6818c88..19861fa 100644 (file)
@@ -5,7 +5,9 @@ unittest("AnalysisTests") {
     "//llvm/lib/Analysis",
     "//llvm/lib/AsmParser",
     "//llvm/lib/IR",
+    "//llvm/lib/Passes",
     "//llvm/lib/Support",
+    "//llvm/lib/Testing/Support",
     "//llvm/lib/Transforms/Utils",
   ]
   sources = [
@@ -37,6 +39,7 @@ unittest("AnalysisTests") {
     "MemoryProfileInfoTest.cpp",
     "MemorySSATest.cpp",
     "PhiValuesTest.cpp",
+    "PluginInlineAdvisorAnalysisTest.cpp",
     "ProfileSummaryInfoTest.cpp",
     "ScalarEvolutionTest.cpp",
     "SparsePropagation.cpp",