Home | History | Annotate | Download | only in hwc
      1 # Copyright (C) 2010 The Android Open Source Project
      2 #
      3 # Licensed under the Apache License, Version 2.0 (the "License");
      4 # you may not use this file except in compliance with the License.
      5 # You may obtain a copy of the License at
      6 #
      7 #      http://www.apache.org/licenses/LICENSE-2.0
      8 #
      9 # Unless required by applicable law or agreed to in writing, software
     10 # distributed under the License is distributed on an "AS IS" BASIS,
     11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     12 # See the License for the specific language governing permissions and
     13 # limitations under the License.
     14 
     15 LOCAL_PATH:= $(call my-dir)
     16 
     17 include $(CLEAR_VARS)
     18 LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
     19 
     20 LOCAL_MODULE_TAGS := tests
     21 LOCAL_MODULE:= libhwcTest
     22 LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES -Wall -Wextra -Werror
     23 LOCAL_CXX_STL := libc++
     24 LOCAL_SRC_FILES:= hwcTestLib.cpp
     25 LOCAL_C_INCLUDES += system/extras/tests/include \
     26     $(call include-path-for, opengl-tests-includes) \
     27 
     28 LOCAL_STATIC_LIBRARIES := libarect
     29 
     30 include $(BUILD_STATIC_LIBRARY)
     31 
     32 include $(CLEAR_VARS)
     33 LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
     34 
     35 LOCAL_MODULE:= hwcStress
     36 LOCAL_MODULE_TAGS := tests
     37 LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES -Wall -Wextra -Werror
     38 LOCAL_CXX_STL := libc++
     39 LOCAL_SRC_FILES:= hwcStress.cpp
     40 
     41 LOCAL_SHARED_LIBRARIES := \
     42     libcutils \
     43     libEGL \
     44     libGLESv2 \
     45     libutils \
     46     liblog \
     47     libui \
     48     libhardware \
     49 
     50 LOCAL_STATIC_LIBRARIES := \
     51     libtestUtil \
     52     libglTest \
     53     libhwcTest \
     54 
     55 LOCAL_C_INCLUDES += \
     56     system/extras/tests/include \
     57     hardware/libhardware/include \
     58     $(call include-path-for, opengl-tests-includes) \
     59 
     60 include $(BUILD_NATIVE_TEST)
     61 
     62 include $(CLEAR_VARS)
     63 LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
     64 
     65 LOCAL_MODULE:= hwcRects
     66 LOCAL_MODULE_TAGS := tests
     67 LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES -Wall -Wextra -Werror
     68 LOCAL_CXX_STL := libc++
     69 LOCAL_SRC_FILES:= hwcRects.cpp
     70 
     71 LOCAL_SHARED_LIBRARIES := \
     72     libcutils \
     73     libEGL \
     74     libGLESv2 \
     75     libutils \
     76     liblog \
     77     libui \
     78     libhardware \
     79 
     80 LOCAL_STATIC_LIBRARIES := \
     81     libtestUtil \
     82     libglTest \
     83     libhwcTest \
     84 
     85 LOCAL_C_INCLUDES += \
     86     system/extras/tests/include \
     87     hardware/libhardware/include \
     88     $(call include-path-for, opengl-tests-includes) \
     89 
     90 include $(BUILD_NATIVE_TEST)
     91 
     92 include $(CLEAR_VARS)
     93 LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
     94 
     95 LOCAL_MODULE:= hwcColorEquiv
     96 LOCAL_MODULE_TAGS := tests
     97 LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES -Wall -Wextra -Werror
     98 LOCAL_CXX_STL := libc++
     99 LOCAL_SRC_FILES:= hwcColorEquiv.cpp
    100 
    101 LOCAL_SHARED_LIBRARIES := \
    102     libcutils \
    103     libEGL \
    104     libGLESv2 \
    105     libutils \
    106     liblog \
    107     libui \
    108     libhardware \
    109 
    110 LOCAL_STATIC_LIBRARIES := \
    111     libtestUtil \
    112     libglTest \
    113     libhwcTest \
    114 
    115 LOCAL_C_INCLUDES += \
    116     system/extras/tests/include \
    117     hardware/libhardware/include \
    118     $(call include-path-for, opengl-tests-includes) \
    119 
    120 include $(BUILD_NATIVE_TEST)
    121 
    122 include $(CLEAR_VARS)
    123 LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
    124 
    125 LOCAL_MODULE:= hwcCommit
    126 LOCAL_MODULE_TAGS := tests
    127 LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES -Wall -Wextra -Werror
    128 LOCAL_CXX_STL := libc++
    129 LOCAL_SRC_FILES:= hwcCommit.cpp
    130 
    131 LOCAL_SHARED_LIBRARIES := \
    132     libcutils \
    133     libEGL \
    134     libGLESv2 \
    135     libutils \
    136     liblog \
    137     libui \
    138     libhardware \
    139 
    140 LOCAL_STATIC_LIBRARIES := \
    141     libtestUtil \
    142     libglTest \
    143     libhwcTest \
    144 
    145 LOCAL_C_INCLUDES += \
    146     system/extras/tests/include \
    147     hardware/libhardware/include \
    148     $(call include-path-for, opengl-tests-includes) \
    149 
    150 include $(BUILD_NATIVE_TEST)
    151