Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(676)

Issue 23461010: ninja/mac: Don't write .TOC files into framework bundles. (Closed)

Created:
7 years, 3 months ago by Nico
Modified:
7 years, 3 months ago
Reviewers:
Mark Mentovai
CC:
gyp-developer_googlegroups.com, Ami GONE FROM CHROMIUM
Visibility:
Public.

Description

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 Committed: https://code.google.com/p/gyp/source/detail?r=1704

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -6 lines) Patch
M pylib/gyp/generator/ninja.py View 3 chunks +22 lines, -6 lines 0 comments Download
M test/mac/gyptest-framework.py View 2 chunks +24 lines, -0 lines 4 comments Download

Messages

Total messages: 9 (0 generated)
Nico
7 years, 3 months ago (2013-08-27 21:35:52 UTC) #1
Mark Mentovai
LGTM https://codereview.chromium.org/23461010/diff/1/test/mac/gyptest-framework.py File test/mac/gyptest-framework.py (right): https://codereview.chromium.org/23461010/diff/1/test/mac/gyptest-framework.py#newcode69 test/mac/gyptest-framework.py:69: 'Test Framework', There are no symlinks in here?
7 years, 3 months ago (2013-08-27 21:40:45 UTC) #2
Nico
https://codereview.chromium.org/23461010/diff/1/test/mac/gyptest-framework.py File test/mac/gyptest-framework.py (right): https://codereview.chromium.org/23461010/diff/1/test/mac/gyptest-framework.py#newcode69 test/mac/gyptest-framework.py:69: 'Test Framework', On 2013/08/27 21:40:45, Mark Mentovai wrote: > ...
7 years, 3 months ago (2013-08-27 21:42:35 UTC) #3
Mark Mentovai
LGTM still https://codereview.chromium.org/23461010/diff/1/test/mac/gyptest-framework.py File test/mac/gyptest-framework.py (right): https://codereview.chromium.org/23461010/diff/1/test/mac/gyptest-framework.py#newcode69 test/mac/gyptest-framework.py:69: 'Test Framework', On 2013/08/27 21:42:35, Nico wrote: ...
7 years, 3 months ago (2013-08-27 21:44:34 UTC) #4
Mark Mentovai
Looks like the test (on Xcode) caught something good. Go tests!
7 years, 3 months ago (2013-08-27 21:45:45 UTC) #5
Nico
Thanks, landing https://codereview.chromium.org/23461010/diff/1/test/mac/gyptest-framework.py File test/mac/gyptest-framework.py (right): https://codereview.chromium.org/23461010/diff/1/test/mac/gyptest-framework.py#newcode69 test/mac/gyptest-framework.py:69: 'Test Framework', On 2013/08/27 21:44:35, Mark Mentovai ...
7 years, 3 months ago (2013-08-27 21:45:56 UTC) #6
Nico
Committed patchset #1 manually as r1704 (presubmit successful).
7 years, 3 months ago (2013-08-27 21:46:37 UTC) #7
Mark Mentovai
Oops. Gotta back it out. It looks like Xcode is right here, and ninja/make need ...
7 years, 3 months ago (2013-08-27 21:47:46 UTC) #8
Mark Mentovai
7 years, 3 months ago (2013-08-27 21:51:02 UTC) #9
Message was sent while issue was closed.
That’s fine. Our messages were crossing in the mail.

Powered by Google App Engine
This is Rietveld 408576698