Index: services/files/futimens_android.cc |
diff --git a/sky/shell/gpu_delegate.cc b/services/files/futimens_android.cc |
similarity index 50% |
copy from sky/shell/gpu_delegate.cc |
copy to services/files/futimens_android.cc |
index 62fe84c40bc9274136ef867093f5f6a7e872588f..035f61db33b114614177791a19407caa902ae6fe 100644 |
--- a/sky/shell/gpu_delegate.cc |
+++ b/services/files/futimens_android.cc |
@@ -2,13 +2,12 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "sky/shell/gpu_delegate.h" |
+#include "services/files/futimens.h" |
-namespace sky { |
-namespace shell { |
+extern "C" { |
-GPUDelegate::~GPUDelegate() { |
+int futimens(int fd, const struct timespec times[2]) { |
+ return utimensat(fd, nullptr, times, 0); |
} |
-} // namespace shell |
-} // namespace sky |
+} // extern "C" |