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:
parent
969d5f387b
commit
510c1e36fe
@ -357,6 +357,8 @@ int main(int argc, char* argv[])
|
|||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
_splitpath(argv[0],outdrive,outpath,outfile,outext);
|
_splitpath(argv[0],outdrive,outpath,outfile,outext);
|
||||||
_makepath(ptypesfile,outdrive,outpath,"ptypes","txt");
|
_makepath(ptypesfile,outdrive,outpath,"ptypes","txt");
|
||||||
|
#elif defined(WEBRTC_ANDROID)
|
||||||
|
strcpy(ptypesfile, "/sdcard/ptypes.txt");
|
||||||
#else
|
#else
|
||||||
// TODO(hlundin): Include path to ptypes, as for WIN32 above.
|
// TODO(hlundin): Include path to ptypes, as for WIN32 above.
|
||||||
strcpy(ptypesfile, "ptypes.txt");
|
strcpy(ptypesfile, "ptypes.txt");
|
||||||
|
Loading…
Reference in New Issue
Block a user