OLD | NEW |
---|---|
(Empty) | |
1 (Just some notes as I go) | |
Bons
2015/08/20 20:16:50
delete
| |
2 | |
3 ## Basic Executable Structure | |
4 * Windows: tiny exe file loads DLL and runs it | |
5 * Mac: multiple exes (app mode / normal) which load the bundle (DLL) and run i t | |
6 * Linux: one big binary, no tricks (yet) | |
7 | |
8 ## Control Flow | |
9 * `main()` lives in the `exe_main` files, which live in `chrome/app/` | |
10 * it loads DLLs and calls into `ChromeMain`, which lives in `dll_main` files i n `chrome/app/` | |
11 * that processes command line args and spawns subprocess types like `BrowserMa in`, `RendererMain` | |
12 * `BrowserMain` is the majority of browser code, living in `chrome/browser/` | |
OLD | NEW |