commit
14f2fe214f
@ -10,7 +10,7 @@ int CodecUtMain (int argc , char** argv) {
|
|||||||
int main (int argc, char** argv) {
|
int main (int argc, char** argv) {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(ANDROID_NDK)
|
#if (defined(ANDROID_NDK)||defined(APPLE_IOS))
|
||||||
char xmlPath[1024] = "";
|
char xmlPath[1024] = "";
|
||||||
sprintf (xmlPath, "xml:%s", argv[1]);
|
sprintf (xmlPath, "xml:%s", argv[1]);
|
||||||
::testing::GTEST_FLAG (output) = xmlPath;
|
::testing::GTEST_FLAG (output) = xmlPath;
|
||||||
|
@ -53,6 +53,7 @@ int main(int argc, char * argv[])
|
|||||||
argv[0]="codec_unittest";
|
argv[0]="codec_unittest";
|
||||||
argv[1]=path;
|
argv[1]=path;
|
||||||
CodecUtMain(argc,argv);
|
CodecUtMain(argc,argv);
|
||||||
|
abort();
|
||||||
@autoreleasepool {
|
@autoreleasepool {
|
||||||
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
|
return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user