Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Unified Diff: docs/build_systems.md

Issue 2457813002: Update and fix some markdown docs (Closed)
Patch Set: . Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | docs/chromium_integration.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: docs/build_systems.md
diff --git a/docs/build_systems.md b/docs/build_systems.md
index d1cb884b5a40556db568237a241ebd947e10e968..9645ed53a571e90239b0982a452dc7ab7bec1105 100644
--- a/docs/build_systems.md
+++ b/docs/build_systems.md
@@ -1,4 +1,4 @@
-<font color='red'>This page is deprecated. Its contents have been moved to <a href='http://sites.google.com/a/chromium.org/dev/nativeclient/native-client-documentation-index/build-tcb'>http://sites.google.com/a/chromium.org/dev/nativeclient/native-client-documentation-index/build-tcb</a></font>
+**This page is deprecated. Its contents have been [moved](https://www.chromium.org/nativeclient/how-tos/build-tcb).**
## What build system(s) is Native Client using?
@@ -7,7 +7,7 @@ The primary build system used by Native Client is [Scons]
an extension call Hammer.
The parts of the system shared with Chrome are also built using Chrome's build
-system, Gyp.
+system, gn.
We also have some Makefiles and some shell scripts for certain build tasks.
@@ -26,21 +26,26 @@ For SCons it is: SConstruct, `**/build.scons`, `**/nacl.scons` There are also
relevant configuration files in `site_scons/site_tools/*`, and random Python
scripts located here and there.
-For Gyp it is: `**/*.gyp` and `**/*.gypi`
+For gn it is: `**/*.gn` and `**/*.gni`
## What is the difference between trusted and untrusted code?
-"trusted code" encompasses components like: * the browser plugin * service
-runtime (sel\_ldr) It is compiled using regular compilers. Bugs in trusted code
-can compromise system security, hence the name. As far as the build system is
-concerned trusted code is described in `**/build.scons` files. The Gyp system
-only code trusted code. "trusted code" lives in `src/trusted/**`
-
-"untrusted code" encompasses components like: * quake and other examples of
-Native Client executables * libraries necessary to build quake It is compiled
-using special sandboxing compilers. As far as the build system is concerned
-trusted code is described in `**/nacl.scons` files. "untrusted code" lives in
-`src/untrusted/**` and also in `tests/**`
+"trusted code" encompasses components like:
+* the browser plugin
+* service runtime (`sel_ldr`)
+
+It is compiled using regular compilers. Bugs in trusted code can compromise
+system security, hence the name. As far as the build system is concerned
+trusted code is described in `**/build.scons` files. The gn system only code
+trusted code. "trusted code" lives in `src/trusted/**`
+
+"untrusted code" encompasses components like:
+* quake and other examples of Native Client executables
+* libraries necessary to build quake
+
+It is compiled using special sandboxing compilers. As far as the build system is
+concerned trusted code is described in `**/nacl.scons` files. "untrusted code"
+lives in `src/untrusted/**` and also in `tests/**`
Some code can be compiled either as trusted or shared code, e.g. libraries that
facilitate communication between trusted and untrusted code. Such code typically
« no previous file with comments | « no previous file | docs/chromium_integration.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698