| 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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 needs_comma = true; | 283 needs_comma = true; |
| 284 } | 284 } |
| 285 out << "}"; | 285 out << "}"; |
| 286 } | 286 } |
| 287 out << "}"; | 287 out << "}"; |
| 288 } | 288 } |
| 289 | 289 |
| 290 out << "]}"; | 290 out << "]}"; |
| 291 | 291 |
| 292 std::string out_str = out.str(); | 292 std::string out_str = out.str(); |
| 293 file_util::WriteFile(file_name, out_str.data(), | 293 base::WriteFile(file_name, out_str.data(), |
| 294 static_cast<int>(out_str.size())); | 294 static_cast<int>(out_str.size())); |
| 295 } | 295 } |
| OLD | NEW |