mac_tool.py: Handle non-zero ibtool return code.

Without check_output() the Popen() will always return None as returncode, this
prevents error handling during the build process.

With check_output() it will raise an exception in case of non-zero return code.

BUG=None

Change-Id: I911b7f65d9f58240893ed96d1170e5544f534278
Reviewed-on: https://chromium-review.googlesource.com/548400
Commit-Queue: Robert Sesek <rsesek@chromium.org>
Reviewed-by: Robert Sesek <rsesek@chromium.org>
1 file changed
tree: a794514cc1bf26dc2441738206b7fc8be2e01009
  1. buildbot/
  2. data/
  3. infra/
  4. pylib/
  5. samples/
  6. test/
  7. tools/
  8. .gitignore
  9. AUTHORS
  10. codereview.settings
  11. DEPS
  12. gyp
  13. gyp.bat
  14. gyp_main.py
  15. gyptest.py
  16. LICENSE
  17. OWNERS
  18. PRESUBMIT.py
  19. README.md
  20. setup.py
README.md

GYP can Generate Your Projects.

Documents are available at gyp.gsrc.io, or you can check out md-pages branch to read those documents offline.