| Jack Palevich | eb69d2a | 2010-07-19 16:27:54 -0700 | [diff] [blame] | 1 | ######################################################################### | 
|  | 2 | # OpenGL ES Perf App | 
|  | 3 | # This makefile builds both an activity and a shared library. | 
|  | 4 | ######################################################################### | 
| Jack Palevich | eb69d2a | 2010-07-19 16:27:54 -0700 | [diff] [blame] | 5 | TOP_LOCAL_PATH:= $(call my-dir) | 
|  | 6 |  | 
|  | 7 | # Build activity | 
|  | 8 |  | 
|  | 9 | LOCAL_PATH:= $(call my-dir) | 
|  | 10 | include $(CLEAR_VARS) | 
|  | 11 |  | 
|  | 12 | LOCAL_MODULE_TAGS := optional | 
|  | 13 |  | 
|  | 14 | LOCAL_SRC_FILES := $(call all-subdir-java-files) | 
|  | 15 |  | 
|  | 16 | LOCAL_PACKAGE_NAME := GLPerf | 
|  | 17 |  | 
|  | 18 | LOCAL_JNI_SHARED_LIBRARIES := libglperf | 
|  | 19 |  | 
|  | 20 | # Run on Eclair | 
|  | 21 | LOCAL_SDK_VERSION := 7 | 
|  | 22 |  | 
|  | 23 | include $(BUILD_PACKAGE) | 
|  | 24 |  | 
|  | 25 | ######################################################################### | 
|  | 26 | # Build JNI Shared Library | 
|  | 27 | ######################################################################### | 
|  | 28 |  | 
|  | 29 | LOCAL_PATH:= $(LOCAL_PATH)/jni | 
|  | 30 |  | 
|  | 31 | include $(CLEAR_VARS) | 
|  | 32 |  | 
|  | 33 | # Optional tag would mean it doesn't get installed by default | 
|  | 34 | LOCAL_MODULE_TAGS := optional | 
|  | 35 |  | 
| Bernhard Rosenkränzer | c80fae6 | 2013-03-27 14:04:34 +0100 | [diff] [blame] | 36 | LOCAL_CFLAGS := -Werror -Wno-error=unused-parameter | 
| Jack Palevich | eb69d2a | 2010-07-19 16:27:54 -0700 | [diff] [blame] | 37 |  | 
|  | 38 | LOCAL_SRC_FILES:= \ | 
|  | 39 | gl_code.cpp | 
|  | 40 |  | 
|  | 41 | LOCAL_SHARED_LIBRARIES := \ | 
| Ying Wang | 8a0cb4e | 2013-04-09 21:55:39 -0700 | [diff] [blame] | 42 | liblog \ | 
| Jack Palevich | eb69d2a | 2010-07-19 16:27:54 -0700 | [diff] [blame] | 43 | libEGL \ | 
|  | 44 | libGLESv2 | 
|  | 45 |  | 
| Inseob Kim | f4fd7b2 | 2018-03-08 16:20:08 +0900 | [diff] [blame] | 46 | LOCAL_SDK_VERSION := current | 
|  | 47 |  | 
| Jack Palevich | eb69d2a | 2010-07-19 16:27:54 -0700 | [diff] [blame] | 48 | LOCAL_MODULE := libglperf | 
|  | 49 |  | 
| Iliyan Malchev | 9dde9ef | 2011-03-14 14:02:13 -0700 | [diff] [blame] | 50 |  | 
| Jack Palevich | eb69d2a | 2010-07-19 16:27:54 -0700 | [diff] [blame] | 51 |  | 
|  | 52 | include $(BUILD_SHARED_LIBRARY) |