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

Unified Diff: tools/gn/docs/reference.md

Issue 2071573003: GN: Use implicit dependency for binary input deps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review changes Created 4 years, 6 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 | tools/gn/ninja_binary_target_writer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/docs/reference.md
diff --git a/tools/gn/docs/reference.md b/tools/gn/docs/reference.md
index 760bfe893f3582942bb386868d2264efeb980642..e1ae36e29705b49eef40088e6871174f90ea7131 100644
--- a/tools/gn/docs/reference.md
+++ b/tools/gn/docs/reference.md
@@ -4788,13 +4788,11 @@
files in a target are compiled. So if you depend on generated headers,
you do not typically need to list them in the inputs section.
- Inputs for binary targets will be treated as order-only dependencies,
- meaning that they will be forced up to date before compiling or
- any files in the target, but changes in the inputs will not
- necessarily force the target to compile. This is because it is
- expected that the compiler will report the precise list of input
- dependencies required to recompile each file once the initial build
- is done.
+ Inputs for binary targets will be treated as implicit dependencies,
+ meaning that changes in any of the inputs will force all sources in
+ the target to be recompiled. If an input only applies to a subset of
+ source files, you may want to split those into a separate target to
+ avoid unnecessary recompiles.
```
« no previous file with comments | « no previous file | tools/gn/ninja_binary_target_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698