add_lldb_unittest(TargetTests
  ABITest.cpp
  DynamicRegisterInfoTest.cpp
  ExecutableModuleTest.cpp
  ExecutionContextTest.cpp
  LanguageTest.cpp
  LocateModuleCallbackTest.cpp
  MemoryRegionInfoTest.cpp
  MemoryTest.cpp
  MemoryTagMapTest.cpp
  ModuleCacheTest.cpp
  PathMappingListTest.cpp
  ProcessPropertiesTest.cpp
  ReExportedSymbolTest.cpp
  RegisterTypeBuilderClangTest.cpp
  RemoteAwarePlatformTest.cpp
  ScratchTypeSystemTest.cpp
  StackFrameListTest.cpp
  StackFrameRecognizerTest.cpp
  SummaryStatisticsTest.cpp
  TargetAPIMutexTest.cpp
  TargetGroupTest.cpp
  FindFileTest.cpp

  LINK_COMPONENTS
      Option
      Support
  LINK_LIBS
      lldbCommands
      lldbCore
      lldbHost
      lldbInterpreter
      lldbPluginObjectFileBreakpad
      lldbPluginObjectFileELF
      lldbPluginObjectFileMachO
      lldbPluginPlatformLinux
      lldbPluginPlatformMacOSX
      lldbPluginPlatformAndroid
      lldbPluginProcessUtility
      lldbPluginRegisterTypeBuilderClang
      lldbPluginScriptInterpreterNone
      lldbPluginSymbolFileBreakpad
      lldbPluginSymbolFileDWARF
      lldbPluginSymbolFileSymtab
      lldbPluginTypeSystemClang
      lldbTarget
      lldbSymbol
      lldbUtility
      lldbUtilityHelpers
      LLVMTestingSupport
  )

set(test_inputs
  AndroidModule.so
  AndroidModule.so.sym
  AndroidModule.unstripped.so
  TestModule.so
  inlined-function.yaml
  )
add_unittest_inputs(TargetTests "${test_inputs}")
