chrome_exe_main_aura.cc revision 5821806d5e7f356e8fa4b058a389a808ea183019
148486893f46d2e12e926682a3ecb908716bc66c4Chris Lattner// Copyright (c) 2011 The Chromium Authors. All rights reserved.
29769ab22265b313171d201b5928688524a01bd87Misha Brukman// Use of this source code is governed by a BSD-style license that can be
36fbcc26f1460eaee4e0eb8b426fc1ff0c7af11beJohn Criswell// found in the LICENSE file.
46fbcc26f1460eaee4e0eb8b426fc1ff0c7af11beJohn Criswell
57ed47a13356daed2a34cd2209a31f92552e3bdd8Chris Lattner#include "build/build_config.h"
67ed47a13356daed2a34cd2209a31f92552e3bdd8Chris Lattner
79769ab22265b313171d201b5928688524a01bd87Misha Brukman// The entry point for all invocations of Chromium, browser and renderer. On
86fbcc26f1460eaee4e0eb8b426fc1ff0c7af11beJohn Criswell// windows, this does nothing but load chrome.dll and invoke its entry point in
9a69fd903585a665c031d5aa3fdfb8dc919b44befChris Lattner// order to make it easy to update the app from GoogleUpdate. We don't need
10a69fd903585a665c031d5aa3fdfb8dc919b44befChris Lattner// that extra layer with on linux.
11a69fd903585a665c031d5aa3fdfb8dc919b44befChris Lattner
12a69fd903585a665c031d5aa3fdfb8dc919b44befChris Lattnerextern "C" {
13a69fd903585a665c031d5aa3fdfb8dc919b44befChris Lattnerint ChromeMain(int argc, const char** argv);
14674be02d525d4e24bc6943ed9274958c580bcfbcJakub Staszak}
15674be02d525d4e24bc6943ed9274958c580bcfbcJakub Staszak
16a69fd903585a665c031d5aa3fdfb8dc919b44befChris Lattnerint main(int argc, const char** argv) {
1736b56886974eae4f9c5ebc96befd3e7bfe5de338Stephen Hines  return ChromeMain(argc, argv);
18a69fd903585a665c031d5aa3fdfb8dc919b44befChris Lattner}
19d0fde30ce850b78371fd1386338350591f9ff494Brian Gaeke