| OLD | NEW |
| 1 # GN Check | 1 # GN Check |
| 2 | 2 |
| 3 GN has several different ways to check dependencies. Many of them are checked by | 3 GN has several different ways to check dependencies. Many of them are checked by |
| 4 the `gn check` command. Running checks involve opening and scanning all source | 4 the `gn check` command. Running checks involve opening and scanning all source |
| 5 files so this isn't run every time a build is updated. To run check on an | 5 files so this isn't run every time a build is updated. To run check on an |
| 6 existing build: | 6 existing build: |
| 7 | 7 |
| 8 gn check out/mybuild | 8 gn check out/mybuild |
| 9 | 9 |
| 10 To run the check as part of the "gen" command to update the build (this is what | 10 To run the check as part of the "gen" command to update the build (this is what |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 only public dependencies. | 103 only public dependencies. |
| 104 | 104 |
| 105 ### What gets checked | 105 ### What gets checked |
| 106 | 106 |
| 107 Chrome currently doesn't come close to passing a `gn check` pass. You can check | 107 Chrome currently doesn't come close to passing a `gn check` pass. You can check |
| 108 specific targets or subtrees for issues: | 108 specific targets or subtrees for issues: |
| 109 | 109 |
| 110 gn check out/mybuild //base | 110 gn check out/mybuild //base |
| 111 | 111 |
| 112 gn check out/mybuild "//mojo/*" | 112 gn check out/mybuild "//mojo/*" |
| OLD | NEW |