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> |
| 8 |
7 #include "base/command_line.h" | 9 #include "base/command_line.h" |
8 #include "base/files/file_util.h" | 10 #include "base/files/file_util.h" |
9 #include "base/logging.h" | 11 #include "base/logging.h" |
10 #include "base/process/kill.h" | 12 #include "base/process/kill.h" |
11 #include "base/process/launch.h" | 13 #include "base/process/launch.h" |
12 #include "base/process/process.h" | 14 #include "base/process/process.h" |
13 #include "build/build_config.h" | 15 #include "build/build_config.h" |
14 | 16 |
15 #if defined(OS_WIN) | 17 #if defined(OS_WIN) |
16 #include <windows.h> | 18 #include <windows.h> |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 return process.WaitForExit(exit_code); | 249 return process.WaitForExit(exit_code); |
248 } | 250 } |
249 } | 251 } |
250 | 252 |
251 return false; | 253 return false; |
252 } | 254 } |
253 #endif | 255 #endif |
254 | 256 |
255 } // namespace internal | 257 } // namespace internal |
256 | 258 |
OLD | NEW |