summaryrefslogtreecommitdiff
path: root/test/build.mk
blob: 2fcdd3414de4f94bd38b8c5b905dfecd1a0d7f7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# -*- makefile -*-
# Copyright (c) 2013 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.
#
# on-board test binaries build
#

test-list=hello pingpong timer_calib timer_dos timer_jump mutex thermal
test-list+=power_button kb_scan scancode typematic charging
test-list+=flash_overwrite flash_rw_erase utils
#disable: powerdemo

flash_overwrite-y=flash.o
flash_rw_erase-y=flash.o
kb_scan-y=kb_scan.o
mutex-y=mutex.o
pingpong-y=pingpong.o
powerdemo-y=powerdemo.o
timer_calib-y=timer_calib.o
timer_dos-y=timer_dos.o
utils-y=utils.o

# Mock modules for 'thermal'
chip-mock-thermal-lpc.o=mock_lpc.o
chip-mock-thermal-pwm.o=mock_pwm.o
common-mock-thermal-x86_power.o=mock_x86_power.o
common-mock-thermal-temp_sensor.o=mock_temp_sensor.o

# Mock modules for 'power_button'
chip-mock-power_button-gpio.o=mock_gpio.o
chip-mock-power_button-pwm.o=mock_pwm.o
common-mock-power_button-x86_power.o=mock_x86_power.o
common-mock-power_button-i8042.o=mock_i8042.o

# Mock modules for 'scancode'
chip-mock-scancode-keyboard_scan_stub.o=mock_keyboard_scan_stub.o
common-mock-scancode-i8042.o=mock_i8042.o

# Mock modules for 'typematic'
chip-mock-typematic-keyboard_scan_stub.o=mock_keyboard_scan_stub.o
common-mock-typematic-i8042.o=mock_i8042.o

# Mock modules for 'charging'
chip-mock-charging-gpio.o=mock_gpio.o
common-mock-charging-x86_power.o=mock_x86_power.o
common-mock-charging-smart_battery_stub.o=mock_smart_battery_stub.o
common-mock-charging-charger_bq24725.o=mock_charger.o

# Mock modules for 'flash_overwrite'
chip-mock-flash_overwrite-flash.o=mock_flash.o
chip-mock-flash_overwrite-gpio.o=mock_gpio.o

# Mock modules for 'flash_rw_erase'
chip-mock-flash_rw_erase-flash.o=mock_flash.o