1 LIBVA_TESTS_SHARED_LIBS := libva-android libva libdl libdrm libcutils libutils 2 LIBVA_TESTS_CFLAGS := -DANDROID -Wno-unused-parameter 3 LIBVA_TESTS_C_INCLUDES := $(TARGET_OUT_HEADERS)/libva 4 5 # For test_01 6 # ===================================================== 7 8 LOCAL_PATH:= $(call my-dir) 9 10 include $(CLEAR_VARS) 11 12 LOCAL_SRC_FILES := \ 13 test_01.c \ 14 15 LOCAL_CFLAGS := $(LIBVA_TESTS_CFLAGS) 16 LOCAL_C_INCLUDES := $(LIBVA_TESTS_C_INCLUDES) 17 LOCAL_MODULE_TAGS := optional 18 LOCAL_MODULE := test_001 19 20 LOCAL_SHARED_LIBRARIES := $(LIBVA_TESTS_SHARED_LIBS) 21 22 include $(BUILD_EXECUTABLE) 23 24 # For test_02 25 # ===================================================== 26 include $(CLEAR_VARS) 27 28 LOCAL_SRC_FILES := \ 29 test_02.c \ 30 31 LOCAL_CFLAGS += $(LIBVA_TESTS_CFLAGS) 32 LOCAL_C_INCLUDES := $(LIBVA_TESTS_C_INCLUDES) 33 LOCAL_MODULE_TAGS := optional 34 LOCAL_MODULE := test_02_android 35 36 LOCAL_SHARED_LIBRARIES := $(LIBVA_TESTS_SHARED_LIBS) 37 38 include $(BUILD_EXECUTABLE) 39 40 # For test_03 41 # ===================================================== 42 include $(CLEAR_VARS) 43 44 LOCAL_SRC_FILES := \ 45 test_03.c \ 46 47 LOCAL_CFLAGS += $(LIBVA_TESTS_CFLAGS) 48 LOCAL_C_INCLUDES := $(LIBVA_TESTS_C_INCLUDES) 49 LOCAL_MODULE_TAGS := optional 50 LOCAL_MODULE := test_03_android 51 52 LOCAL_SHARED_LIBRARIES := $(LIBVA_TESTS_SHARED_LIBS) 53 54 include $(BUILD_EXECUTABLE) 55 56 # For test_04g 57 # ===================================================== 58 include $(CLEAR_VARS) 59 60 LOCAL_SRC_FILES := \ 61 test_04.c \ 62 63 LOCAL_CFLAGS += $(LIBVA_TESTS_CFLAGS) 64 LOCAL_C_INCLUDES := $(LIBVA_TESTS_C_INCLUDES) 65 LOCAL_MODULE_TAGS := optional 66 LOCAL_MODULE := test_04_android 67 68 LOCAL_SHARED_LIBRARIES := $(LIBVA_TESTS_SHARED_LIBS) 69 70 include $(BUILD_EXECUTABLE) 71 72 # For test_05 73 # ===================================================== 74 include $(CLEAR_VARS) 75 76 LOCAL_SRC_FILES := \ 77 test_05.c \ 78 79 LOCAL_CFLAGS += $(LIBVA_TESTS_CFLAGS) 80 LOCAL_C_INCLUDES := $(LIBVA_TESTS_C_INCLUDES) 81 LOCAL_MODULE_TAGS := optional 82 LOCAL_MODULE := test_05_android 83 84 LOCAL_SHARED_LIBRARIES := $(LIBVA_TESTS_SHARED_LIBS) 85 86 include $(BUILD_EXECUTABLE) 87 88 # For test_06 89 # ===================================================== 90 include $(CLEAR_VARS) 91 92 LOCAL_SRC_FILES := \ 93 test_06.c \ 94 95 LOCAL_CFLAGS += $(LIBVA_TESTS_CFLAGS) 96 LOCAL_C_INCLUDES := $(LIBVA_TESTS_C_INCLUDES) 97 LOCAL_MODULE_TAGS := optional 98 LOCAL_MODULE := test_06_android 99 100 LOCAL_SHARED_LIBRARIES := $(LIBVA_TESTS_SHARED_LIBS) 101 102 include $(BUILD_EXECUTABLE) 103 104 # For test_07 105 # ===================================================== 106 include $(CLEAR_VARS) 107 108 LOCAL_SRC_FILES := \ 109 test_07.c \ 110 111 LOCAL_CFLAGS += $(LIBVA_TESTS_CFLAGS) 112 LOCAL_C_INCLUDES := $(LIBVA_TESTS_C_INCLUDES) 113 LOCAL_MODULE_TAGS := optional 114 LOCAL_MODULE := test_07_android 115 116 LOCAL_SHARED_LIBRARIES := $(LIBVA_TESTS_SHARED_LIBS) 117 118 include $(BUILD_EXECUTABLE) 119 120 # For test_08 121 # ===================================================== 122 include $(CLEAR_VARS) 123 124 LOCAL_SRC_FILES := \ 125 test_08.c \ 126 127 LOCAL_CFLAGS += $(LIBVA_TESTS_CFLAGS) 128 LOCAL_C_INCLUDES := $(LIBVA_TESTS_C_INCLUDES) 129 LOCAL_MODULE_TAGS := optional 130 LOCAL_MODULE := test_08_android 131 132 LOCAL_SHARED_LIBRARIES := $(LIBVA_TESTS_SHARED_LIBS) 133 134 include $(BUILD_EXECUTABLE) 135 136 # For test_09 137 # ===================================================== 138 include $(CLEAR_VARS) 139 140 LOCAL_SRC_FILES := \ 141 test_09.c \ 142 143 LOCAL_CFLAGS += $(LIBVA_TESTS_CFLAGS) 144 LOCAL_C_INCLUDES := $(LIBVA_TESTS_C_INCLUDES) 145 LOCAL_MODULE_TAGS := optional 146 LOCAL_MODULE := test_09_android 147 148 LOCAL_SHARED_LIBRARIES := $(LIBVA_TESTS_SHARED_LIBS) 149 150 include $(BUILD_EXECUTABLE) 151 152 # For test_10 153 # ===================================================== 154 include $(CLEAR_VARS) 155 156 LOCAL_SRC_FILES := \ 157 test_10.c 158 159 LOCAL_CFLAGS += $(LIBVA_TESTS_CFLAGS) 160 LOCAL_C_INCLUDES := $(LIBVA_TESTS_C_INCLUDES) 161 LOCAL_MODULE_TAGS := optional 162 LOCAL_MODULE := test_10_android 163 164 LOCAL_SHARED_LIBRARIES := $(LIBVA_TESTS_SHARED_LIBS) 165 166 include $(BUILD_EXECUTABLE) 167 168 # For test_11 169 # ===================================================== 170 include $(CLEAR_VARS) 171 172 LOCAL_SRC_FILES := \ 173 test_11.c 174 175 LOCAL_CFLAGS += $(LIBVA_TESTS_CFLAGS) 176 LOCAL_C_INCLUDES := $(LIBVA_TESTS_C_INCLUDES) 177 LOCAL_MODULE_TAGS := optional 178 LOCAL_MODULE := test_11_android 179 180 LOCAL_SHARED_LIBRARIES := $(LIBVA_TESTS_SHARED_LIBS) 181 182 include $(BUILD_EXECUTABLE) 183 184