Index: dm/dm_main.cpp |
diff --git a/dm/dm_main.cpp b/dm/dm_main.cpp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ac8e0f3ce0db80c5cb153003028f461879dcaa72 |
--- /dev/null |
+++ b/dm/dm_main.cpp |
@@ -0,0 +1,16 @@ |
+/* |
+ * Copyright 2014 Google Inc. |
+ * |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ */ |
+ |
+#include "CrashHandler.h" |
+#include "SkCommandLineFlags.h" |
+#include "dm.h" |
+ |
+int main(int argc, char * const argv[]) { |
+ SetupCrashHandler(); |
+ SkCommandLineFlags::Parse(argc, const_cast<char**>(argv)); |
+ return dm_main(); |
+} |