OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 | 50 |
51 namespace { | 51 namespace { |
52 | 52 |
53 #ifdef WIN32 | 53 #ifdef WIN32 |
54 const char* kPathDelimiter = "\\"; | 54 const char* kPathDelimiter = "\\"; |
55 #else | 55 #else |
56 const char* kPathDelimiter = "/"; | 56 const char* kPathDelimiter = "/"; |
57 #endif | 57 #endif |
58 | 58 |
59 #ifdef WEBRTC_ANDROID | 59 #ifdef WEBRTC_ANDROID |
60 const char* kRootDirName = "/sdcard/"; | 60 const char* kRootDirName = "/sdcard/chromium_tests_root/"; |
61 #else | 61 #else |
62 // The file we're looking for to identify the project root dir. | 62 // The file we're looking for to identify the project root dir. |
63 const char* kProjectRootFileName = "DEPS"; | 63 const char* kProjectRootFileName = "DEPS"; |
64 #if !defined(WEBRTC_IOS) | 64 #if !defined(WEBRTC_IOS) |
65 const char* kOutputDirName = "out"; | 65 const char* kOutputDirName = "out"; |
66 #endif | 66 #endif |
67 const char* kFallbackPath = "./"; | 67 const char* kFallbackPath = "./"; |
68 #endif // !defined(WEBRTC_ANDROID) | 68 #endif // !defined(WEBRTC_ANDROID) |
69 | 69 |
70 #if !defined(WEBRTC_IOS) | 70 #if !defined(WEBRTC_IOS) |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 if (fseek(f, 0, SEEK_END) == 0) { | 271 if (fseek(f, 0, SEEK_END) == 0) { |
272 size = ftell(f); | 272 size = ftell(f); |
273 } | 273 } |
274 fclose(f); | 274 fclose(f); |
275 } | 275 } |
276 return size; | 276 return size; |
277 } | 277 } |
278 | 278 |
279 } // namespace test | 279 } // namespace test |
280 } // namespace webrtc | 280 } // namespace webrtc |
OLD | NEW |