From 3a654b4615c98f000b202579d218cbff04a980d1 Mon Sep 17 00:00:00 2001 From: samuele3hu Date: Thu, 25 Jun 2015 17:44:51 +0800 Subject: [PATCH] Fix the compile error of js-template by using android-studio compile param. --- cocos/ui/Android.mk | 4 ++++ extensions/Android.mk | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/cocos/ui/Android.mk b/cocos/ui/Android.mk index 316d8a51d1..d97fdda1b5 100644 --- a/cocos/ui/Android.mk +++ b/cocos/ui/Android.mk @@ -5,6 +5,10 @@ LOCAL_MODULE := cocos_ui_static LOCAL_MODULE_FILENAME := libui +ifeq ($(USE_ARM_MODE),1) +LOCAL_ARM_MODE := arm +endif + LOCAL_SRC_FILES := \ UIWidget.cpp \ UILayout.cpp \ diff --git a/extensions/Android.mk b/extensions/Android.mk index 90a1561c6f..0e5d7e2514 100644 --- a/extensions/Android.mk +++ b/extensions/Android.mk @@ -5,6 +5,10 @@ LOCAL_MODULE := cocos_extension_static LOCAL_MODULE_FILENAME := libextension +ifeq ($(USE_ARM_MODE),1) +LOCAL_ARM_MODE := arm +endif + LOCAL_SRC_FILES := \ assets-manager/AssetsManager.cpp \ assets-manager/Downloader.cpp \