From edc88c67daed3d2db440255a91680d6cd6a1d127 Mon Sep 17 00:00:00 2001 From: Svyatoslav Scherbina Date: Thu, 13 Oct 2016 17:20:36 +0300 Subject: [PATCH] backend.native: include interop with :common:hash --- backend.native/build.gradle | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/backend.native/build.gradle b/backend.native/build.gradle index 211e0fba13b..dd9f6a901a6 100644 --- a/backend.native/build.gradle +++ b/backend.native/build.gradle @@ -39,11 +39,24 @@ kotlinNativeInterop { compilerOpts "-I$llvmInstallPath/include" linkerOpts "-L$llvmInstallPath/lib" } + + hash { // TODO: copy-pasted from ':common:compileHash' + linker 'clang++' + linkOutputs ':common:compileHash' + + headers fileTree('../common/src/hash/headers') { + include '**/*.h' + include '**/*.hpp' + } + + pkg 'org.jetbrains.kotlin.backend.native.hash' + } } dependencies { compilerCompile deps compilerCompile kotlinNativeInterop['llvm'] + compilerCompile kotlinNativeInterop['hash'] cli_bcCompile deps cli_bcCompile sourceSets.compiler.output