Android.mk 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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. LOCAL_PATH:= $(call my-dir)
  15. include $(CLEAR_VARS)
  16. LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
  17. LOCAL_MODULE_TAGS := tests
  18. LOCAL_MODULE:= libhwcTest
  19. LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
  20. LOCAL_CXX_STL := libc++
  21. LOCAL_SRC_FILES:= hwcTestLib.cpp
  22. LOCAL_C_INCLUDES += system/extras/tests/include \
  23. $(call include-path-for, opengl-tests-includes) \
  24. include $(BUILD_STATIC_LIBRARY)
  25. include $(CLEAR_VARS)
  26. LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
  27. LOCAL_MODULE:= hwcStress
  28. LOCAL_MODULE_TAGS := tests
  29. LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
  30. LOCAL_CXX_STL := libc++
  31. LOCAL_SRC_FILES:= hwcStress.cpp
  32. LOCAL_SHARED_LIBRARIES := \
  33. libcutils \
  34. libEGL \
  35. libGLESv2 \
  36. libutils \
  37. liblog \
  38. libui \
  39. libhardware \
  40. LOCAL_STATIC_LIBRARIES := \
  41. libtestUtil \
  42. libglTest \
  43. libhwcTest \
  44. LOCAL_C_INCLUDES += \
  45. system/extras/tests/include \
  46. hardware/libhardware/include \
  47. $(call include-path-for, opengl-tests-includes) \
  48. include $(BUILD_NATIVE_TEST)
  49. include $(CLEAR_VARS)
  50. LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
  51. LOCAL_MODULE:= hwcRects
  52. LOCAL_MODULE_TAGS := tests
  53. LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
  54. LOCAL_CXX_STL := libc++
  55. LOCAL_SRC_FILES:= hwcRects.cpp
  56. LOCAL_SHARED_LIBRARIES := \
  57. libcutils \
  58. libEGL \
  59. libGLESv2 \
  60. libutils \
  61. liblog \
  62. libui \
  63. libhardware \
  64. LOCAL_STATIC_LIBRARIES := \
  65. libtestUtil \
  66. libglTest \
  67. libhwcTest \
  68. LOCAL_C_INCLUDES += \
  69. system/extras/tests/include \
  70. hardware/libhardware/include \
  71. $(call include-path-for, opengl-tests-includes) \
  72. include $(BUILD_NATIVE_TEST)
  73. include $(CLEAR_VARS)
  74. LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
  75. LOCAL_MODULE:= hwcColorEquiv
  76. LOCAL_MODULE_TAGS := tests
  77. LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
  78. LOCAL_CXX_STL := libc++
  79. LOCAL_SRC_FILES:= hwcColorEquiv.cpp
  80. LOCAL_SHARED_LIBRARIES := \
  81. libcutils \
  82. libEGL \
  83. libGLESv2 \
  84. libutils \
  85. liblog \
  86. libui \
  87. libhardware \
  88. LOCAL_STATIC_LIBRARIES := \
  89. libtestUtil \
  90. libglTest \
  91. libhwcTest \
  92. LOCAL_C_INCLUDES += \
  93. system/extras/tests/include \
  94. hardware/libhardware/include \
  95. $(call include-path-for, opengl-tests-includes) \
  96. include $(BUILD_NATIVE_TEST)
  97. include $(CLEAR_VARS)
  98. LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
  99. LOCAL_MODULE:= hwcCommit
  100. LOCAL_MODULE_TAGS := tests
  101. LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
  102. LOCAL_CXX_STL := libc++
  103. LOCAL_SRC_FILES:= hwcCommit.cpp
  104. LOCAL_SHARED_LIBRARIES := \
  105. libcutils \
  106. libEGL \
  107. libGLESv2 \
  108. libutils \
  109. liblog \
  110. libui \
  111. libhardware \
  112. LOCAL_STATIC_LIBRARIES := \
  113. libtestUtil \
  114. libglTest \
  115. libhwcTest \
  116. LOCAL_C_INCLUDES += \
  117. system/extras/tests/include \
  118. hardware/libhardware/include \
  119. $(call include-path-for, opengl-tests-includes) \
  120. include $(BUILD_NATIVE_TEST)