| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "tools/gn/trace.h" | 5 #include "tools/gn/trace.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <map> | 8 #include <map> |
| 9 #include <sstream> | 9 #include <sstream> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 needs_comma = true; | 264 needs_comma = true; |
| 265 } | 265 } |
| 266 out << "}"; | 266 out << "}"; |
| 267 } | 267 } |
| 268 out << "}"; | 268 out << "}"; |
| 269 } | 269 } |
| 270 | 270 |
| 271 out << "]}"; | 271 out << "]}"; |
| 272 | 272 |
| 273 std::string out_str = out.str(); | 273 std::string out_str = out.str(); |
| 274 file_util::WriteFile(file_name, out_str.data(), out_str.size()); | 274 file_util::WriteFile(file_name, out_str.data(), |
| 275 static_cast<int>(out_str.size())); |
| 275 } | 276 } |
| OLD | NEW |