blob: 7e8240bb8d1a9f01cbcb2fd7790527f09452e00a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/* Copyright 2019 The Chromium OS Authors. All rights reserved.
* 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(FP_SENSOR) \
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/+/refs/heads/master/docs/schematics/dragonclaw
*/
#define CONFIG_TEST_MOCK_LIST MOCK(FPSENSOR_DETECT)
#endif /* BOARD_HOST */
|