Provides the basic infrastructure for a NativeActivity's native code to get an object representing its event stream that can be used to read input events. Still work to do, probably some API changes, and reasonable default key handling (so that for example back will still work). Change-Id: I6db891bc35dc9683181d7708eaed552b955a077e
27 lines
472 B
Makefile
27 lines
472 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
|
|
|
|
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)
|