Skip to content

Commit d19adb3

Browse files
committed
Google Play is removed from the build
1 parent 6f2eb47 commit d19adb3

File tree

4 files changed

+8
-68
lines changed

4 files changed

+8
-68
lines changed

custom_rules.xml

+1-21
Original file line numberDiff line numberDiff line change
@@ -30,24 +30,6 @@ limitations under the License.
3030
<os family="windows" />
3131
</condition>
3232

33-
<target name="initialize-google-play-games_lib"
34-
description="Initialize Google Play Games library in the project.">
35-
<!-- Copy the library to the project. -->
36-
<!-- Temporarily disable this while we use a debug version of the lib -->
37-
<copy todir="google-play-services_lib">
38-
<fileset dir="${sdk.dir}/extras/google/google_play_services/libproject/google-play-services_lib"/>
39-
</copy>
40-
<!-- Create an ant project for the library. -->
41-
<exec executable="${android_exe}">
42-
<arg value="update"/>
43-
<arg value="project"/>
44-
<arg value="-p"/>
45-
<arg value="google-play-services_lib"/>
46-
<arg value="-t"/>
47-
<arg value="${target}"/>
48-
</exec>
49-
</target>
50-
5133
<target name="initialize-android-support_lib"
5234
description="Initialize Android Support library in the project.">
5335
<!-- Copy the library to the project. -->
@@ -57,8 +39,6 @@ limitations under the License.
5739
</target>
5840

5941
<target name="-pre-build" depends="fplbase.setup-fplbase,
60-
initialize-google-play-games_lib,
6142
initialize-android-support_lib"/>
62-
<target name="-pre-clean" depends="initialize-google-play-games_lib,
63-
initialize-android-support_lib" />
43+
<target name="-pre-clean" depends="initialize-android-support_lib" />
6444
</project>

jni/libs/gpg/Android.mk

-38
This file was deleted.

jni/libs/src/Android.mk

+7-4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
LOCAL_PATH:=$(call my-dir)
16+
17+
# Project directory relative to this file.
18+
ZOOSHI_DIR:=$(LOCAL_PATH)/../../..
19+
include $(ZOOSHI_DIR)/jni/android_config.mk
20+
1521
LOCAL_PATH:=$(call my-dir)/../../..
1622

1723
# Project directory relative to this file.
@@ -102,7 +108,6 @@ LOCAL_C_INCLUDES := \
102108
$(DEPENDENCIES_BREADBOARD_MODULE_LIBRARY_DIR)/include \
103109
$(DEPENDENCIES_SCENE_LAB_DIR)/include \
104110
$(DEPENDENCIES_FPLUTIL_DIR)/libfplutil/include \
105-
$(DEPENDENCIES_GPG_DIR)/include \
106111
$(DEPENDENCIES_WEBP_DIR)/src \
107112
$(DEPENDENCIES_BULLETPHYSICS_DIR)/src \
108113
$(DEPENDENCIES_FIREBASE_DIR)/include \
@@ -197,7 +202,7 @@ ZOOSHI_FLATBUFFER_INCLUDE_DIRS := \
197202
$(DEPENDENCIES_BREADBOARD_MODULE_LIBRARY_DIR)/schemas
198203

199204
# Override JNI_OnLoad functions.
200-
FPLBASE_JNI_ONLOAD_FUNCTIONS := SDL_JNI_OnLoad GPG_JNI_OnLoad
205+
FPLBASE_JNI_ONLOAD_FUNCTIONS := SDL_JNI_OnLoad
201206

202207
ifeq (,$(ZOOSHI_RUN_ONCE))
203208
ZOOSHI_RUN_ONCE := 1
@@ -226,7 +231,6 @@ clean: clean_assets clean_generated_includes
226231
LOCAL_STATIC_LIBRARIES := \
227232
libbreadboard \
228233
libbreadboard_module_library \
229-
libgpg \
230234
libmathfu \
231235
libwebp \
232236
libfplbase \
@@ -279,4 +283,3 @@ $(call import-module,motive/jni)
279283
$(call import-module,corgi/component_library/jni)
280284
$(call import-module,scene_lab/jni)
281285
$(call import-module,$(notdir $(DEPENDENCIES_WEBP_DIR)))
282-

project.properties

-5
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,5 @@
1313
# Project target.
1414
target=android-23
1515

16-
# google-play-service_lib directory is copied into this project by the
17-
# copy-google-play-games_lib task in custom_rules.xml.
18-
android.library.reference.1=./google-play-services_lib
19-
2016
# Location of the java source files used by this project.
2117
source.dir=src_java
22-

0 commit comments

Comments
 (0)