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

Unified Diff: tools/gn/substitution_type.cc

Issue 1430043002: Support script response files in GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
Index: tools/gn/substitution_type.cc
diff --git a/tools/gn/substitution_type.cc b/tools/gn/substitution_type.cc
index f67df262a21e80c6e39a41cdb3ae3f48c22a01f3..7862d1ee75fafb785b5cee1e4c3e4e9e5689a27b 100644
--- a/tools/gn/substitution_type.cc
+++ b/tools/gn/substitution_type.cc
@@ -43,6 +43,8 @@ const char* kSubstitutionNames[SUBSTITUTION_NUM_TYPES] = {
"{{libs}}", // SUBSTITUTION_LIBS
"{{output_extension}}", // SUBSTITUTION_OUTPUT_EXTENSION
"{{solibs}}", // SUBSTITUTION_SOLIBS
+
+ "{{response_file_name}}", // SUBSTITUTION_RSP_FILE_NAME
};
const char* kSubstitutionNinjaNames[SUBSTITUTION_NUM_TYPES] = {
@@ -83,6 +85,8 @@ const char* kSubstitutionNinjaNames[SUBSTITUTION_NUM_TYPES] = {
"libs", // SUBSTITUTION_LIBS
"output_extension", // SUBSTITUTION_OUTPUT_EXTENSION
"solibs", // SUBSTITUTION_SOLIBS
+
+ "rspfile", // SUBSTITUTION_RSP_FILE_NAME
};
SubstitutionBits::SubstitutionBits() : used() {

Powered by Google App Engine
This is Rietveld 408576698