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 LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/nativestresstest
     61 
     62 LOCAL_MODULE_TAGS := tests
     63 
     64 LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
     65 
     66 include $(BUILD_NATIVE_TEST)
     67 
     68 include $(CLEAR_VARS)
     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 LOCAL_MODULE:= hwcRects
     91 LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/nativeutil
     92 
     93 LOCAL_MODULE_TAGS := tests
     94 
     95 LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
     96 
     97 include $(BUILD_NATIVE_TEST)
     98 
     99 include $(CLEAR_VARS)
    100 LOCAL_SRC_FILES:= hwcColorEquiv.cpp
    101 
    102 LOCAL_SHARED_LIBRARIES := \
    103     libcutils \
    104     libEGL \
    105     libGLESv2 \
    106     libutils \
    107     liblog \
    108     libui \
    109     libhardware \
    110 
    111 LOCAL_STATIC_LIBRARIES := \
    112     libtestUtil \
    113     libglTest \
    114     libhwcTest \
    115 
    116 LOCAL_C_INCLUDES += \
    117     system/extras/tests/include \
    118     hardware/libhardware/include \
    119 	$(call include-path-for, opengl-tests-includes)
    120 
    121 LOCAL_MODULE:= hwcColorEquiv
    122 LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/nativeutil
    123 
    124 LOCAL_MODULE_TAGS := tests
    125 
    126 LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
    127 
    128 include $(BUILD_NATIVE_TEST)
    129 
    130 include $(CLEAR_VARS)
    131 LOCAL_SRC_FILES:= hwcCommit.cpp
    132 
    133 LOCAL_SHARED_LIBRARIES := \
    134     libcutils \
    135     libEGL \
    136     libGLESv2 \
    137     libutils \
    138     liblog \
    139     libui \
    140     libhardware \
    141 
    142 LOCAL_STATIC_LIBRARIES := \
    143     libtestUtil \
    144     libglTest \
    145     libhwcTest \
    146 
    147 LOCAL_C_INCLUDES += \
    148     system/extras/tests/include \
    149     hardware/libhardware/include \
    150 	$(call include-path-for, opengl-tests-includes)
    151 
    152 LOCAL_MODULE:= hwcCommit
    153 LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/nativebenchmark
    154 
    155 LOCAL_MODULE_TAGS := tests
    156 
    157 LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
    158 
    159 include $(BUILD_NATIVE_TEST)
    160