Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9f1cf253 authored by Mark Salyzyn's avatar Mark Salyzyn
Browse files

switch to using android-base/file.h instead of android-base/test_utils.h

Test: compile
Bug: 119313545
Change-Id: I4f7ad84743e974b4b4d1d7256088f6c8b749a237
parent e77298ce
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -28,7 +28,6 @@
#include <string>
#include <string>


#include <android-base/file.h>
#include <android-base/file.h>
#include <android-base/test_utils.h>


// All of these tests fail on Windows because they use the C Runtime open(),
// All of these tests fail on Windows because they use the C Runtime open(),
// but the adb_io APIs expect file descriptors from adb_open(). This could
// but the adb_io APIs expect file descriptors from adb_open(). This could
+1 −1
Original line number Original line Diff line number Diff line
@@ -30,8 +30,8 @@


#include "sysdeps.h"
#include "sysdeps.h"


#include <android-base/file.h>
#include <android-base/macros.h>
#include <android-base/macros.h>
#include <android-base/test_utils.h>


#ifdef _WIN32
#ifdef _WIN32
static std::string subdir(const char* parent, const char* child) {
static std::string subdir(const char* parent, const char* child) {
+0 −1
Original line number Original line Diff line number Diff line
@@ -30,7 +30,6 @@
#include "android-base/file.h"
#include "android-base/file.h"
#include "android-base/stringprintf.h"
#include "android-base/stringprintf.h"
#include "android-base/strings.h"
#include "android-base/strings.h"
#include "android-base/test_utils.h"
#include "client/file_sync_client.h"
#include "client/file_sync_client.h"
#include "commandline.h"
#include "commandline.h"
#include "fastdeploy.h"
#include "fastdeploy.h"
+1 −1
Original line number Original line Diff line number Diff line
@@ -16,7 +16,7 @@


#include <string>
#include <string>


#include <android-base/test_utils.h>
#include <android-base/file.h>
#include <gtest/gtest.h>
#include <gtest/gtest.h>


#include "adb_utils.h"
#include "adb_utils.h"
+1 −1
Original line number Original line Diff line number Diff line
@@ -18,7 +18,7 @@


#include "sysdeps.h"
#include "sysdeps.h"


#include <android-base/test_utils.h>
#include <android-base/file.h>


TEST(sysdeps_win32, adb_getenv) {
TEST(sysdeps_win32, adb_getenv) {
    // Insert all test env vars before first call to adb_getenv() which will
    // Insert all test env vars before first call to adb_getenv() which will
Loading