@@ -9,7 +9,7 @@ to understand the source code better.
9
9
10
10
## Structure of Source Code
11
11
12
- ``` sh
12
+ ``` diff
13
13
Electron
14
14
├── atom/ - C++ source code.
15
15
| ├── app/ - System entry code.
@@ -30,6 +30,7 @@ Electron
30
30
| loop into Chromium's message loop.
31
31
| └── api/ - The implementation of common APIs, and foundations of
32
32
| Electron's built-in modules.
33
+ ├── brightray/ - Thin shim over libcc that makes it easier to use.
33
34
├── chromium_src/ - Source code copied from Chromium. See below.
34
35
├── default_app/ - The default page to show when Electron is started without
35
36
| providing an app.
@@ -49,15 +50,15 @@ Electron
49
50
50
51
## ` /chromium_src `
51
52
52
- The files in `/chromium_src` tend to be pieces of Chromium that aren' t part of
53
- the content layer. For example to implement Pepper API, we need some wiring
54
- similar to what official Chrome does. We could have built the relevant
55
- sources as a part of [libcc](../glossary.md#libchromiumcontent) but most
56
- often we don' t require all the features (some tend to be proprietary,
57
- analytics stuff) so we just took parts of the code. These could have easily
58
- been patches in libcc, but at the time when these were written the goal of
59
- libcc was to maintain very minimal patches and chromium_src changes tend to be
60
- big ones. Also, note that these patches can never be upstreamed unlike other
53
+ The files in ` /chromium_src ` tend to be pieces of Chromium that aren't part of
54
+ the content layer. For example to implement Pepper API, we need some wiring
55
+ similar to what official Chrome does. We could have built the relevant
56
+ sources as a part of [ libcc] ( ../glossary.md#libchromiumcontent ) but most
57
+ often we don't require all the features (some tend to be proprietary,
58
+ analytics stuff) so we just took parts of the code. These could have easily
59
+ been patches in libcc, but at the time when these were written the goal of
60
+ libcc was to maintain very minimal patches and chromium_src changes tend to be
61
+ big ones. Also, note that these patches can never be upstreamed unlike other
61
62
libcc patches we maintain now.
62
63
63
64
## Structure of Other Directories
0 commit comments