This allows us to avoid exposing the file descriptor of the event queue; instead, you attach an event queue to a looper. This will also should allow native apps to be written without the need for a separate thread, by attaching the event queue to the main thread's looper and scheduling their own messages there. Change-Id: I38489282635895ae2cbfacb88599c1b1cad9b239
29 lines
513 B
Makefile
29 lines
513 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 \
|
|
looper.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)
|