From 2a7ccb11e84ad7905bf44b9f2964f4d04e19a74d Mon Sep 17 00:00:00 2001 From: Svyatoslav Scherbina Date: Thu, 18 Mar 2021 13:36:37 +0300 Subject: [PATCH] Native compiler: remove unused dependency on common/src/hash --- kotlin-native/backend.native/build.gradle | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/kotlin-native/backend.native/build.gradle b/kotlin-native/backend.native/build.gradle index 562928288e2..3528d2c8550 100644 --- a/kotlin-native/backend.native/build.gradle +++ b/kotlin-native/backend.native/build.gradle @@ -55,22 +55,6 @@ kotlinNativeInterop { linkerOpts "-L$llvmDir/lib", "-L${rootProject.project(':kotlin-native:llvmDebugInfoC').buildDir}", "-L${rootProject.project(':kotlin-native:llvmCoverageMappingC').buildDir}" } - hash { // TODO: copy-pasted from ':common:compileHash' - if (!rootProject.project(":kotlin-native").convention.plugins.platformInfo.isWindows()) { - compilerOpts '-fPIC' - linkerOpts '-fPIC' - } - linker 'clang++' - linkOutputs ":kotlin-native:common:${hostName}Hash" - - headers fileTree('../common/src/hash/headers') { - include '**/*.h' - include '**/*.hpp' - } - - pkg 'org.jetbrains.kotlin.backend.konan.hash' - } - files { if (!project.project(":kotlin-native").convention.plugins.platformInfo.isWindows()) { compilerOpts '-fPIC' @@ -153,7 +137,6 @@ dependencies { } compilerCompile kotlinNativeInterop['llvm'].configuration - compilerCompile kotlinNativeInterop['hash'].configuration compilerCompile kotlinNativeInterop['files'].configuration @@ -240,7 +223,6 @@ task run { jar { from sourceSets.cli_bc.output, sourceSets.compiler.output, - sourceSets.hashInteropStubs.output, sourceSets.filesInteropStubs.output, sourceSets.llvmInteropStubs.output