From f8144700ebc9194d6064ef2b372c1b1bbd351e27 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Thu, 9 Jun 2022 18:07:14 -0400 Subject: [PATCH] [gn build] (manually) port 25c8a061c573 --- .../lldb/source/Plugins/ObjectFile/PECOFF/BUILD.gn | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 84bb4d6..7ace212 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", -- 2.7.4