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