From b96f6e339f3f7527464db77628278f11d9fcb036 Mon Sep 17 00:00:00 2001 From: Marc Horowitz Date: Tue, 7 Jul 2020 19:35:34 -0700 Subject: [PATCH] Include unstripped libraries in github release tarball Summary: This doesn't require including the new (large, about 180mb) artifacts in the npms, but the npm needs to correspond do the github release. Documentation will be added later once the npms have been updated Reviewed By: dulinriley Differential Revision: D22402203 fbshipit-source-id: 1f4a3ea9d318eea2f6058cc86ce43900b095fa20 --- android/hermes/build.gradle | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/android/hermes/build.gradle b/android/hermes/build.gradle index 5de93fa08e5..4f3e2d5365a 100644 --- a/android/hermes/build.gradle +++ b/android/hermes/build.gradle @@ -90,5 +90,21 @@ android { file("$aarDir/hermes.aar").renameTo("${rootProject.ext.outputDir}/hermes-release.aar") } } + tasks.named("transformNativeLibsWithMergeJniLibsForDebug").configure { + doLast { task -> + copy { + from(task) + into("${rootProject.ext.outputDir}/unstripped-debug") + } + } + } + tasks.named("transformNativeLibsWithMergeJniLibsForRelease").configure { + doLast { task -> + copy { + from(task) + into("${rootProject.ext.outputDir}/unstripped-release") + } + } + } } }