<commit_before>if(SWIFT_SOURCEKIT_USE_INPROC_LIBRARY)
  set(EXTRA_COMPILE_FLAGS "-I" "${SOURCEKITD_SOURCE_DIR}/include/sourcekitd")
  set(SOURCEKITD_LINK_LIBS sourcekitdInProc)
  set(INSTALLED_COMP sourcekit-inproc)
  set(DEPENDS_LIST "sourcekitd-test" "sourcekitdInProc")
else()
  set(EXTRA_COMPILE_FLAGS "-F" "${SWIFT_LIBRARY_OUTPUT_INTDIR}")
  set(SOURCEKITD_LINK_LIBS sourcekitd)
  set(INSTALLED_COMP sourcekit-xpc-service)
  set(DEPENDS_LIST "sourcekitd-test")
endif()

add_swift_library(swiftSwiftLang SHARED
  SwiftLang.swift
  SourceKitdClient.swift
  SourceKitdRequest.swift
  SourceKitdResponse.swift
  SourceKitdUID.swift
  UIDs.swift.gyb

  DEPENDS ${DEPENDS_LIST}
  PRIVATE_LINK_LIBRARIES ${SOURCEKITD_LINK_LIBS}
  SWIFT_COMPILE_FLAGS ${EXTRA_COMPILE_FLAGS}
  INSTALL_IN_COMPONENT ${INSTALLED_COMP}
  TARGET_SDKS ${SOURCEKIT_DEFAULT_TARGET_SDK}
  IS_STDLIB)
<commit_msg>SourceKit: fix a missing cmake dependency of swiftLang on Darwin<commit_after>if(SWIFT_SOURCEKIT_USE_INPROC_LIBRARY)
  set(EXTRA_COMPILE_FLAGS "-I" "${SOURCEKITD_SOURCE_DIR}/include/sourcekitd")
  set(SOURCEKITD_LINK_LIBS sourcekitdInProc)
  set(INSTALLED_COMP sourcekit-inproc)
  set(DEPENDS_LIST "sourcekitd-test" "sourcekitdInProc")
else()
  set(EXTRA_COMPILE_FLAGS "-F" "${SWIFT_LIBRARY_OUTPUT_INTDIR}")
  set(SOURCEKITD_LINK_LIBS sourcekitd)
  set(INSTALLED_COMP sourcekit-xpc-service)
  set(DEPENDS_LIST "sourcekitd-test")
endif()

add_swift_library(swiftSwiftLang SHARED
  SwiftLang.swift
  SourceKitdClient.swift
  SourceKitdRequest.swift
  SourceKitdResponse.swift
  SourceKitdUID.swift
  UIDs.swift.gyb

  DEPENDS ${DEPENDS_LIST}
  SWIFT_MODULE_DEPENDS_OSX Darwin
  PRIVATE_LINK_LIBRARIES ${SOURCEKITD_LINK_LIBS}
  SWIFT_COMPILE_FLAGS ${EXTRA_COMPILE_FLAGS}
  INSTALL_IN_COMPONENT ${INSTALLED_COMP}
  TARGET_SDKS ${SOURCEKIT_DEFAULT_TARGET_SDK}
  IS_STDLIB)

{'fraction_non_alphanumeric': 0.08481901674770394, 'fraction_numerical': 0.0, 'mean_word_length': 7.735849056603773, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5146343', 'n_tokens_mistral': 762, 'n_tokens_neox': 727, 'n_words': 93}