Index: tools/gn/substitution_type.cc |
diff --git a/tools/gn/substitution_type.cc b/tools/gn/substitution_type.cc |
index 93a32bd6e4c57264ac9d7e283e70ee997796083c..e1ea14de94799c84743d16d1cec660b442e3c457 100644 |
--- a/tools/gn/substitution_type.cc |
+++ b/tools/gn/substitution_type.cc |
@@ -208,6 +208,11 @@ bool IsValidCopySubstitution(SubstitutionType type) { |
type == SUBSTITUTION_SOURCE; |
} |
+bool IsValidCompileXCassetsSubstitution(SubstitutionType type) { |
+ return IsValidToolSubstitution(type) || |
+ type == SUBSTITUTION_LINKER_INPUTS; |
+} |
+ |
bool EnsureValidSourcesSubstitutions( |
const std::vector<SubstitutionType>& types, |
const ParseNode* origin, |