Last active
August 29, 2015 14:23
-
-
Save chaoticbob/ebc5267f88f5ac5f290b to your computer and use it in GitHub Desktop.
Sample Android.mk file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generated by CinderAppBuildPlugin: Sun Jun 14 11:48:02 PDT 2015 | |
# | |
LOCAL_PATH := $(call my-dir) | |
include $(CLEAR_VARS) | |
LOCAL_MODULE := libcinder_d | |
LOCAL_SRC_FILES := /Users/hai/code/cinder/cinder_chaoticbob/lib/android/$(TARGET_PLATFORM)/$(TARGET_ARCH_ABI)/libcinder_d.a | |
include $(PREBUILT_STATIC_LIBRARY) | |
include $(CLEAR_VARS) | |
LOCAL_MODULE := libboost_filesystem | |
LOCAL_SRC_FILES := /Users/hai/code/cinder/cinder_chaoticbob/lib/android/$(TARGET_PLATFORM)/$(TARGET_ARCH_ABI)/libboost_filesystem.a | |
include $(PREBUILT_STATIC_LIBRARY) | |
include $(CLEAR_VARS) | |
LOCAL_MODULE := libboost_system | |
LOCAL_SRC_FILES := /Users/hai/code/cinder/cinder_chaoticbob/lib/android/$(TARGET_PLATFORM)/$(TARGET_ARCH_ABI)/libboost_system.a | |
include $(PREBUILT_STATIC_LIBRARY) | |
# ------------------------------------------------------------------------------ | |
include $(CLEAR_VARS) | |
# Module Name | |
LOCAL_MODULE := SetWallpaper | |
# C++ Source Files | |
LOCAL_SRC_FILES := \ | |
../../../../../../src/SetWallpaper.cpp \ | |
LOCAL_CPP_FEATURES := rtti exceptions | |
LOCAL_CFLAGS := -g | |
LOCAL_CPPFLAGS := -g -std=c++11 | |
ifeq ($(TARGET_ARCH_ABI),arm64-v8a) | |
else ifeq ($(TARGET_ARCH_ABI),armeabi) | |
else ifeq ($(TARGET_ARCH_ABI),armeabi-v7a) | |
else ifeq ($(TARGET_ARCH_ABI),mips) | |
else ifeq ($(TARGET_ARCH_ABI),mips64) | |
else ifeq ($(TARGET_ARCH_ABI),x86) | |
else ifeq ($(TARGET_ARCH_ABI),x86_64) | |
endif | |
# Include Directories | |
LOCAL_C_INCLUDES := \ | |
/Users/hai/code/cinder/cinder_chaoticbob/include \ | |
/Users/hai/code/cinder/cinder_chaoticbob/boost \ | |
# Shared Libraries | |
LOCAL_LDLIBS := \ | |
-llog\ | |
-landroid\ | |
-lEGL\ | |
-lGLESv3\ | |
-lz\ | |
# Static Libraries | |
LOCAL_STATIC_LIBRARIES := \ | |
libcinder_d \ | |
libboost_filesystem \ | |
libboost_system \ | |
include $(BUILD_SHARED_LIBRARY) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment