1import("//lldb/utils/TableGen/lldb_tablegen.gni") 2 3lldb_tablegen("TargetProperties") { 4 args = [ "-gen-lldb-property-defs" ] 5} 6 7lldb_tablegen("TargetPropertiesEnum") { 8 args = [ "-gen-lldb-property-enum-defs" ] 9 td_file = "TargetProperties.td" 10} 11 12static_library("Target") { 13 output_name = "lldbTarget" 14 configs += [ "//llvm/utils/gn/build:lldb_code" ] 15 deps = [ 16 ":TargetProperties", 17 ":TargetPropertiesEnum", 18 19 #"//lldb/source/Breakpoint", # FIXME: Dependency cycle 20 "//lldb/source/Core", 21 "//lldb/source/Core", 22 "//lldb/source/Expression", 23 "//lldb/source/Host", 24 "//lldb/source/Interpreter", 25 "//lldb/source/Plugins/Process/Utility", 26 "//lldb/source/Symbol", 27 "//lldb/source/Utility", 28 "//llvm/lib/MC", 29 "//llvm/lib/Support", 30 ] 31 include_dirs = [ ".." ] # FIXME: Reaches into Plugins internals. 32 sources = [ 33 "ABI.cpp", 34 "AssertFrameRecognizer.cpp", 35 "DynamicRegisterInfo.cpp", 36 "ExecutionContext.cpp", 37 "InstrumentationRuntime.cpp", 38 "InstrumentationRuntimeStopInfo.cpp", 39 "JITLoader.cpp", 40 "JITLoaderList.cpp", 41 "Language.cpp", 42 "LanguageRuntime.cpp", 43 "Memory.cpp", 44 "MemoryHistory.cpp", 45 "MemoryRegionInfo.cpp", 46 "ModuleCache.cpp", 47 "OperatingSystem.cpp", 48 "PathMappingList.cpp", 49 "Platform.cpp", 50 "Process.cpp", 51 "ProcessTrace.cpp", 52 "Queue.cpp", 53 "QueueItem.cpp", 54 "QueueList.cpp", 55 "RegisterContext.cpp", 56 "RegisterContextUnwind.cpp", 57 "RegisterNumber.cpp", 58 "RemoteAwarePlatform.cpp", 59 "SectionLoadHistory.cpp", 60 "SectionLoadList.cpp", 61 "StackFrame.cpp", 62 "StackFrameList.cpp", 63 "StackFrameRecognizer.cpp", 64 "StackID.cpp", 65 "StopInfo.cpp", 66 "StructuredDataPlugin.cpp", 67 "SystemRuntime.cpp", 68 "Target.cpp", 69 "TargetList.cpp", 70 "Thread.cpp", 71 "ThreadCollection.cpp", 72 "ThreadList.cpp", 73 "ThreadPlan.cpp", 74 "ThreadPlanBase.cpp", 75 "ThreadPlanCallFunction.cpp", 76 "ThreadPlanCallFunctionUsingABI.cpp", 77 "ThreadPlanCallOnFunctionExit.cpp", 78 "ThreadPlanCallUserExpression.cpp", 79 "ThreadPlanPython.cpp", 80 "ThreadPlanRunToAddress.cpp", 81 "ThreadPlanShouldStopHere.cpp", 82 "ThreadPlanStack.cpp", 83 "ThreadPlanStepInRange.cpp", 84 "ThreadPlanStepInstruction.cpp", 85 "ThreadPlanStepOut.cpp", 86 "ThreadPlanStepOverBreakpoint.cpp", 87 "ThreadPlanStepOverRange.cpp", 88 "ThreadPlanStepRange.cpp", 89 "ThreadPlanStepThrough.cpp", 90 "ThreadPlanStepUntil.cpp", 91 "ThreadPlanTracer.cpp", 92 "ThreadSpec.cpp", 93 "Trace.cpp", 94 "TraceCursor.cpp", 95 "TraceExporter.cpp", 96 "TraceInstructionDumper.cpp", 97 "UnixSignals.cpp", 98 "UnwindAssembly.cpp", 99 "UnwindLLDB.cpp", 100 ] 101} 102