Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(477)

Unified Diff: chrome/app/chrome_exe_main_mac.mm

Issue 7726007: Don't build the main executable binaries as Objective-C (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/chrome_exe_main_mac.cc ('k') | chrome/app/chrome_main_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/chrome_exe_main_mac.mm
===================================================================
--- chrome/app/chrome_exe_main_mac.mm (revision 98054)
+++ chrome/app/chrome_exe_main_mac.mm (working copy)
@@ -1,21 +0,0 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// The entry point for all Mac Chromium processes, including the outer app
-// bundle (browser) and helper app (renderer, plugin, and friends).
-
-#include <stdlib.h>
-
-extern "C" {
-int ChromeMain(int argc, char** argv);
-}
-
-__attribute__((visibility("default")))
-int main(int argc, char* argv[]) {
- int rv = ChromeMain(argc, argv);
-
- // exit, don't return from main, to avoid the apparent removal of main from
- // stack backtraces under tail call optimization.
- exit(rv);
-}
« no previous file with comments | « chrome/app/chrome_exe_main_mac.cc ('k') | chrome/app/chrome_main_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698