Make iOS main() functions normal.
The weird foo_mains are no longer needed when we build with GN.
CQ_INCLUDE_TRYBOTS=skia.primary:Build-Mac-Clang-arm-Debug-iOS
Change-Id: Iae50696741e0dc277d96dda4968a1ae41cb17c8a
Reviewed-on: https://skia-review.googlesource.com/8064
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Stephan Altmueller <stephana@google.com>
diff --git a/tools/skpinfo.cpp b/tools/skpinfo.cpp
index be2aa22..104322f 100644
--- a/tools/skpinfo.cpp
+++ b/tools/skpinfo.cpp
@@ -29,8 +29,7 @@
static const int kMissingInput = 4;
static const int kIOError = 5;
-int tool_main(int argc, char** argv);
-int tool_main(int argc, char** argv) {
+int main(int argc, char** argv) {
SkCommandLineFlags::SetUsage("Prints information about an skp file");
SkCommandLineFlags::Parse(argc, argv);
@@ -176,9 +175,3 @@
return kSuccess;
}
-
-#if !defined SK_BUILD_FOR_IOS
-int main(int argc, char * const argv[]) {
- return tool_main(argc, (char**) argv);
-}
-#endif