| Index: tools/gn/header_checker.h
|
| diff --git a/tools/gn/header_checker.h b/tools/gn/header_checker.h
|
| index 2df2ca502a9ee2ba35d0a45c9537fc9c3fae4cae..dad91cd7e05d467b000b22c94db887cdae9fa9a5 100644
|
| --- a/tools/gn/header_checker.h
|
| +++ b/tools/gn/header_checker.h
|
| @@ -58,11 +58,20 @@ class HeaderChecker : public base::RefCountedThreadSafe<HeaderChecker> {
|
| ~HeaderChecker();
|
|
|
| struct TargetInfo {
|
| - TargetInfo() : target(NULL), is_public(false) {}
|
| - TargetInfo(const Target* t, bool p) : target(t), is_public(p) {}
|
| + TargetInfo() : target(NULL), is_public(false), is_generated(false) {}
|
| + TargetInfo(const Target* t, bool is_pub, bool is_gen)
|
| + : target(t),
|
| + is_public(is_pub),
|
| + is_generated(is_gen) {
|
| + }
|
|
|
| const Target* target;
|
| +
|
| + // True if the file is public in the given target.
|
| bool is_public;
|
| +
|
| + // True if this file is generated and won't actually exist on disk.
|
| + bool is_generated;
|
| };
|
|
|
| typedef std::vector<TargetInfo> TargetVector;
|
|
|