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. .gitignore
  2. AUTHORS
  3. DEPS
  4. LICENSE
  5. OWNERS
  6. PRESUBMIT.py
  7. README.md
  8. buildbot/
  9. codereview.settings
  10. data/
  11. gyp
  12. gyp.bat
  13. gyp_main.py
  14. gyptest.py
  15. infra/
  16. pylib/
  17. samples/
  18. setup.py
  19. test/
  20. tools/
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.