File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,19 @@ endif()
109
109
110
110
if (ANDROID )
111
111
firebase_cpp_proguard_file (messaging )
112
+
113
+ # Expose the Messaging Java AAR file as a target
114
+ set (FIREBASE_MESSAGING_JAVA_AAR_PATH
115
+ "${CMAKE_CURRENT_LIST_DIR} /messaging_java/build/outputs/aar/messaging_java.aar" )
116
+ firebase_cpp_gradle (":messaging:messaging_java:assemble"
117
+ "${FIREBASE_MESSAGING_JAVA_AAR_PATH} "
118
+ )
119
+ add_custom_target (firebase_messaging_java_aar
120
+ DEPENDS "${FIREBASE_MESSAGING_JAVA_AAR_PATH} "
121
+ )
122
+ set_target_properties (firebase_messaging_java_aar PROPERTIES
123
+ OBJECT_OUTPUTS "${FIREBASE_MESSAGING_JAVA_AAR_PATH} "
124
+ )
112
125
elseif (IOS )
113
126
# Enable Automatic Reference Counting (ARC) and Bitcode.
114
127
target_compile_options (firebase_messaging
You can’t perform that action at this time.
0 commit comments