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

Unified Diff: tools/gn/command_desc.cc

Issue 1361173004: [GN]: Add asmflags (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Brett’s comments Created 5 years, 3 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 | « build/toolchain/mac/BUILD.gn ('k') | tools/gn/config_values.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/command_desc.cc
diff --git a/tools/gn/command_desc.cc b/tools/gn/command_desc.cc
index 59dc3e61ebbd96c43ae41dcf8d456b5723d0b378..01422c56afa392715c359f7d20dce65fb7756397 100644
--- a/tools/gn/command_desc.cc
+++ b/tools/gn/command_desc.cc
@@ -682,6 +682,7 @@ int RunDesc(const std::vector<std::string>& args) {
CONFIG_VALUE_HANDLER(defines, std::string)
CONFIG_VALUE_HANDLER(include_dirs, SourceDir)
+ CONFIG_VALUE_HANDLER(asmflags, std::string)
CONFIG_VALUE_HANDLER(cflags, std::string)
CONFIG_VALUE_HANDLER(cflags_c, std::string)
CONFIG_VALUE_HANDLER(cflags_cc, std::string)
@@ -742,6 +743,7 @@ int RunDesc(const std::vector<std::string>& args) {
if (is_binary_output) {
OUTPUT_CONFIG_VALUE(defines, std::string)
OUTPUT_CONFIG_VALUE(include_dirs, SourceDir)
+ OUTPUT_CONFIG_VALUE(asmflags, std::string)
OUTPUT_CONFIG_VALUE(cflags, std::string)
OUTPUT_CONFIG_VALUE(cflags_c, std::string)
OUTPUT_CONFIG_VALUE(cflags_cc, std::string)
« no previous file with comments | « build/toolchain/mac/BUILD.gn ('k') | tools/gn/config_values.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698