Added implementation to use ANativeWindow and provide it to a NativeActivity. Change-Id: I890d71b6e15d4af71e6cf81b327961d7061ec1c2
28 lines
496 B
Makefile
28 lines
496 B
Makefile
BASE_PATH := $(call my-dir)
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
# our source files
|
|
#
|
|
LOCAL_SRC_FILES:= \
|
|
activity.cpp \
|
|
input.cpp \
|
|
native_window.cpp
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libandroid_runtime \
|
|
libcutils \
|
|
libutils \
|
|
libbinder \
|
|
libui
|
|
|
|
LOCAL_C_INCLUDES += \
|
|
frameworks/base/native/include \
|
|
frameworks/base/core/jni/android \
|
|
dalvik/libnativehelper/include/nativehelper
|
|
|
|
LOCAL_MODULE:= libandroid
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|