summaryrefslogtreecommitdiff
path: root/board/host/build.mk
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2013-09-16 15:44:19 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-09-19 23:30:03 +0000
commit883dd51006600d78ccfc6c6ff73a66943492538e (patch)
treed1912eee4a95dfa385a87d7bbbca59a55fa2b137 /board/host/build.mk
parenta7f5224a83ac58b569a0a3c3c95549d38f448171 (diff)
downloadchrome-ec-883dd51006600d78ccfc6c6ff73a66943492538e.tar.gz
cleanup: move test mocks to board/host and remove unused mocks
Now that we have a better test framework in place, mock implementations go in either chip/host/ or board/host/, depending on whether they're mocking chip or common/board functionality. Move the remaining mocks there. Also, several mocks were neither compiled nor used, and haven't kept pace with other refactoring; delete those. BUG=chrome-os-partner:18343 BRANCH=none TEST=build all board; pass all unit tests Change-Id: Ie2a81c3ccd4506679192d979aa87fe7ed6c1c5a0 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/169873
Diffstat (limited to 'board/host/build.mk')
-rw-r--r--board/host/build.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/host/build.mk b/board/host/build.mk
index 8b6ee6d2be..42cd2f61b9 100644
--- a/board/host/build.mk
+++ b/board/host/build.mk
@@ -10,3 +10,4 @@ CHIP:=host
board-y=board.o
board-$(HAS_TASK_CHIPSET)+=chipset.o
+board-$(CONFIG_BATTERY_MOCK)+=smart_battery.o charger.o