| Index: tools/gn/ninja_binary_target_writer.cc
|
| diff --git a/tools/gn/ninja_binary_target_writer.cc b/tools/gn/ninja_binary_target_writer.cc
|
| index e1344d8d3908470e7d1ec4fe0b3d721b55124271..307fa33c9ac0c425e08d207f742f93877ed9dc46 100644
|
| --- a/tools/gn/ninja_binary_target_writer.cc
|
| +++ b/tools/gn/ninja_binary_target_writer.cc
|
| @@ -17,19 +17,13 @@ namespace {
|
| // Returns the proper escape options for writing compiler and linker flags.
|
| EscapeOptions GetFlagOptions() {
|
| EscapeOptions opts;
|
| - opts.mode = ESCAPE_NINJA;
|
| -
|
| - // Some flag strings are actually multiple flags that expect to be just
|
| - // added to the command line. We assume that quoting is done by the
|
| - // buildfiles if it wants such things quoted.
|
| - opts.inhibit_quoting = true;
|
| -
|
| + opts.mode = ESCAPE_NINJA_SHELL;
|
| return opts;
|
| }
|
|
|
| struct DefineWriter {
|
| DefineWriter() {
|
| - options.mode = ESCAPE_SHELL;
|
| + options.mode = ESCAPE_NINJA_SHELL;
|
| }
|
|
|
| void operator()(const std::string& s, std::ostream& out) const {
|
|
|