Index: tools/gn/label_ptr.h |
diff --git a/tools/gn/label_ptr.h b/tools/gn/label_ptr.h |
index 771b14ba3fce1a767a6d8405433d32afb8c7a405..4f1a54f10987660858edd599f30424c8feef5891 100644 |
--- a/tools/gn/label_ptr.h |
+++ b/tools/gn/label_ptr.h |
@@ -36,7 +36,11 @@ struct LabelPtrPair { |
Label label; |
const T* ptr; // May be NULL. |
- const ParseNode* origin; // May be NULL. |
+ |
+ // The origin of this dependency. This will be null for internally generated |
+ // dependencies. This happens when a group is automatically expanded and that |
+ // group's members are added to the target that depends on that group. |
+ const ParseNode* origin; |
}; |
typedef LabelPtrPair<Config> LabelConfigPair; |