Updating XTBs based on .GRDs from branch master
[chromium-blink-merge.git] / chrome / app / chrome_exe_main_mac.cc
blob83a5c7c6c8d511cdfd6fee838ad43594208719b5
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.
5 // The entry point for all Mac Chromium processes, including the outer app
6 // bundle (browser) and helper app (renderer, plugin, and friends).
8 #include <stdlib.h>
10 extern "C" {
11 int ChromeMain(int argc, char** argv);
12 } // extern "C"
14 __attribute__((visibility("default")))
15 int main(int argc, char* argv[]) {
16 int rv = ChromeMain(argc, argv);
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);