mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 21:11:28 +07:00
[build scripts] retiring 'breakgen' DLLs (IJPL-16521)
GitOrigin-RevId: 157a10c4642fda81341d3fd11be9435624fa3faa
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7981844b65
commit
7e0193e9e3
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -121,8 +121,6 @@ interface BuildContext : CompilationContext {
|
||||
*/
|
||||
fun getDistFiles(os: OsFamily?, arch: JvmArchitecture?): Collection<DistFile>
|
||||
|
||||
suspend fun includeBreakGenLibraries(): Boolean
|
||||
|
||||
fun patchInspectScript(path: Path)
|
||||
|
||||
/**
|
||||
|
||||
@@ -316,8 +316,6 @@ class BuildContextImpl internal constructor(
|
||||
return copy
|
||||
}
|
||||
|
||||
override suspend fun includeBreakGenLibraries(): Boolean = getBundledPluginModules().contains(JavaPluginLayout.MAIN_MODULE_NAME)
|
||||
|
||||
override fun patchInspectScript(path: Path) {
|
||||
//todo use placeholder in inspect.sh/inspect.bat file instead
|
||||
Files.writeString(path, Files.readString(path).replace(" inspect ", " ${productProperties.inspectCommandName} "))
|
||||
|
||||
@@ -42,11 +42,7 @@ internal class WindowsDistributionBuilder(
|
||||
|
||||
copyDir(sourceBinDir.resolve(arch.dirName), distBinDir)
|
||||
|
||||
val includeBreakGenLibraries = context.includeBreakGenLibraries()
|
||||
copyDir(sourceDir = sourceBinDir, targetDir = distBinDir, dirFilter = { it == sourceBinDir }, fileFilter = { file ->
|
||||
@Suppress("SpellCheckingInspection")
|
||||
includeBreakGenLibraries || !file.name.startsWith("breakgen")
|
||||
})
|
||||
copyDir(sourceBinDir, distBinDir, dirFilter = { it == sourceBinDir })
|
||||
|
||||
copyFileToDir(NativeBinaryDownloader.getRestarter(context, OsFamily.WINDOWS, arch), distBinDir)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user