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

Side by Side Diff: chrome/app/chrome_exe_main_mac.cc

Issue 1412803002: Switch Chrome to dlopen() the Google Chrome Framework.framework. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a shim so that Chrome does not link chrome_dll Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // The entry point for all Mac Chromium processes, including the outer app
6 // bundle (browser) and helper app (renderer, plugin, and friends).
7
8 #include <stdlib.h>
9
10 extern "C" {
11 int ChromeMain(int argc, char** argv);
12 } // extern "C"
13
14 __attribute__((visibility("default")))
15 int main(int argc, char* argv[]) {
16 int rv = ChromeMain(argc, argv);
17
18 // exit, don't return from main, to avoid the apparent removal of main from
19 // stack backtraces under tail call optimization.
20 exit(rv);
21 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698