| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/exec_process.h" | 5 #include "tools/gn/exec_process.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/files/file_util.h" | 10 #include "base/files/file_util.h" |
| 11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/process/kill.h" | 13 #include "base/process/kill.h" |
| 13 #include "base/process/launch.h" | 14 #include "base/process/launch.h" |
| 14 #include "base/process/process.h" | 15 #include "base/process/process.h" |
| 15 #include "build/build_config.h" | 16 #include "build/build_config.h" |
| 16 | 17 |
| 17 #if defined(OS_WIN) | 18 #if defined(OS_WIN) |
| 18 #include <windows.h> | 19 #include <windows.h> |
| 19 | 20 |
| 20 #include "base/win/scoped_handle.h" | 21 #include "base/win/scoped_handle.h" |
| 21 #include "base/win/scoped_process_information.h" | 22 #include "base/win/scoped_process_information.h" |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 return process.WaitForExit(exit_code); | 250 return process.WaitForExit(exit_code); |
| 250 } | 251 } |
| 251 } | 252 } |
| 252 | 253 |
| 253 return false; | 254 return false; |
| 254 } | 255 } |
| 255 #endif | 256 #endif |
| 256 | 257 |
| 257 } // namespace internal | 258 } // namespace internal |
| 258 | 259 |
| OLD | NEW |