diff --git a/backends/platform/android/android.mk b/backends/platform/android/android.mk index 84cfd0c45e5..d4b48b83572 100644 --- a/backends/platform/android/android.mk +++ b/backends/platform/android/android.mk @@ -21,7 +21,8 @@ $(PATH_BUILD_GRADLE): $(GRADLE_FILES) | $(PATH_BUILD) $(CP) -r $(PATH_DIST)/gradle/ $(PATH_BUILD)/gradle/ $(INSTALL) -c -m 755 $(PATH_DIST)/gradlew $(PATH_BUILD) $(INSTALL) -c -m 644 $(PATH_DIST)/build.gradle $(PATH_BUILD) - $(ECHO) "srcdir=$(realpath $(srcdir))" > $(PATH_BUILD)/gradle.properties + $(ECHO) "srcdir=$(realpath $(srcdir))\n" > $(PATH_BUILD)/gradle.properties + $(ECHO) "org.gradle.jvmargs=-Xmx4096m\n" >> $(PATH_BUILD)/gradle.properties $(ECHO) "sdk.dir=$(realpath $(ANDROID_SDK_ROOT))\n" > $(PATH_BUILD)/local.properties $(ECHO) "ndk.dir=$(realpath $(ANDROID_NDK_ROOT))\n" >> $(PATH_BUILD)/local.properties