From 7f19d100b5ed76e8c51155b5e2698cf5802e1da6 Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Fri, 26 Apr 2019 22:56:56 -0700 Subject: Add install/wipe_device.cpp. Prior to this CL, GetWipePartitionList was declared in install.h (libinstall) but defined in recovery.cpp (librecovery). This CL addresses the issue by refactoring wipe-device related functions into install/wipe_device.cpp. Test: atest recovery_component_test Change-Id: I7ebe04ccfda3d793e085403560a0a202752d9ee3 --- tests/component/install_test.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/component/install_test.cpp') diff --git a/tests/component/install_test.cpp b/tests/component/install_test.cpp index 385132939..36820f837 100644 --- a/tests/component/install_test.cpp +++ b/tests/component/install_test.cpp @@ -33,6 +33,7 @@ #include #include "install/install.h" +#include "install/wipe_device.h" #include "otautil/paths.h" #include "private/setup_commands.h" -- cgit v1.2.3