From 110ff1c353902f618a7491ed95ef947ec611a54e Mon Sep 17 00:00:00 2001 From: Pritesh Nandgaonkar Date: Tue, 26 Jun 2018 07:19:44 -0700 Subject: [PATCH] Package prebuilt libraries in android target (#105) Summary: package prebuilt libraries in `:android` rather than in sample app Closes https://github.com/facebook/Sonar/pull/105 Reviewed By: passy Differential Revision: D8639064 Pulled By: priteshrnandgaonkar fbshipit-source-id: 4da20b046e2e55f0f605f91bf8809a4efd6848d9 --- android/build.gradle | 3 +++ android/sample/build.gradle | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index 646f672ad..6ece2d6a0 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -224,6 +224,9 @@ android { res { srcDir 'res' } + jniLibs { + srcDir 'third-party/OpenSSL/libs' + } } } externalNativeBuild { diff --git a/android/sample/build.gradle b/android/sample/build.gradle index 920ed6d87..d71f90f3f 100644 --- a/android/sample/build.gradle +++ b/android/sample/build.gradle @@ -22,7 +22,6 @@ android { res { srcDir 'res' } - jniLibs.srcDirs = ['../third-party/OpenSSL/libs'] } }