[llvm] f814470 - [gn build] (manually) port 25c8a061c573

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 9 15:07:19 PDT 2022


Author: Nico Weber
Date: 2022-06-09T18:07:14-04:00
New Revision: f8144700ebc9194d6064ef2b372c1b1bbd351e27

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

LOG: [gn build] (manually) port 25c8a061c573

Added: 
    

Modified: 
    llvm/utils/gn/secondary/lldb/source/Plugins/ObjectFile/PECOFF/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/lldb/source/Plugins/ObjectFile/PECOFF/BUILD.gn b/llvm/utils/gn/secondary/lldb/source/Plugins/ObjectFile/PECOFF/BUILD.gn
index 84bb4d69e1b64..7ace2128b5cea 100644
--- a/llvm/utils/gn/secondary/lldb/source/Plugins/ObjectFile/PECOFF/BUILD.gn
+++ b/llvm/utils/gn/secondary/lldb/source/Plugins/ObjectFile/PECOFF/BUILD.gn
@@ -1,7 +1,20 @@
+import("//lldb/utils/TableGen/lldb_tablegen.gni")
+
+lldb_tablegen("ObjectFilePECOFFProperties") {
+  args = [ "-gen-lldb-property-defs" ]
+}
+
+lldb_tablegen("ObjectFilePECOFFPropertiesEnum") {
+  args = [ "-gen-lldb-property-enum-defs" ]
+  td_file = "ObjectFilePECOFFProperties.td"
+}
+
 static_library("PECOFF") {
   output_name = "lldbPluginObjectFilePECOFF"
   configs += [ "//llvm/utils/gn/build:lldb_code" ]
   deps = [
+    ":ObjectFilePECOFFProperties",
+    ":ObjectFilePECOFFPropertiesEnum",
     "//lldb/source/Core",
     "//lldb/source/Host",
     "//lldb/source/Symbol",


        


More information about the llvm-commits mailing list