ninja/mac: Support rules running on mac_bundle_resources.

Also add a test for various bundle resource scenarious.

BUG=chromium:280718
R=mark@chromium.org

Review URL: https://codereview.chromium.org/23681007

git-svn-id: http://gyp.googlecode.com/svn/trunk@1714 78cadc50-ecff-11dd-a971-7dbc132099af
5 files changed