Chromium Code Reviews| Index: docs/startup.md |
| diff --git a/docs/startup.md b/docs/startup.md |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..02cd0535f76842af02c2f7c61b3a903e20129823 |
| --- /dev/null |
| +++ b/docs/startup.md |
| @@ -0,0 +1,12 @@ |
| +(Just some notes as I go) |
|
Bons
2015/08/20 20:16:50
delete
|
| + |
| +## Basic Executable Structure |
| + * Windows: tiny exe file loads DLL and runs it |
| + * Mac: multiple exes (app mode / normal) which load the bundle (DLL) and run it |
| + * Linux: one big binary, no tricks (yet) |
| + |
| +## Control Flow |
| + * `main()` lives in the `exe_main` files, which live in `chrome/app/` |
| + * it loads DLLs and calls into `ChromeMain`, which lives in `dll_main` files in `chrome/app/` |
| + * that processes command line args and spawns subprocess types like `BrowserMain`, `RendererMain` |
| + * `BrowserMain` is the majority of browser code, living in `chrome/browser/` |