Mac: Let app bundle test check that no additional files end up in the bundle.

No code changes needed for app bundles. (Framework bundles need a bit of work
to make this true, so no test for that yet.)

R=mark@chromium.org

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

git-svn-id: http://gyp.googlecode.com/svn/trunk@1703 78cadc50-ecff-11dd-a971-7dbc132099af
ninja/mac: Don't write .TOC files into framework bundles.

Target.UsesToc() already returns False for framework bundles, so don't run
a linker command that writes a .TOC file next to the binary for bundles.
Since TOCs are already not used for frameworks, this won't change build
performance.

This way, ninja-built Chromium Framework.framework will be a bit smaller.
(Other ninja-built frameworks will become smaller too, for example
Light Table.app currently ships with 300kB of useless .TOC / .tmp junk in
their node-webkit Framework.framework, which will go away once they pick up
this patch.)

R=mark@chromium.org

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

git-svn-id: http://gyp.googlecode.com/svn/trunk@1704 78cadc50-ecff-11dd-a971-7dbc132099af
Land a test change that should have been part of r1704.

1704 was reviewed at https://codereview.chromium.org/23461010/

TBR=mark

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

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