mirror of
https://git.freebsd.org/ports.git
synced 2025-06-19 03:30:32 -04:00
Changes: https://android.googlesource.com/platform/system/core/+log/android-7.0.0_r1..android-7.1.0_r4/adb Changes: https://android.googlesource.com/platform/system/core/+log/android-7.0.0_r1..android-7.1.0_r4/fastboot
18 lines
809 B
C++
18 lines
809 B
C++
--- adb/bugreport_test.cpp.orig 2016-09-28 18:07:09 UTC
|
|
+++ adb/bugreport_test.cpp
|
|
@@ -40,6 +40,7 @@ using ::testing::internal::CaptureStdout
|
|
using ::testing::internal::GetCapturedStderr;
|
|
using ::testing::internal::GetCapturedStdout;
|
|
|
|
+#ifdef __linux__
|
|
// Empty function so tests don't need to be linked against file_sync_service.cpp, which requires
|
|
// SELinux and its transitive dependencies...
|
|
bool do_sync_pull(const std::vector<const char*>& srcs, const char* dst, bool copy_attrs,
|
|
@@ -47,6 +48,7 @@ bool do_sync_pull(const std::vector<cons
|
|
ADD_FAILURE() << "do_sync_pull() should have been mocked";
|
|
return false;
|
|
}
|
|
+#endif
|
|
|
|
// Empty functions so tests don't need to be linked against commandline.cpp
|
|
DefaultStandardStreamsCallback DEFAULT_STANDARD_STREAMS_CALLBACK(nullptr, nullptr);
|