| /* 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 */ |