Add root_path_android.cc to webrtc/test/Android.mk.
Fixes the broken android-platform build (build that uses .mk files).
TBR=andrew@webrtc.org,henrike@webrtc.org
BUG=
Review URL: https://webrtc-codereview.appspot.com/1777004
git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@4314 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/test/Android.mk b/test/Android.mk
index 20af6f9..73dceea 100644
--- a/test/Android.mk
+++ b/test/Android.mk
@@ -17,6 +17,7 @@
LOCAL_MODULE_TAGS := optional
LOCAL_CPP_EXTENSION := .cc
LOCAL_SRC_FILES:= \
+ testsupport/android/root_path_android.cc \
testsupport/fileutils.cc \
testsupport/perf_test.cc
@@ -36,4 +37,3 @@
include external/stlport/libstlport.mk
endif
include $(BUILD_STATIC_LIBRARY)
-
diff --git a/test/testsupport/android/root_path_android.cc b/test/testsupport/android/root_path_android.cc
index b75a5cc..6eca5f5 100644
--- a/test/testsupport/android/root_path_android.cc
+++ b/test/testsupport/android/root_path_android.cc
@@ -14,7 +14,7 @@
namespace test {
static const char* kRootDirName = "/sdcard/";
-std::string ProjectRoothPathAndroid() {
+std::string ProjectRootPathAndroid() {
return kRootDirName;
}
diff --git a/test/testsupport/android/root_path_android_chromium.cc b/test/testsupport/android/root_path_android_chromium.cc
index 1db73ae..f8e65f4 100644
--- a/test/testsupport/android/root_path_android_chromium.cc
+++ b/test/testsupport/android/root_path_android_chromium.cc
@@ -20,7 +20,7 @@
// The Android testing framework will push files relative to the root path of
// the Chromium workspace. The root path for webrtc is one directory up from
// trunk/webrtc (in standalone) or src/third_party/webrtc (in Chromium).
-std::string ProjectRoothPathAndroid() {
+std::string ProjectRootPathAndroid() {
base::FilePath root_path;
base::android::GetExternalStorageDirectory(&root_path);
return root_path.value() + "/";
diff --git a/test/testsupport/fileutils.cc b/test/testsupport/fileutils.cc
index 84945ff..d4354d8 100644
--- a/test/testsupport/fileutils.cc
+++ b/test/testsupport/fileutils.cc
@@ -57,7 +57,7 @@
const char* kCannotFindProjectRootDir = "ERROR_CANNOT_FIND_PROJECT_ROOT_DIR";
std::string OutputPathAndroid();
-std::string ProjectRoothPathAndroid();
+std::string ProjectRootPathAndroid();
void SetExecutablePath(const std::string& path) {
std::string working_dir = WorkingDir();
@@ -93,7 +93,7 @@
#ifdef WEBRTC_ANDROID
std::string ProjectRootPath() {
- return ProjectRoothPathAndroid();
+ return ProjectRootPathAndroid();
}
std::string OutputPath() {