Android life cycle improvements and Gradle integration

This commit is contained in:
Imanol Fernandez 2017-02-28 14:17:59 +01:00
parent 350d9c6c47
commit 7a2a90959e
30 changed files with 945 additions and 634 deletions

View file

@ -12,11 +12,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
LOCAL_PATH := $(call my-dir)
MY_LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_PATH:= $(SERVO_TARGET_DIR)
LOCAL_MODULE := servo
LOCAL_SRC_FILES := $(TARGET_ARCH_ABI)/libmain.so
LOCAL_SRC_FILES := libservo.so
include $(PREBUILT_SHARED_LIBRARY)
# $(call import-module)

View file

@ -1,2 +1,4 @@
APP_ABI := armeabi
APP_PLATFORM := $(ANDROID_PLATFORM)
NDK_TOOLCHAIN_VERSION := 4.9
APP_MODULES := c++_shared servo
APP_PLATFORM := android-18
APP_STL:= c++_shared