Skip to content

Commit 647d04c

Browse files
codebytereckerr
authored andcommitted
Add brightray to src code structure (electron#11878)
* add brightray to src code structure * try new code flag
1 parent efb4405 commit 647d04c

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

docs/development/source-code-directory-structure.md

+11-10
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ to understand the source code better.
99

1010
## Structure of Source Code
1111

12-
```sh
12+
```diff
1313
Electron
1414
├── atom/ - C++ source code.
1515
| ├── app/ - System entry code.
@@ -30,6 +30,7 @@ Electron
3030
| loop into Chromium's message loop.
3131
| └── api/ - The implementation of common APIs, and foundations of
3232
| Electron's built-in modules.
33+
├── brightray/ - Thin shim over libcc that makes it easier to use.
3334
├── chromium_src/ - Source code copied from Chromium. See below.
3435
├── default_app/ - The default page to show when Electron is started without
3536
| providing an app.
@@ -49,15 +50,15 @@ Electron
4950

5051
## `/chromium_src`
5152

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
6162
libcc patches we maintain now.
6263

6364
## Structure of Other Directories

0 commit comments

Comments
 (0)