Skip to content

Commit 81f28c1

Browse files
authored
Merge pull request #249 from firebase/am-messaging-android-package
Add logic to the Android packaging for the messaging aar
2 parents 2344398 + 5e304ae commit 81f28c1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build_scripts/android/package.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,9 @@ for product in ${product_list[*]}; do
5353
done
5454
# Copy the top-level Proguard files in as well.
5555
cp -f "${sourcepath}/${product}/build/Release/${product}.pro" "${destpath}/libs/android/"
56+
# Copy the special messaging aar file, but only if messaging was built.
57+
if [[ "${product}" == "messaging" ]]; then
58+
cp -f "${sourcepath}/messaging/messaging_java/build/outputs/aar/messaging_java-release.aar" "${destpath}/libs/android/firebase_messaging_cpp.aar"
59+
fi
5660
done
5761
cd "${origpath}"

0 commit comments

Comments
 (0)