21 lines
723 B
Plaintext
21 lines
723 B
Plaintext
/* 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 */
|