1#########################################################################
2# OpenGL ES Perf App
3# This makefile builds both an activity and a shared library.
4#########################################################################
5TOP_LOCAL_PATH:= $(call my-dir)
6
7# Build activity
8
9LOCAL_PATH:= $(call my-dir)
10include $(CLEAR_VARS)
11
12LOCAL_MODULE_TAGS := optional
13
14LOCAL_SRC_FILES := $(call all-subdir-java-files)
15
16LOCAL_PACKAGE_NAME := GLPerf
17
18LOCAL_JNI_SHARED_LIBRARIES := libglperf
19
20# Run on Eclair
21LOCAL_SDK_VERSION := 7
22
23include $(BUILD_PACKAGE)
24
25#########################################################################
26# Build JNI Shared Library
27#########################################################################
28
29LOCAL_PATH:= $(LOCAL_PATH)/jni
30
31include $(CLEAR_VARS)
32
33# Optional tag would mean it doesn't get installed by default
34LOCAL_MODULE_TAGS := optional
35
36LOCAL_CFLAGS := -Werror -Wno-error=unused-parameter
37
38LOCAL_SRC_FILES:= \
39  gl_code.cpp
40
41LOCAL_SHARED_LIBRARIES := \
42	libutils \
43	liblog \
44	libEGL \
45	libGLESv2
46
47LOCAL_MODULE := libglperf
48
49
50
51include $(BUILD_SHARED_LIBRARY)
52