summaryrefslogtreecommitdiff
path: root/test/fpsensor.mocklist
blob: 84972487c99acef1c126cf5973cc18c184a00205 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* Copyright 2019 The ChromiumOS Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#ifdef BOARD_HOST
#define CONFIG_TEST_MOCK_LIST \
	MOCK(FPSENSOR)       \
	MOCK(FPSENSOR_CRYPTO) \
	MOCK(FPSENSOR_DETECT) \
	MOCK(FPSENSOR_STATE)  \
	MOCK(MKBP_EVENTS)     \
	MOCK(ROLLBACK)        \
	MOCK(TIMER)
#elif defined(TEST_BUILD)
/* Mock the sensor detection on dragonclaw v0.2 dev boards since we can't
 * otherwise change the detected version in hardware without a rework. See
 * https://chromium.googlesource.com/chromiumos/platform/ec/+/HEAD/docs/schematics/dragonclaw
 */
#define CONFIG_TEST_MOCK_LIST MOCK(FPSENSOR_DETECT)
#endif /* BOARD_HOST */