Index: webrtc/test/testsupport/fileutils.cc |
diff --git a/webrtc/test/testsupport/fileutils.cc b/webrtc/test/testsupport/fileutils.cc |
index 8301e77165d2e1e2d4214db876b9d7fd413bb99e..79abdf281983f502c305618774118a7021dbf271 100644 |
--- a/webrtc/test/testsupport/fileutils.cc |
+++ b/webrtc/test/testsupport/fileutils.cc |
@@ -38,6 +38,11 @@ |
#include "webrtc/typedefs.h" // For architecture defines |
+#if defined(WEBRTC_IOS) |
+// Defined in iosfileutils.mm. No header file to discourage use elsewhere. |
+std::string IOSResourcePath(std::string name, std::string extension); |
+#endif |
+ |
namespace webrtc { |
namespace test { |
@@ -205,6 +210,10 @@ bool CreateDir(std::string directory_name) { |
} |
std::string ResourcePath(std::string name, std::string extension) { |
+#if defined (WEBRTC_IOS) |
+ return IOSResourcePath(name, extension); |
henrika_webrtc
2015/06/11 11:02:34
I should add comments here about what's unique for
tkchin_webrtc
2015/06/12 01:30:26
Probably add it to header file function comments.
henrika_webrtc
2015/06/12 12:52:11
I followed the existing style in unixfilesystem.cc
tkchin_webrtc
2015/06/12 17:43:35
What compiler warnings are you referring to? I mea
henrika_webrtc
2015/06/15 08:46:29
Bad spelling in first version, I did *not* get any
|
+#endif // defined (WEBRTC_IOS) |
+ |
std::string platform = "win"; |
#ifdef WEBRTC_LINUX |
platform = "linux"; |