111 lines · plain
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 += [15 "//llvm/utils/gn/build:clang_code",16 "//llvm/utils/gn/build:lldb_code",17 ]18 deps = [19 ":TargetProperties",20 ":TargetPropertiesEnum",21 22 #"//lldb/source/Breakpoint", # FIXME: Dependency cycle23 "//lldb/source/Core",24 "//lldb/source/Expression",25 "//lldb/source/Host",26 "//lldb/source/Interpreter",27 "//lldb/source/Plugins/Process/Utility",28 "//lldb/source/Symbol",29 "//lldb/source/Utility",30 "//lldb/source/ValueObject",31 "//llvm/lib/MC",32 "//llvm/lib/Support",33 ]34 include_dirs = [ ".." ] # FIXME: Reaches into Plugins internals.35 sources = [36 "ABI.cpp",37 "AssertFrameRecognizer.cpp",38 "CoreFileMemoryRanges.cpp",39 "DynamicRegisterInfo.cpp",40 "ExecutionContext.cpp",41 "InstrumentationRuntime.cpp",42 "InstrumentationRuntimeStopInfo.cpp",43 "JITLoader.cpp",44 "JITLoaderList.cpp",45 "Language.cpp",46 "LanguageRuntime.cpp",47 "Memory.cpp",48 "MemoryHistory.cpp",49 "MemoryRegionInfo.cpp",50 "MemoryTagMap.cpp",51 "ModuleCache.cpp",52 "OperatingSystem.cpp",53 "PathMappingList.cpp",54 "Platform.cpp",55 "Process.cpp",56 "ProcessTrace.cpp",57 "Queue.cpp",58 "QueueItem.cpp",59 "QueueList.cpp",60 "RegisterContext.cpp",61 "RegisterContextUnwind.cpp",62 "RegisterFlags.cpp",63 "RegisterNumber.cpp",64 "RemoteAwarePlatform.cpp",65 "ScriptedThreadPlan.cpp",66 "SectionLoadHistory.cpp",67 "SectionLoadList.cpp",68 "StackFrame.cpp",69 "StackFrameList.cpp",70 "StackFrameRecognizer.cpp",71 "StackID.cpp",72 "Statistics.cpp",73 "StopInfo.cpp",74 "StructuredDataPlugin.cpp",75 "SyntheticFrameProvider.cpp",76 "SystemRuntime.cpp",77 "Target.cpp",78 "TargetList.cpp",79 "Thread.cpp",80 "ThreadCollection.cpp",81 "ThreadList.cpp",82 "ThreadPlan.cpp",83 "ThreadPlanBase.cpp",84 "ThreadPlanCallFunction.cpp",85 "ThreadPlanCallFunctionUsingABI.cpp",86 "ThreadPlanCallOnFunctionExit.cpp",87 "ThreadPlanCallUserExpression.cpp",88 "ThreadPlanRunToAddress.cpp",89 "ThreadPlanShouldStopHere.cpp",90 "ThreadPlanSingleThreadTimeout.cpp",91 "ThreadPlanStack.cpp",92 "ThreadPlanStepInRange.cpp",93 "ThreadPlanStepInstruction.cpp",94 "ThreadPlanStepOut.cpp",95 "ThreadPlanStepOverBreakpoint.cpp",96 "ThreadPlanStepOverRange.cpp",97 "ThreadPlanStepRange.cpp",98 "ThreadPlanStepThrough.cpp",99 "ThreadPlanStepUntil.cpp",100 "ThreadPlanTracer.cpp",101 "ThreadSpec.cpp",102 "Trace.cpp",103 "TraceCursor.cpp",104 "TraceDumper.cpp",105 "TraceExporter.cpp",106 "UnixSignals.cpp",107 "UnwindAssembly.cpp",108 "UnwindLLDB.cpp",109 ]110}111