Read ptypes.txt from /sdcard on android

BUG=
TEST=local
Review URL: https://webrtc-codereview.appspot.com/733011

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2648 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
leozwang@webrtc.org 2012-08-21 15:17:12 +00:00
parent 969d5f387b
commit 510c1e36fe

View File

@ -357,6 +357,8 @@ int main(int argc, char* argv[])
#ifdef WIN32
_splitpath(argv[0],outdrive,outpath,outfile,outext);
_makepath(ptypesfile,outdrive,outpath,"ptypes","txt");
#elif defined(WEBRTC_ANDROID)
strcpy(ptypesfile, "/sdcard/ptypes.txt");
#else
// TODO(hlundin): Include path to ptypes, as for WIN32 above.
strcpy(ptypesfile, "ptypes.txt");