if (CMAKE_SYSTEM_NAME MATCHES "Darwin")
  add_subdirectory(darwin-debug)
  add_subdirectory(debugserver)
endif()
  add_subdirectory(argdumper)
  add_subdirectory(driver)
if (NOT __ANDROID_NDK__)
  # Skip building lldb-mi on Linux until the following bug is resolved upstream:
  # https://llvm.org/bugs/show_bug.cgi?id=30822
  if (NOT CMAKE_SYSTEM_NAME MATCHES "Linux")
    add_subdirectory(lldb-mi)
  endif()
endif()
if (LLDB_CAN_USE_LLDB_SERVER)
  add_subdirectory(lldb-server)
endif()
add_subdirectory(repl/swift)

if (CMAKE_SYSTEM_NAME MATCHES "Darwin")
  add_subdirectory(darwin-debug)
  add_subdirectory(debugserver)
endif()
  add_subdirectory(argdumper)
  add_subdirectory(driver)
if (NOT __ANDROID_NDK__)
  add_subdirectory(lldb-mi)
endif()
if (LLDB_CAN_USE_LLDB_SERVER)
  add_subdirectory(lldb-server)
endif()
add_subdirectory(repl/swift)

Revert "disable lldb-mi until upstream issue with global constructor is resolved"
Revert "disable lldb-mi until upstream issue with global constructor is resolved"

This reverts commit daa19f2ec90db8bf43c439e028097c77ac2186d5.
