Home | History | Annotate | Download | only in gl_perfapp
      1 #########################################################################
      2 # OpenGL ES Perf App
      3 # This makefile builds both an activity and a shared library.
      4 #########################################################################
      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 
     36 LOCAL_CFLAGS := -Werror
     37 
     38 LOCAL_SRC_FILES:= \
     39   gl_code.cpp
     40 
     41 LOCAL_SHARED_LIBRARIES := \
     42 	libutils \
     43 	libEGL \
     44 	libGLESv2
     45 
     46 LOCAL_MODULE := libglperf
     47 
     48 
     49 
     50 include $(BUILD_SHARED_LIBRARY)
     51