text: /* 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.
   */
  
  #ifndef __CROS_EC_DRIVER_FINGERPRINT_FPSENSOR_H_
  #define __CROS_EC_DRIVER_FINGERPRINT_FPSENSOR_H_
  
  #if defined(HAVE_PRIVATE) && !defined(EMU_BUILD)
  #define HAVE_FP_PRIVATE_DRIVER
  #include "fpc/fpc_sensor.h"
  #else
  /* These values are used by the host (emulator) tests. */
  #define FP_SENSOR_IMAGE_SIZE 0
  #define FP_SENSOR_RES_X 0
  #define FP_SENSOR_RES_Y 0
  #define FP_ALGORITHM_TEMPLATE_SIZE 0
  #define FP_MAX_FINGER_COUNT 5
  #endif
  
  #if defined(HAVE_PRIVATE) && defined(TEST_BUILD)
  /*
   * For unittest in a private build, enable driver-related code in
   * common/fpsensor/ so that they can be tested (with fp_sensor_mock).
   */
  #define HAVE_FP_PRIVATE_DRIVER
  #endif
  
  #endif /* __CROS_EC_DRIVER_FINGERPRINT_FPSENSOR_H_ */
  