Chromium Code Reviews| Index: build/toolchain/gcc_compile_wrapper.py |
| diff --git a/build/toolchain/gcc_compile_wrapper.py b/build/toolchain/gcc_compile_wrapper.py |
| index 33cac37c7e51128f6c52a2739d923876f0262f7d..c56df3b432a35dc6931c30c159dc6e5d818e98d1 100755 |
| --- a/build/toolchain/gcc_compile_wrapper.py |
| +++ b/build/toolchain/gcc_compile_wrapper.py |
| @@ -25,11 +25,10 @@ def main(): |
| help='Compilation command') |
| args = parser.parse_args() |
| - returncode, stderr = wrapper_utils.CaptureCommandStderr( |
| + returncode = wrapper_utils.RunCommand( |
| wrapper_utils.CommandToRun(args.command)) |
| used_resources = wrapper_utils.ExtractResourceIdsFromPragmaWarnings(stderr) |
|
Nico
2017/01/24 21:41:33
isn't this broken now? this needs stderr?
Kevin M
2017/01/24 21:46:18
Done.
|
| - sys.stderr.write(stderr) |
| if args.resource_whitelist: |
| with open(args.resource_whitelist, 'w') as f: |