Marat Dukhan | 59d3071 | 2017-05-08 04:43:52 -0400 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir)/.. |
| 2 | |
| 3 | include $(CLEAR_VARS) |
| 4 | LOCAL_MODULE := cpuinfo |
| 5 | LOCAL_SRC_FILES := $(LOCAL_PATH)/src/init.c \ |
Marat Dukhan | 3040197 | 2017-09-26 18:35:52 -0700 | [diff] [blame] | 6 | $(LOCAL_PATH)/src/api.c \ |
Marat Dukhan | 51528ce | 2017-09-13 22:07:16 -0700 | [diff] [blame] | 7 | $(LOCAL_PATH)/src/log.c \ |
Marat Dukhan | c40c731 | 2017-09-21 16:08:18 -0700 | [diff] [blame] | 8 | $(LOCAL_PATH)/src/gpu/gles2.c \ |
Marat Dukhan | fd0f3ef | 2017-12-18 17:45:18 -0800 | [diff] [blame] | 9 | $(LOCAL_PATH)/src/linux/gpu.c \ |
Marat Dukhan | d9f76e0 | 2017-09-24 22:46:08 -0700 | [diff] [blame] | 10 | $(LOCAL_PATH)/src/linux/current.c \ |
Marat Dukhan | 51528ce | 2017-09-13 22:07:16 -0700 | [diff] [blame] | 11 | $(LOCAL_PATH)/src/linux/processors.c \ |
| 12 | $(LOCAL_PATH)/src/linux/smallfile.c \ |
| 13 | $(LOCAL_PATH)/src/linux/multiline.c \ |
| 14 | $(LOCAL_PATH)/src/linux/cpulist.c |
Marat Dukhan | 63a78bb | 2017-05-09 10:20:51 -0400 | [diff] [blame] | 15 | ifeq ($(TARGET_ARCH_ABI),$(filter $(TARGET_ARCH_ABI),armeabi armeabi-v7a arm64-v8a)) |
Marat Dukhan | 59d3071 | 2017-05-08 04:43:52 -0400 | [diff] [blame] | 16 | LOCAL_SRC_FILES += \ |
| 17 | $(LOCAL_PATH)/src/arm/uarch.c \ |
| 18 | $(LOCAL_PATH)/src/arm/cache.c \ |
| 19 | $(LOCAL_PATH)/src/arm/linux/init.c \ |
Marat Dukhan | 006461a | 2017-08-24 16:10:46 -0700 | [diff] [blame] | 20 | $(LOCAL_PATH)/src/arm/linux/cpuinfo.c \ |
Marat Dukhan | 9403e5a | 2017-09-11 10:23:21 -0700 | [diff] [blame] | 21 | $(LOCAL_PATH)/src/arm/linux/clusters.c \ |
Marat Dukhan | 1415d7d | 2017-10-16 09:40:15 -0700 | [diff] [blame] | 22 | $(LOCAL_PATH)/src/arm/linux/chipset.c \ |
Marat Dukhan | 9403e5a | 2017-09-11 10:23:21 -0700 | [diff] [blame] | 23 | $(LOCAL_PATH)/src/arm/linux/midr.c \ |
Marat Dukhan | 63a7a6b | 2017-11-29 15:11:56 -0800 | [diff] [blame] | 24 | $(LOCAL_PATH)/src/arm/linux/hwcap.c \ |
Marat Dukhan | 3985cf8 | 2017-12-18 18:58:26 -0800 | [diff] [blame] | 25 | $(LOCAL_PATH)/src/arm/android/gpu.c \ |
Marat Dukhan | 1415d7d | 2017-10-16 09:40:15 -0700 | [diff] [blame] | 26 | $(LOCAL_PATH)/src/arm/android/properties.c |
Marat Dukhan | 59d3071 | 2017-05-08 04:43:52 -0400 | [diff] [blame] | 27 | ifeq ($(TARGET_ARCH_ABI),armeabi) |
Marat Dukhan | deaa898 | 2017-11-28 11:07:11 -0800 | [diff] [blame] | 28 | LOCAL_SRC_FILES += $(LOCAL_PATH)/src/arm/linux/aarch32-isa.c.arm |
Marat Dukhan | 59d3071 | 2017-05-08 04:43:52 -0400 | [diff] [blame] | 29 | endif # armeabi |
Marat Dukhan | 63a78bb | 2017-05-09 10:20:51 -0400 | [diff] [blame] | 30 | ifeq ($(TARGET_ARCH_ABI),armeabi-v7a) |
Marat Dukhan | deaa898 | 2017-11-28 11:07:11 -0800 | [diff] [blame] | 31 | LOCAL_SRC_FILES += $(LOCAL_PATH)/src/arm/linux/aarch32-isa.c |
Marat Dukhan | 63a78bb | 2017-05-09 10:20:51 -0400 | [diff] [blame] | 32 | endif # armeabi-v7a |
| 33 | ifeq ($(TARGET_ARCH_ABI),arm64-v8a) |
Marat Dukhan | deaa898 | 2017-11-28 11:07:11 -0800 | [diff] [blame] | 34 | LOCAL_SRC_FILES += $(LOCAL_PATH)/src/arm/linux/aarch64-isa.c |
Marat Dukhan | 63a78bb | 2017-05-09 10:20:51 -0400 | [diff] [blame] | 35 | endif # arm64-v8a |
| 36 | endif # armeabi, armeabi-v7a, or arm64-v8a |
Marat Dukhan | 59d3071 | 2017-05-08 04:43:52 -0400 | [diff] [blame] | 37 | ifeq ($(TARGET_ARCH_ABI),$(filter $(TARGET_ARCH_ABI),x86 x86_64)) |
| 38 | LOCAL_SRC_FILES += \ |
Marat Dukhan | 51528ce | 2017-09-13 22:07:16 -0700 | [diff] [blame] | 39 | $(LOCAL_PATH)/src/x86/init.c \ |
| 40 | $(LOCAL_PATH)/src/x86/info.c \ |
Marat Dukhan | a015702 | 2017-09-22 16:45:28 -0700 | [diff] [blame] | 41 | $(LOCAL_PATH)/src/x86/name.c \ |
Marat Dukhan | 51528ce | 2017-09-13 22:07:16 -0700 | [diff] [blame] | 42 | $(LOCAL_PATH)/src/x86/isa.c \ |
| 43 | $(LOCAL_PATH)/src/x86/vendor.c \ |
| 44 | $(LOCAL_PATH)/src/x86/uarch.c \ |
| 45 | $(LOCAL_PATH)/src/x86/topology.c \ |
| 46 | $(LOCAL_PATH)/src/x86/cache/init.c \ |
| 47 | $(LOCAL_PATH)/src/x86/cache/descriptor.c \ |
| 48 | $(LOCAL_PATH)/src/x86/cache/deterministic.c \ |
Marat Dukhan | 4f70b9a | 2017-09-25 23:18:41 -0700 | [diff] [blame] | 49 | $(LOCAL_PATH)/src/x86/linux/cpuinfo.c \ |
Marat Dukhan | 51528ce | 2017-09-13 22:07:16 -0700 | [diff] [blame] | 50 | $(LOCAL_PATH)/src/x86/linux/init.c |
Marat Dukhan | 59d3071 | 2017-05-08 04:43:52 -0400 | [diff] [blame] | 51 | endif # x86 or x86_64 |
| 52 | LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include |
| 53 | LOCAL_C_INCLUDES := $(LOCAL_EXPORT_C_INCLUDES) $(LOCAL_PATH)/src |
Marat Dukhan | 0de277f | 2017-09-22 14:25:10 -0700 | [diff] [blame] | 54 | LOCAL_CFLAGS := -std=gnu99 -Wall -Wno-maybe-uninitialized -Wno-unknown-warning-option -D_GNU_SOURCE=1 |
Marat Dukhan | 59d3071 | 2017-05-08 04:43:52 -0400 | [diff] [blame] | 55 | include $(BUILD_STATIC_LIBRARY) |
| 56 | |
| 57 | include $(CLEAR_VARS) |
Marat Dukhan | a8fb3dd | 2017-08-09 13:49:39 -0700 | [diff] [blame] | 58 | LOCAL_MODULE := cpuinfo_mock |
| 59 | LOCAL_SRC_FILES := $(LOCAL_PATH)/src/init.c \ |
Marat Dukhan | 3040197 | 2017-09-26 18:35:52 -0700 | [diff] [blame] | 60 | $(LOCAL_PATH)/src/api.c \ |
Marat Dukhan | 51528ce | 2017-09-13 22:07:16 -0700 | [diff] [blame] | 61 | $(LOCAL_PATH)/src/log.c \ |
Marat Dukhan | fd0f3ef | 2017-12-18 17:45:18 -0800 | [diff] [blame] | 62 | $(LOCAL_PATH)/src/gpu/gles2-mock.c \ |
| 63 | $(LOCAL_PATH)/src/linux/gpu.c \ |
Marat Dukhan | d9f76e0 | 2017-09-24 22:46:08 -0700 | [diff] [blame] | 64 | $(LOCAL_PATH)/src/linux/current.c \ |
Marat Dukhan | 51528ce | 2017-09-13 22:07:16 -0700 | [diff] [blame] | 65 | $(LOCAL_PATH)/src/linux/mockfile.c \ |
| 66 | $(LOCAL_PATH)/src/linux/processors.c \ |
| 67 | $(LOCAL_PATH)/src/linux/smallfile.c \ |
| 68 | $(LOCAL_PATH)/src/linux/multiline.c \ |
| 69 | $(LOCAL_PATH)/src/linux/cpulist.c |
Marat Dukhan | a8fb3dd | 2017-08-09 13:49:39 -0700 | [diff] [blame] | 70 | ifeq ($(TARGET_ARCH_ABI),$(filter $(TARGET_ARCH_ABI),armeabi armeabi-v7a arm64-v8a)) |
| 71 | LOCAL_SRC_FILES += \ |
| 72 | $(LOCAL_PATH)/src/arm/uarch.c \ |
| 73 | $(LOCAL_PATH)/src/arm/cache.c \ |
| 74 | $(LOCAL_PATH)/src/arm/linux/init.c \ |
Marat Dukhan | 006461a | 2017-08-24 16:10:46 -0700 | [diff] [blame] | 75 | $(LOCAL_PATH)/src/arm/linux/cpuinfo.c \ |
Marat Dukhan | 9403e5a | 2017-09-11 10:23:21 -0700 | [diff] [blame] | 76 | $(LOCAL_PATH)/src/arm/linux/clusters.c \ |
Marat Dukhan | 1415d7d | 2017-10-16 09:40:15 -0700 | [diff] [blame] | 77 | $(LOCAL_PATH)/src/arm/linux/chipset.c \ |
Marat Dukhan | 9403e5a | 2017-09-11 10:23:21 -0700 | [diff] [blame] | 78 | $(LOCAL_PATH)/src/arm/linux/midr.c \ |
Marat Dukhan | 63a7a6b | 2017-11-29 15:11:56 -0800 | [diff] [blame] | 79 | $(LOCAL_PATH)/src/arm/linux/hwcap.c \ |
Marat Dukhan | 3985cf8 | 2017-12-18 18:58:26 -0800 | [diff] [blame] | 80 | $(LOCAL_PATH)/src/arm/android/gpu.c \ |
Marat Dukhan | 1415d7d | 2017-10-16 09:40:15 -0700 | [diff] [blame] | 81 | $(LOCAL_PATH)/src/arm/android/properties.c |
Marat Dukhan | a8fb3dd | 2017-08-09 13:49:39 -0700 | [diff] [blame] | 82 | ifeq ($(TARGET_ARCH_ABI),armeabi) |
Marat Dukhan | deaa898 | 2017-11-28 11:07:11 -0800 | [diff] [blame] | 83 | LOCAL_SRC_FILES += $(LOCAL_PATH)/src/arm/linux/aarch32-isa.c.arm |
Marat Dukhan | a8fb3dd | 2017-08-09 13:49:39 -0700 | [diff] [blame] | 84 | endif # armeabi |
| 85 | ifeq ($(TARGET_ARCH_ABI),armeabi-v7a) |
Marat Dukhan | deaa898 | 2017-11-28 11:07:11 -0800 | [diff] [blame] | 86 | LOCAL_SRC_FILES += $(LOCAL_PATH)/src/arm/linux/aarch32-isa.c |
Marat Dukhan | a8fb3dd | 2017-08-09 13:49:39 -0700 | [diff] [blame] | 87 | endif # armeabi-v7a |
| 88 | ifeq ($(TARGET_ARCH_ABI),arm64-v8a) |
Marat Dukhan | deaa898 | 2017-11-28 11:07:11 -0800 | [diff] [blame] | 89 | LOCAL_SRC_FILES += $(LOCAL_PATH)/src/arm/linux/aarch64-isa.c |
Marat Dukhan | a8fb3dd | 2017-08-09 13:49:39 -0700 | [diff] [blame] | 90 | endif # arm64-v8a |
| 91 | endif # armeabi, armeabi-v7a, or arm64-v8a |
| 92 | ifeq ($(TARGET_ARCH_ABI),$(filter $(TARGET_ARCH_ABI),x86 x86_64)) |
| 93 | LOCAL_SRC_FILES += \ |
Marat Dukhan | 51528ce | 2017-09-13 22:07:16 -0700 | [diff] [blame] | 94 | $(LOCAL_PATH)/src/x86/init.c \ |
| 95 | $(LOCAL_PATH)/src/x86/info.c \ |
Marat Dukhan | a015702 | 2017-09-22 16:45:28 -0700 | [diff] [blame] | 96 | $(LOCAL_PATH)/src/x86/name.c \ |
Marat Dukhan | 51528ce | 2017-09-13 22:07:16 -0700 | [diff] [blame] | 97 | $(LOCAL_PATH)/src/x86/isa.c \ |
| 98 | $(LOCAL_PATH)/src/x86/vendor.c \ |
| 99 | $(LOCAL_PATH)/src/x86/uarch.c \ |
| 100 | $(LOCAL_PATH)/src/x86/topology.c \ |
Marat Dukhan | 8fb88ad | 2017-09-25 23:20:12 -0700 | [diff] [blame] | 101 | $(LOCAL_PATH)/src/x86/mockcpuid.c \ |
Marat Dukhan | 51528ce | 2017-09-13 22:07:16 -0700 | [diff] [blame] | 102 | $(LOCAL_PATH)/src/x86/cache/init.c \ |
| 103 | $(LOCAL_PATH)/src/x86/cache/descriptor.c \ |
| 104 | $(LOCAL_PATH)/src/x86/cache/deterministic.c \ |
Marat Dukhan | 4f70b9a | 2017-09-25 23:18:41 -0700 | [diff] [blame] | 105 | $(LOCAL_PATH)/src/x86/linux/cpuinfo.c \ |
Marat Dukhan | 51528ce | 2017-09-13 22:07:16 -0700 | [diff] [blame] | 106 | $(LOCAL_PATH)/src/x86/linux/init.c |
Marat Dukhan | a8fb3dd | 2017-08-09 13:49:39 -0700 | [diff] [blame] | 107 | endif # x86 or x86_64 |
| 108 | LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/include |
| 109 | LOCAL_C_INCLUDES := $(LOCAL_EXPORT_C_INCLUDES) $(LOCAL_PATH)/src |
Marat Dukhan | 0de277f | 2017-09-22 14:25:10 -0700 | [diff] [blame] | 110 | LOCAL_CFLAGS := -std=gnu99 -Wall -Wno-maybe-uninitialized -Wno-unknown-warning-option -D_GNU_SOURCE=1 -DCPUINFO_LOG_LEVEL=4 -DCPUINFO_MOCK=1 |
Marat Dukhan | a8fb3dd | 2017-08-09 13:49:39 -0700 | [diff] [blame] | 111 | LOCAL_EXPORT_CFLAGS := -DCPUINFO_MOCK=1 |
| 112 | include $(BUILD_STATIC_LIBRARY) |
| 113 | |
| 114 | include $(CLEAR_VARS) |
Marat Dukhan | 59d3071 | 2017-05-08 04:43:52 -0400 | [diff] [blame] | 115 | LOCAL_MODULE := cpu-info |
| 116 | LOCAL_SRC_FILES := $(LOCAL_PATH)/tools/cpu-info.c |
Marat Dukhan | c7c0999 | 2017-09-22 12:12:19 -0700 | [diff] [blame] | 117 | LOCAL_CFLAGS := -std=gnu99 |
Marat Dukhan | 59d3071 | 2017-05-08 04:43:52 -0400 | [diff] [blame] | 118 | LOCAL_STATIC_LIBRARIES := cpuinfo |
| 119 | include $(BUILD_EXECUTABLE) |
| 120 | |
| 121 | include $(CLEAR_VARS) |
| 122 | LOCAL_MODULE := isa-info |
| 123 | LOCAL_SRC_FILES := $(LOCAL_PATH)/tools/isa-info.c |
Marat Dukhan | c7c0999 | 2017-09-22 12:12:19 -0700 | [diff] [blame] | 124 | LOCAL_CFLAGS := -std=gnu99 |
Marat Dukhan | 59d3071 | 2017-05-08 04:43:52 -0400 | [diff] [blame] | 125 | LOCAL_STATIC_LIBRARIES := cpuinfo |
| 126 | include $(BUILD_EXECUTABLE) |
| 127 | |
| 128 | include $(CLEAR_VARS) |
| 129 | LOCAL_MODULE := cache-info |
| 130 | LOCAL_SRC_FILES := $(LOCAL_PATH)/tools/cache-info.c |
Marat Dukhan | c7c0999 | 2017-09-22 12:12:19 -0700 | [diff] [blame] | 131 | LOCAL_CFLAGS := -std=gnu99 |
Marat Dukhan | 59d3071 | 2017-05-08 04:43:52 -0400 | [diff] [blame] | 132 | LOCAL_STATIC_LIBRARIES := cpuinfo |
| 133 | include $(BUILD_EXECUTABLE) |
Marat Dukhan | a8fb3dd | 2017-08-09 13:49:39 -0700 | [diff] [blame] | 134 | |
Marat Dukhan | 115d415 | 2017-10-19 11:24:17 -0700 | [diff] [blame] | 135 | # include $(CLEAR_VARS) |
| 136 | # LOCAL_MODULE := gpu-dump |
| 137 | # LOCAL_SRC_FILES := $(LOCAL_PATH)/tools/gpu-dump.c |
| 138 | # LOCAL_CFLAGS := -std=gnu99 |
| 139 | # LOCAL_LDLIBS := -ldl -lEGL -lGLESv2 |
| 140 | # include $(BUILD_EXECUTABLE) |
| 141 | |
Marat Dukhan | 0f0b233 | 2017-09-22 15:08:44 -0700 | [diff] [blame] | 142 | include $(CLEAR_VARS) |
| 143 | LOCAL_MODULE := size-test |
| 144 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/size.c |
| 145 | LOCAL_CFLAGS := -std=gnu99 |
| 146 | LOCAL_STATIC_LIBRARIES := cpuinfo |
| 147 | include $(BUILD_EXECUTABLE) |
| 148 | |
Marat Dukhan | f3a71e6 | 2017-11-29 15:15:36 -0800 | [diff] [blame] | 149 | ifeq ($(TARGET_ARCH_ABI),$(filter $(TARGET_ARCH_ABI),armeabi armeabi-v7a arm64-v8a)) |
| 150 | |
| 151 | include $(CLEAR_VARS) |
| 152 | LOCAL_MODULE := auxv-dump |
| 153 | LOCAL_SRC_FILES := $(LOCAL_PATH)/tools/auxv-dump.c |
| 154 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/include $(LOCAL_PATH)/src |
| 155 | LOCAL_CFLAGS := -std=gnu99 |
| 156 | include $(BUILD_EXECUTABLE) |
| 157 | |
| 158 | endif # armeabi, armeabi-v7a, or arm64-v8a |
| 159 | |
Marat Dukhan | 0de277f | 2017-09-22 14:25:10 -0700 | [diff] [blame] | 160 | ifeq ($(TARGET_ARCH_ABI),$(filter $(TARGET_ARCH_ABI),x86 x86_64)) |
| 161 | |
| 162 | include $(CLEAR_VARS) |
| 163 | LOCAL_MODULE := cpuid-dump |
| 164 | LOCAL_SRC_FILES := $(LOCAL_PATH)/tools/cpuid-dump.c |
| 165 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/include $(LOCAL_PATH)/src |
| 166 | LOCAL_CFLAGS := -std=gnu99 |
| 167 | include $(BUILD_EXECUTABLE) |
| 168 | |
| 169 | endif # x86, or x86_64 |
| 170 | |
Marat Dukhan | a8fb3dd | 2017-08-09 13:49:39 -0700 | [diff] [blame] | 171 | include $(CLEAR_VARS) |
| 172 | LOCAL_MODULE := gtest |
| 173 | LOCAL_SRC_FILES := $(LOCAL_PATH)/deps/googletest/googletest/src/gtest-all.cc |
| 174 | LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/deps/googletest/googletest/include |
| 175 | LOCAL_C_INCLUDES := $(LOCAL_EXPORT_C_INCLUDES) $(LOCAL_PATH)/deps/googletest/googletest |
| 176 | ifeq ($(TARGET_ARCH_ABI),armeabi) |
| 177 | LOCAL_EXPORT_LDLIBS := -latomic |
| 178 | endif # armeabi |
| 179 | include $(BUILD_STATIC_LIBRARY) |
| 180 | |
| 181 | include $(CLEAR_VARS) |
Marat Dukhan | 006461a | 2017-08-24 16:10:46 -0700 | [diff] [blame] | 182 | LOCAL_MODULE := gtest_main |
| 183 | LOCAL_SRC_FILES := $(LOCAL_PATH)/deps/googletest/googletest/src/gtest_main.cc |
| 184 | LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/deps/googletest/googletest/include |
| 185 | LOCAL_C_INCLUDES := $(LOCAL_EXPORT_C_INCLUDES) $(LOCAL_PATH)/deps/googletest/googletest |
| 186 | include $(BUILD_STATIC_LIBRARY) |
| 187 | |
| 188 | include $(CLEAR_VARS) |
Marat Dukhan | a8fb3dd | 2017-08-09 13:49:39 -0700 | [diff] [blame] | 189 | LOCAL_MODULE := init-test |
| 190 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/init.cc |
| 191 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test |
| 192 | LOCAL_STATIC_LIBRARIES := cpuinfo gtest |
| 193 | include $(BUILD_EXECUTABLE) |
| 194 | |
Marat Dukhan | 3040197 | 2017-09-26 18:35:52 -0700 | [diff] [blame] | 195 | include $(CLEAR_VARS) |
| 196 | LOCAL_MODULE := get-current-test |
| 197 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/get-current.cc |
| 198 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test |
| 199 | LOCAL_STATIC_LIBRARIES := cpuinfo gtest |
| 200 | include $(BUILD_EXECUTABLE) |
Marat Dukhan | a8fb3dd | 2017-08-09 13:49:39 -0700 | [diff] [blame] | 201 | |
| 202 | ifeq ($(TARGET_ARCH_ABI),$(filter $(TARGET_ARCH_ABI),armeabi armeabi-v7a)) |
| 203 | |
| 204 | include $(CLEAR_VARS) |
Marat Dukhan | f18db83 | 2017-11-28 11:10:10 -0800 | [diff] [blame] | 205 | LOCAL_MODULE := atm7029b-tablet-test |
| 206 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/atm7029b-tablet.cc |
| 207 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 208 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 209 | include $(BUILD_EXECUTABLE) |
| 210 | |
| 211 | include $(CLEAR_VARS) |
Marat Dukhan | 1aeee8e | 2017-08-10 17:33:45 -0700 | [diff] [blame] | 212 | LOCAL_MODULE := blu-r1-hd-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 213 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/blu-r1-hd.cc |
| 214 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | 1aeee8e | 2017-08-10 17:33:45 -0700 | [diff] [blame] | 215 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 216 | include $(BUILD_EXECUTABLE) |
| 217 | |
| 218 | include $(CLEAR_VARS) |
Marat Dukhan | 94f763a | 2017-12-04 16:44:33 -0800 | [diff] [blame] | 219 | LOCAL_MODULE := galaxy-a3-2016-eu-test |
| 220 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/galaxy-a3-2016-eu.cc |
| 221 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 222 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 223 | include $(BUILD_EXECUTABLE) |
| 224 | |
| 225 | include $(CLEAR_VARS) |
Marat Dukhan | f9ccfa3 | 2017-11-27 15:50:06 -0800 | [diff] [blame] | 226 | LOCAL_MODULE := galaxy-a8-2016-duos-test |
| 227 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/galaxy-a8-2016-duos.cc |
| 228 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 229 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 230 | include $(BUILD_EXECUTABLE) |
| 231 | |
| 232 | include $(CLEAR_VARS) |
Marat Dukhan | c90b406 | 2017-08-10 15:45:11 -0700 | [diff] [blame] | 233 | LOCAL_MODULE := galaxy-grand-prime-value-edition-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 234 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/galaxy-grand-prime-value-edition.cc |
| 235 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | c90b406 | 2017-08-10 15:45:11 -0700 | [diff] [blame] | 236 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 237 | include $(BUILD_EXECUTABLE) |
| 238 | |
| 239 | include $(CLEAR_VARS) |
Marat Dukhan | d77e1a2 | 2018-01-04 19:45:06 -0800 | [diff] [blame] | 240 | LOCAL_MODULE := galaxy-j1-2016-test |
| 241 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/galaxy-j1-2016.cc |
| 242 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 243 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 244 | include $(BUILD_EXECUTABLE) |
| 245 | |
| 246 | include $(CLEAR_VARS) |
Marat Dukhan | 126c46d | 2017-12-04 16:24:48 -0800 | [diff] [blame] | 247 | LOCAL_MODULE := galaxy-j5-test |
| 248 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/galaxy-j5.cc |
| 249 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 250 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 251 | include $(BUILD_EXECUTABLE) |
| 252 | |
| 253 | include $(CLEAR_VARS) |
Marat Dukhan | 8443590 | 2017-11-29 15:53:58 -0800 | [diff] [blame] | 254 | LOCAL_MODULE := galaxy-j7-prime-test |
| 255 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/galaxy-j7-prime.cc |
| 256 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 257 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 258 | include $(BUILD_EXECUTABLE) |
| 259 | |
| 260 | include $(CLEAR_VARS) |
Marat Dukhan | 0d2aaa7 | 2017-11-29 15:48:46 -0800 | [diff] [blame] | 261 | LOCAL_MODULE := galaxy-j7-tmobile-test |
| 262 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/galaxy-j7-tmobile.cc |
| 263 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 264 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 265 | include $(BUILD_EXECUTABLE) |
| 266 | |
| 267 | include $(CLEAR_VARS) |
| 268 | LOCAL_MODULE := galaxy-j7-uae-test |
| 269 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/galaxy-j7-uae.cc |
| 270 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 271 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 272 | include $(BUILD_EXECUTABLE) |
| 273 | |
| 274 | include $(CLEAR_VARS) |
Marat Dukhan | b8a4f12 | 2017-08-10 14:18:50 -0700 | [diff] [blame] | 275 | LOCAL_MODULE := galaxy-s3-us-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 276 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/galaxy-s3-us.cc |
| 277 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | b8a4f12 | 2017-08-10 14:18:50 -0700 | [diff] [blame] | 278 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 279 | include $(BUILD_EXECUTABLE) |
| 280 | |
| 281 | include $(CLEAR_VARS) |
Marat Dukhan | b0ad492 | 2017-08-10 14:07:19 -0700 | [diff] [blame] | 282 | LOCAL_MODULE := galaxy-s4-us-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 283 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/galaxy-s4-us.cc |
| 284 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | b0ad492 | 2017-08-10 14:07:19 -0700 | [diff] [blame] | 285 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 286 | include $(BUILD_EXECUTABLE) |
| 287 | |
| 288 | include $(CLEAR_VARS) |
Marat Dukhan | e1f62e5 | 2017-09-08 17:11:08 -0700 | [diff] [blame] | 289 | LOCAL_MODULE := galaxy-s5-global-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 290 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/galaxy-s5-global.cc |
| 291 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | e1f62e5 | 2017-09-08 17:11:08 -0700 | [diff] [blame] | 292 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 293 | include $(BUILD_EXECUTABLE) |
| 294 | |
| 295 | include $(CLEAR_VARS) |
Marat Dukhan | 16b89c7 | 2017-09-08 17:16:10 -0700 | [diff] [blame] | 296 | LOCAL_MODULE := galaxy-s5-us-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 297 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/galaxy-s5-us.cc |
| 298 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | 16b89c7 | 2017-09-08 17:16:10 -0700 | [diff] [blame] | 299 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 300 | include $(BUILD_EXECUTABLE) |
| 301 | |
| 302 | include $(CLEAR_VARS) |
Marat Dukhan | 6ce014a | 2017-09-14 14:00:41 -0700 | [diff] [blame] | 303 | LOCAL_MODULE := galaxy-tab-3-7.0-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 304 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/galaxy-tab-3-7.0.cc |
| 305 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | 6ce014a | 2017-09-14 14:00:41 -0700 | [diff] [blame] | 306 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 307 | include $(BUILD_EXECUTABLE) |
| 308 | |
| 309 | include $(CLEAR_VARS) |
Marat Dukhan | 15effa5 | 2017-10-19 11:40:12 -0700 | [diff] [blame] | 310 | LOCAL_MODULE := galaxy-tab-3-lite-test |
| 311 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/galaxy-tab-3-lite.cc |
| 312 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 313 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 314 | include $(BUILD_EXECUTABLE) |
| 315 | |
| 316 | include $(CLEAR_VARS) |
Marat Dukhan | 955c3db | 2017-09-14 13:13:46 -0700 | [diff] [blame] | 317 | LOCAL_MODULE := galaxy-win-duos-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 318 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/galaxy-win-duos.cc |
| 319 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | 955c3db | 2017-09-14 13:13:46 -0700 | [diff] [blame] | 320 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 321 | include $(BUILD_EXECUTABLE) |
| 322 | |
| 323 | include $(CLEAR_VARS) |
Marat Dukhan | 115d415 | 2017-10-19 11:24:17 -0700 | [diff] [blame] | 324 | LOCAL_MODULE := huawei-ascend-p7-test |
| 325 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/huawei-ascend-p7.cc |
| 326 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 327 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 328 | include $(BUILD_EXECUTABLE) |
| 329 | |
| 330 | include $(CLEAR_VARS) |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 331 | LOCAL_MODULE := lenovo-a6600-plus-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 332 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/lenovo-a6600-plus.cc |
| 333 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 334 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 335 | include $(BUILD_EXECUTABLE) |
| 336 | |
| 337 | include $(CLEAR_VARS) |
| 338 | LOCAL_MODULE := lenovo-vibe-x2-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 339 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/lenovo-vibe-x2.cc |
| 340 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 341 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 342 | include $(BUILD_EXECUTABLE) |
| 343 | |
| 344 | include $(CLEAR_VARS) |
| 345 | LOCAL_MODULE := lg-k10-eu-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 346 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/lg-k10-eu.cc |
| 347 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 348 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 349 | include $(BUILD_EXECUTABLE) |
| 350 | |
| 351 | include $(CLEAR_VARS) |
Marat Dukhan | dc58d50 | 2018-01-04 20:25:30 -0800 | [diff] [blame] | 352 | LOCAL_MODULE := lg-optimus-g-pro-test |
| 353 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/lg-optimus-g-pro.cc |
| 354 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 355 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 356 | include $(BUILD_EXECUTABLE) |
| 357 | |
| 358 | include $(CLEAR_VARS) |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 359 | LOCAL_MODULE := moto-e-gen1-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 360 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/moto-e-gen1.cc |
| 361 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 362 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 363 | include $(BUILD_EXECUTABLE) |
| 364 | |
| 365 | include $(CLEAR_VARS) |
Marat Dukhan | 92db81f | 2018-01-05 19:01:52 -0800 | [diff] [blame] | 366 | LOCAL_MODULE := moto-g-gen1-test |
| 367 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/moto-g-gen1.cc |
| 368 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 369 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 370 | include $(BUILD_EXECUTABLE) |
| 371 | |
| 372 | include $(CLEAR_VARS) |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 373 | LOCAL_MODULE := moto-g-gen2-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 374 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/moto-g-gen2.cc |
| 375 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 376 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 377 | include $(BUILD_EXECUTABLE) |
| 378 | |
| 379 | include $(CLEAR_VARS) |
| 380 | LOCAL_MODULE := moto-g-gen3-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 381 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/moto-g-gen3.cc |
| 382 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 383 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 384 | include $(BUILD_EXECUTABLE) |
| 385 | |
| 386 | include $(CLEAR_VARS) |
Marat Dukhan | 7682923 | 2018-03-02 12:58:30 -0800 | [diff] [blame] | 387 | LOCAL_MODULE := moto-g-gen4-test |
| 388 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/moto-g-gen4.cc |
| 389 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 390 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 391 | include $(BUILD_EXECUTABLE) |
| 392 | |
| 393 | include $(CLEAR_VARS) |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 394 | LOCAL_MODULE := nexus-s-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 395 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/nexus-s.cc |
| 396 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 397 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 398 | include $(BUILD_EXECUTABLE) |
| 399 | |
| 400 | include $(CLEAR_VARS) |
| 401 | LOCAL_MODULE := nexus4-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 402 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/nexus4.cc |
| 403 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 404 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 405 | include $(BUILD_EXECUTABLE) |
| 406 | |
| 407 | include $(CLEAR_VARS) |
| 408 | LOCAL_MODULE := nexus6-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 409 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/nexus6.cc |
| 410 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 411 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 412 | include $(BUILD_EXECUTABLE) |
| 413 | |
| 414 | include $(CLEAR_VARS) |
Marat Dukhan | 2ca13b2 | 2018-01-04 18:52:46 -0800 | [diff] [blame] | 415 | LOCAL_MODULE := nexus10-test |
| 416 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/nexus10.cc |
| 417 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 418 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 419 | include $(BUILD_EXECUTABLE) |
| 420 | |
| 421 | include $(CLEAR_VARS) |
Marat Dukhan | 5957254 | 2017-11-27 17:22:09 -0800 | [diff] [blame] | 422 | LOCAL_MODULE := padcod-10.1-test |
| 423 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/padcod-10.1.cc |
| 424 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 425 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 426 | include $(BUILD_EXECUTABLE) |
| 427 | |
| 428 | include $(CLEAR_VARS) |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 429 | LOCAL_MODULE := xiaomi-redmi-2a-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 430 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/xiaomi-redmi-2a.cc |
| 431 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 432 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 433 | include $(BUILD_EXECUTABLE) |
| 434 | |
Marat Dukhan | ad74184 | 2017-12-03 23:11:46 -0800 | [diff] [blame] | 435 | include $(CLEAR_VARS) |
| 436 | LOCAL_MODULE := xperia-sl-test |
| 437 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/xperia-sl.cc |
| 438 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 439 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 440 | include $(BUILD_EXECUTABLE) |
| 441 | |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 442 | endif # armeabi, armeabi-v7a |
| 443 | |
| 444 | ifeq ($(TARGET_ARCH_ABI),$(filter $(TARGET_ARCH_ABI),armeabi armeabi-v7a arm64-v8a)) |
| 445 | |
| 446 | include $(CLEAR_VARS) |
Marat Dukhan | c7c0999 | 2017-09-22 12:12:19 -0700 | [diff] [blame] | 447 | LOCAL_MODULE := android_properties_interface |
| 448 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/name/android-properties-interface.c |
| 449 | LOCAL_CFLAGS := -std=gnu99 |
| 450 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/src |
| 451 | LOCAL_STATIC_LIBRARIES := cpuinfo |
| 452 | include $(BUILD_STATIC_LIBRARY) |
| 453 | |
| 454 | include $(CLEAR_VARS) |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 455 | LOCAL_MODULE := chipset-test |
Marat Dukhan | c7c0999 | 2017-09-22 12:12:19 -0700 | [diff] [blame] | 456 | LOCAL_SRC_FILES := \ |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 457 | $(LOCAL_PATH)/test/name/proc-cpuinfo-hardware.cc \ |
| 458 | $(LOCAL_PATH)/test/name/ro-product-board.cc \ |
| 459 | $(LOCAL_PATH)/test/name/ro-board-platform.cc \ |
| 460 | $(LOCAL_PATH)/test/name/ro-mediatek-platform.cc \ |
Marat Dukhan | e5d6049 | 2018-03-08 12:47:27 -0800 | [diff] [blame] | 461 | $(LOCAL_PATH)/test/name/ro-arch.cc \ |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 462 | $(LOCAL_PATH)/test/name/ro-chipname.cc \ |
| 463 | $(LOCAL_PATH)/test/name/android-properties.cc |
| 464 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/src |
Marat Dukhan | c7c0999 | 2017-09-22 12:12:19 -0700 | [diff] [blame] | 465 | LOCAL_STATIC_LIBRARIES := android_properties_interface gtest gtest_main |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 466 | include $(BUILD_EXECUTABLE) |
| 467 | |
| 468 | include $(CLEAR_VARS) |
Marat Dukhan | c1852c7 | 2017-09-21 23:18:11 -0700 | [diff] [blame] | 469 | LOCAL_MODULE := cache-test |
| 470 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/arm-cache.cc |
| 471 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/src |
Marat Dukhan | c7c0999 | 2017-09-22 12:12:19 -0700 | [diff] [blame] | 472 | LOCAL_CFLAGS := -std=gnu++11 -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS |
Marat Dukhan | c1852c7 | 2017-09-21 23:18:11 -0700 | [diff] [blame] | 473 | LOCAL_STATIC_LIBRARIES := cpuinfo gtest gtest_main |
| 474 | include $(BUILD_EXECUTABLE) |
| 475 | |
| 476 | include $(CLEAR_VARS) |
Marat Dukhan | c246e32 | 2018-01-26 11:21:48 -0800 | [diff] [blame] | 477 | LOCAL_MODULE := alcatel-revvl-test |
| 478 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/alcatel-revvl.cc |
| 479 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 480 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 481 | include $(BUILD_EXECUTABLE) |
| 482 | |
| 483 | include $(CLEAR_VARS) |
Marat Dukhan | 89a3f08 | 2018-03-13 11:59:03 -0700 | [diff] [blame] | 484 | LOCAL_MODULE := galaxy-a8-2018-test |
| 485 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/galaxy-a8-2018.cc |
| 486 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 487 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 488 | include $(BUILD_EXECUTABLE) |
| 489 | |
| 490 | include $(CLEAR_VARS) |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 491 | LOCAL_MODULE := galaxy-c9-pro-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 492 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/galaxy-c9-pro.cc |
| 493 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 494 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 495 | include $(BUILD_EXECUTABLE) |
| 496 | |
| 497 | include $(CLEAR_VARS) |
Marat Dukhan | c4236f5 | 2017-08-17 17:32:55 -0700 | [diff] [blame] | 498 | LOCAL_MODULE := galaxy-s6-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 499 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/galaxy-s6.cc |
| 500 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | c4236f5 | 2017-08-17 17:32:55 -0700 | [diff] [blame] | 501 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 502 | include $(BUILD_EXECUTABLE) |
| 503 | |
| 504 | include $(CLEAR_VARS) |
Marat Dukhan | bfd92f2 | 2017-08-09 18:30:38 -0700 | [diff] [blame] | 505 | LOCAL_MODULE := galaxy-s7-us-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 506 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/galaxy-s7-us.cc |
| 507 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | bfd92f2 | 2017-08-09 18:30:38 -0700 | [diff] [blame] | 508 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 509 | include $(BUILD_EXECUTABLE) |
| 510 | |
Marat Dukhan | 2e00fed | 2017-08-10 17:23:43 -0700 | [diff] [blame] | 511 | include $(CLEAR_VARS) |
| 512 | LOCAL_MODULE := galaxy-s7-global-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 513 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/galaxy-s7-global.cc |
| 514 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | 2e00fed | 2017-08-10 17:23:43 -0700 | [diff] [blame] | 515 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 516 | include $(BUILD_EXECUTABLE) |
| 517 | |
Marat Dukhan | 47ad007 | 2017-08-11 01:12:52 -0700 | [diff] [blame] | 518 | include $(CLEAR_VARS) |
| 519 | LOCAL_MODULE := galaxy-s8-us-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 520 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/galaxy-s8-us.cc |
| 521 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | 47ad007 | 2017-08-11 01:12:52 -0700 | [diff] [blame] | 522 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 523 | include $(BUILD_EXECUTABLE) |
| 524 | |
Marat Dukhan | 5d35868 | 2017-08-11 15:21:54 -0700 | [diff] [blame] | 525 | include $(CLEAR_VARS) |
| 526 | LOCAL_MODULE := galaxy-s8-global-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 527 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/galaxy-s8-global.cc |
| 528 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | 5d35868 | 2017-08-11 15:21:54 -0700 | [diff] [blame] | 529 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 530 | include $(BUILD_EXECUTABLE) |
| 531 | |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 532 | include $(CLEAR_VARS) |
Marat Dukhan | d51d395 | 2018-03-17 19:18:06 -0700 | [diff] [blame] | 533 | LOCAL_MODULE := galaxy-s9-us-test |
| 534 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/galaxy-s9-us.cc |
| 535 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 536 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 537 | include $(BUILD_EXECUTABLE) |
| 538 | |
| 539 | include $(CLEAR_VARS) |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 540 | LOCAL_MODULE := huawei-mate-8-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 541 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/huawei-mate-8.cc |
| 542 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 543 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 544 | include $(BUILD_EXECUTABLE) |
| 545 | |
| 546 | include $(CLEAR_VARS) |
Marat Dukhan | b589f1f | 2017-10-19 12:02:00 -0700 | [diff] [blame] | 547 | LOCAL_MODULE := huawei-mate-9-test |
| 548 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/huawei-mate-9.cc |
| 549 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 550 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 551 | include $(BUILD_EXECUTABLE) |
| 552 | |
| 553 | include $(CLEAR_VARS) |
Marat Dukhan | 7be1140 | 2017-11-27 14:57:02 -0800 | [diff] [blame] | 554 | LOCAL_MODULE := huawei-mate-10-test |
| 555 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/huawei-mate-10.cc |
| 556 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 557 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 558 | include $(BUILD_EXECUTABLE) |
| 559 | |
| 560 | include $(CLEAR_VARS) |
Marat Dukhan | 705122f | 2018-01-03 18:24:55 -0800 | [diff] [blame] | 561 | LOCAL_MODULE := huawei-p8-lite-test |
| 562 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/huawei-p8-lite.cc |
| 563 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 564 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 565 | include $(BUILD_EXECUTABLE) |
| 566 | |
| 567 | include $(CLEAR_VARS) |
| 568 | LOCAL_MODULE := huawei-p9-lite-test |
| 569 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/huawei-p9-lite.cc |
| 570 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 571 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 572 | include $(BUILD_EXECUTABLE) |
| 573 | |
| 574 | include $(CLEAR_VARS) |
| 575 | LOCAL_MODULE := iconia-one-10-test |
| 576 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/iconia-one-10.cc |
| 577 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 578 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 579 | include $(BUILD_EXECUTABLE) |
| 580 | |
| 581 | include $(CLEAR_VARS) |
Marat Dukhan | c068a81 | 2017-10-19 18:52:04 -0700 | [diff] [blame] | 582 | LOCAL_MODULE := meizu-pro-6-test |
| 583 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/meizu-pro-6.cc |
| 584 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 585 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 586 | include $(BUILD_EXECUTABLE) |
| 587 | |
| 588 | include $(CLEAR_VARS) |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 589 | LOCAL_MODULE := meizu-pro-6s-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 590 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/meizu-pro-6s.cc |
| 591 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 592 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 593 | include $(BUILD_EXECUTABLE) |
| 594 | |
| 595 | include $(CLEAR_VARS) |
Marat Dukhan | 1c76110 | 2017-10-16 15:00:52 -0700 | [diff] [blame] | 596 | LOCAL_MODULE := meizu-pro-7-plus-test |
| 597 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/meizu-pro-7-plus.cc |
| 598 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 599 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 600 | include $(BUILD_EXECUTABLE) |
| 601 | |
| 602 | include $(CLEAR_VARS) |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 603 | LOCAL_MODULE := nexus5x-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 604 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/nexus5x.cc |
| 605 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 606 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 607 | include $(BUILD_EXECUTABLE) |
| 608 | |
| 609 | include $(CLEAR_VARS) |
| 610 | LOCAL_MODULE := nexus6p-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 611 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/nexus6p.cc |
| 612 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 613 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 614 | include $(BUILD_EXECUTABLE) |
| 615 | |
| 616 | include $(CLEAR_VARS) |
| 617 | LOCAL_MODULE := nexus9-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 618 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/nexus9.cc |
| 619 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 620 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 621 | include $(BUILD_EXECUTABLE) |
| 622 | |
| 623 | include $(CLEAR_VARS) |
Marat Dukhan | 4d4d7e2 | 2018-03-02 10:34:59 -0800 | [diff] [blame] | 624 | LOCAL_MODULE := oneplus-3t-test |
| 625 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/oneplus-3t.cc |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 626 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 627 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 628 | include $(BUILD_EXECUTABLE) |
| 629 | |
| 630 | include $(CLEAR_VARS) |
Marat Dukhan | 52621bb | 2018-03-02 10:51:11 -0800 | [diff] [blame] | 631 | LOCAL_MODULE := oneplus-5-test |
| 632 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/oneplus-5.cc |
| 633 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 634 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 635 | include $(BUILD_EXECUTABLE) |
| 636 | |
| 637 | include $(CLEAR_VARS) |
Marat Dukhan | d00216b | 2018-03-02 11:43:51 -0800 | [diff] [blame] | 638 | LOCAL_MODULE := oneplus-5t-test |
| 639 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/oneplus-5t.cc |
| 640 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 641 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 642 | include $(BUILD_EXECUTABLE) |
| 643 | |
| 644 | include $(CLEAR_VARS) |
Marat Dukhan | 75dd8a1 | 2017-12-04 15:43:02 -0800 | [diff] [blame] | 645 | LOCAL_MODULE := oppo-a37-test |
| 646 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/oppo-a37.cc |
| 647 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 648 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 649 | include $(BUILD_EXECUTABLE) |
| 650 | |
| 651 | include $(CLEAR_VARS) |
Marat Dukhan | 4d4d7e2 | 2018-03-02 10:34:59 -0800 | [diff] [blame] | 652 | LOCAL_MODULE := oppo-r9-test |
| 653 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/oppo-r9.cc |
| 654 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 655 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 656 | include $(BUILD_EXECUTABLE) |
| 657 | |
| 658 | include $(CLEAR_VARS) |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 659 | LOCAL_MODULE := pixel-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 660 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/pixel.cc |
| 661 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 662 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 663 | include $(BUILD_EXECUTABLE) |
| 664 | |
| 665 | include $(CLEAR_VARS) |
| 666 | LOCAL_MODULE := pixel-xl-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 667 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/pixel-xl.cc |
| 668 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 669 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 670 | include $(BUILD_EXECUTABLE) |
| 671 | |
| 672 | include $(CLEAR_VARS) |
| 673 | LOCAL_MODULE := pixel-c-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 674 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/pixel-c.cc |
| 675 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 676 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 677 | include $(BUILD_EXECUTABLE) |
| 678 | |
| 679 | include $(CLEAR_VARS) |
Marat Dukhan | 9bfb107 | 2017-11-27 17:02:25 -0800 | [diff] [blame] | 680 | LOCAL_MODULE := pixel-2-xl-test |
| 681 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/pixel-2-xl.cc |
| 682 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 683 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 684 | include $(BUILD_EXECUTABLE) |
| 685 | |
| 686 | include $(CLEAR_VARS) |
Marat Dukhan | 7d645da | 2017-10-19 18:39:05 -0700 | [diff] [blame] | 687 | LOCAL_MODULE := xiaomi-mi-5c-test |
| 688 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/xiaomi-mi-5c.cc |
| 689 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 690 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 691 | include $(BUILD_EXECUTABLE) |
| 692 | |
| 693 | include $(CLEAR_VARS) |
Marat Dukhan | d617ccd | 2017-10-19 17:55:39 -0700 | [diff] [blame] | 694 | LOCAL_MODULE := xiaomi-redmi-note-3-test |
| 695 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/xiaomi-redmi-note-3.cc |
| 696 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 697 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 698 | include $(BUILD_EXECUTABLE) |
| 699 | |
| 700 | include $(CLEAR_VARS) |
Marat Dukhan | a5fda23 | 2017-12-04 16:08:25 -0800 | [diff] [blame] | 701 | LOCAL_MODULE := xiaomi-redmi-note-4-test |
| 702 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/xiaomi-redmi-note-4.cc |
| 703 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 704 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 705 | include $(BUILD_EXECUTABLE) |
| 706 | |
| 707 | include $(CLEAR_VARS) |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 708 | LOCAL_MODULE := xperia-c4-dual-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 709 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/xperia-c4-dual.cc |
| 710 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | 3e8e1c7 | 2017-09-13 12:15:35 -0700 | [diff] [blame] | 711 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
Marat Dukhan | 006461a | 2017-08-24 16:10:46 -0700 | [diff] [blame] | 712 | include $(BUILD_EXECUTABLE) |
| 713 | |
| 714 | endif # armeabi, armeabi-v7a, or arm64-v8a |
Marat Dukhan | 516b6ea | 2017-09-22 23:14:56 -0700 | [diff] [blame] | 715 | |
| 716 | ifeq ($(TARGET_ARCH_ABI),$(filter $(TARGET_ARCH_ABI),x86 x86_64)) |
| 717 | |
| 718 | include $(CLEAR_VARS) |
| 719 | LOCAL_MODULE := brand-string-test |
| 720 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/name/brand-string.cc |
| 721 | LOCAL_STATIC_LIBRARIES := cpuinfo gtest gtest_main |
| 722 | include $(BUILD_EXECUTABLE) |
| 723 | |
Marat Dukhan | c184860 | 2017-09-26 09:57:55 -0700 | [diff] [blame] | 724 | endif # x86, or x86_64 |
| 725 | |
| 726 | ifeq ($(TARGET_ARCH_ABI),x86) |
| 727 | |
Marat Dukhan | e3ee90d | 2017-09-25 23:23:05 -0700 | [diff] [blame] | 728 | include $(CLEAR_VARS) |
Marat Dukhan | af8a12d | 2017-12-08 16:12:16 -0800 | [diff] [blame] | 729 | LOCAL_MODULE := alldocube-iwork8-test |
| 730 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/alldocube-iwork8.cc |
| 731 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 732 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 733 | include $(BUILD_EXECUTABLE) |
| 734 | |
| 735 | include $(CLEAR_VARS) |
Marat Dukhan | 3b434e6 | 2018-04-07 02:23:55 -0700 | [diff] [blame^] | 736 | LOCAL_MODULE := leagoo-t5c-test |
| 737 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/leagoo-t5c.cc |
| 738 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 739 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 740 | include $(BUILD_EXECUTABLE) |
| 741 | |
| 742 | include $(CLEAR_VARS) |
Marat Dukhan | e3ee90d | 2017-09-25 23:23:05 -0700 | [diff] [blame] | 743 | LOCAL_MODULE := memo-pad-7-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 744 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/memo-pad-7.cc |
| 745 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | e3ee90d | 2017-09-25 23:23:05 -0700 | [diff] [blame] | 746 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 747 | include $(BUILD_EXECUTABLE) |
| 748 | |
| 749 | include $(CLEAR_VARS) |
Marat Dukhan | f77f7aa | 2017-10-19 18:12:28 -0700 | [diff] [blame] | 750 | LOCAL_MODULE := zenfone-c-test |
| 751 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/zenfone-c.cc |
| 752 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 753 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 754 | include $(BUILD_EXECUTABLE) |
| 755 | |
| 756 | include $(CLEAR_VARS) |
Marat Dukhan | e3ee90d | 2017-09-25 23:23:05 -0700 | [diff] [blame] | 757 | LOCAL_MODULE := zenfone-2-test |
Marat Dukhan | cc70cfb | 2017-09-26 19:11:14 -0700 | [diff] [blame] | 758 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/zenfone-2.cc |
| 759 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
Marat Dukhan | e3ee90d | 2017-09-25 23:23:05 -0700 | [diff] [blame] | 760 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 761 | include $(BUILD_EXECUTABLE) |
| 762 | |
Marat Dukhan | 31076d9 | 2017-10-16 12:25:51 -0700 | [diff] [blame] | 763 | include $(CLEAR_VARS) |
| 764 | LOCAL_MODULE := zenfone-2e-test |
| 765 | LOCAL_SRC_FILES := $(LOCAL_PATH)/test/mock/zenfone-2e.cc |
| 766 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/test/mock |
| 767 | LOCAL_STATIC_LIBRARIES := cpuinfo_mock gtest |
| 768 | include $(BUILD_EXECUTABLE) |
| 769 | |
Marat Dukhan | c184860 | 2017-09-26 09:57:55 -0700 | [diff] [blame] | 770 | endif # x86 |