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_MODULE_TAGS := tests
     19 LOCAL_MODULE:= libhwcTest
     20 LOCAL_SRC_FILES:= hwcTestLib.cpp
     21 LOCAL_C_INCLUDES += system/extras/tests/include \
     22     bionic \
     23     bionic/libstdc++/include \
     24     external/stlport/stlport \
     25 	$(call include-path-for, opengl-tests-includes)
     26 
     27 LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
     28 
     29 LOCAL_SHARED_LIBRARIES += libcutils libutils libstlport
     30 LOCAL_STATIC_LIBRARIES += libglTest
     31 
     32 
     33 include $(BUILD_STATIC_LIBRARY)
     34 
     35 include $(CLEAR_VARS)
     36 LOCAL_SRC_FILES:= hwcStress.cpp
     37 
     38 LOCAL_SHARED_LIBRARIES := \
     39     libcutils \
     40     libEGL \
     41     libGLESv2 \
     42     libutils \
     43     liblog \
     44     libui \
     45     libhardware \
     46 
     47 LOCAL_STATIC_LIBRARIES := \
     48     libtestUtil \
     49     libglTest \
     50     libhwcTest \
     51 
     52 LOCAL_C_INCLUDES += \
     53     system/extras/tests/include \
     54     hardware/libhardware/include \
     55 	$(call include-path-for, opengl-tests-includes)
     56 
     57 LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
     58 
     59 LOCAL_MODULE:= hwcStress
     60 
     61 LOCAL_MODULE_TAGS := tests
     62 
     63 LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
     64 
     65 include $(BUILD_NATIVE_TEST)
     66 
     67 include $(CLEAR_VARS)
     68 LOCAL_SRC_FILES:= hwcRects.cpp
     69 
     70 LOCAL_SHARED_LIBRARIES := \
     71     libcutils \
     72     libEGL \
     73     libGLESv2 \
     74     libutils \
     75     liblog \
     76     libui \
     77     libhardware \
     78 
     79 LOCAL_STATIC_LIBRARIES := \
     80     libtestUtil \
     81     libglTest \
     82     libhwcTest \
     83 
     84 LOCAL_C_INCLUDES += \
     85     system/extras/tests/include \
     86     hardware/libhardware/include \
     87 	$(call include-path-for, opengl-tests-includes)
     88 
     89 LOCAL_MODULE:= hwcRects
     90 
     91 LOCAL_MODULE_TAGS := tests
     92 
     93 LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
     94 
     95 include $(BUILD_NATIVE_TEST)
     96 
     97 include $(CLEAR_VARS)
     98 LOCAL_SRC_FILES:= hwcColorEquiv.cpp
     99 
    100 LOCAL_SHARED_LIBRARIES := \
    101     libcutils \
    102     libEGL \
    103     libGLESv2 \
    104     libutils \
    105     liblog \
    106     libui \
    107     libhardware \
    108 
    109 LOCAL_STATIC_LIBRARIES := \
    110     libtestUtil \
    111     libglTest \
    112     libhwcTest \
    113 
    114 LOCAL_C_INCLUDES += \
    115     system/extras/tests/include \
    116     hardware/libhardware/include \
    117 	$(call include-path-for, opengl-tests-includes)
    118 
    119 LOCAL_MODULE:= hwcColorEquiv
    120 
    121 LOCAL_MODULE_TAGS := tests
    122 
    123 LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
    124 
    125 include $(BUILD_NATIVE_TEST)
    126 
    127 include $(CLEAR_VARS)
    128 LOCAL_SRC_FILES:= hwcCommit.cpp
    129 
    130 LOCAL_SHARED_LIBRARIES := \
    131     libcutils \
    132     libEGL \
    133     libGLESv2 \
    134     libutils \
    135     liblog \
    136     libui \
    137     libhardware \
    138 
    139 LOCAL_STATIC_LIBRARIES := \
    140     libtestUtil \
    141     libglTest \
    142     libhwcTest \
    143 
    144 LOCAL_C_INCLUDES += \
    145     system/extras/tests/include \
    146     hardware/libhardware/include \
    147 	$(call include-path-for, opengl-tests-includes)
    148 
    149 LOCAL_MODULE:= hwcCommit
    150 
    151 LOCAL_MODULE_TAGS := tests
    152 
    153 LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
    154 
    155 include $(BUILD_NATIVE_TEST)
    156