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

Issue 10704054: ninja mac: Smarter dylib linking. (Closed)

Created:
8 years, 5 months ago by Nico
Modified:
8 years, 5 months ago
CC:
scottmg
Visibility:
Public.

Description

ninja mac: Smarter dylib linking. This ports http://code.google.com/p/gyp/source/detail?r=1425 to mac. Without this change, incremental (release) builds of chrome after touching a file in: base: 10.4s content: 7.7s chrome: 12.1s With this change: base: 1.7s content: 5.1s chrome: 12.1s Committed: https://code.google.com/p/gyp/source/detail?r=1426

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 3

Patch Set 4 : LC_ID_DYLIB #

Patch Set 5 : spaces #

Patch Set 6 : reexport #

Patch Set 7 : morespaces #

Patch Set 8 : xxx #

Patch Set 9 : blah (ignore grep output) #

Patch Set 10 : spaces #

Patch Set 11 : bench #

Patch Set 12 : faster #

Patch Set 13 : 80col #

Patch Set 14 : reexport_again #

Patch Set 15 : rename_bundle #

Patch Set 16 : . #

Total comments: 14

Patch Set 17 : comments #

Total comments: 2

Patch Set 18 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -17 lines) Patch
M pylib/gyp/generator/ninja.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 5 chunks +46 lines, -15 lines 0 comments Download
M test/ninja/solibs_avoid_relinking/gyptest-solibs-avoid-relinking.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Ami GONE FROM CHROMIUM
http://codereview.chromium.org/10704054/diff/4001/pylib/gyp/generator/ninja.py File pylib/gyp/generator/ninja.py (right): http://codereview.chromium.org/10704054/diff/4001/pylib/gyp/generator/ninja.py#newcode158 pylib/gyp/generator/ninja.py:158: if flavor == 'win': I almost did this in ...
8 years, 5 months ago (2012-06-30 22:37:04 UTC) #1
Nico
Scott: Do you know if this happens automatically on windows already? I remember someone saying ...
8 years, 5 months ago (2012-07-01 01:34:13 UTC) #2
Mark Mentovai
http://codereview.chromium.org/10704054/diff/9007/pylib/gyp/generator/ninja.py File pylib/gyp/generator/ninja.py (right): http://codereview.chromium.org/10704054/diff/9007/pylib/gyp/generator/ninja.py#newcode1503 pylib/gyp/generator/ninja.py:1503: '{ otool -l $lib | grep LC_ID_DYLIB -A 2; ...
8 years, 5 months ago (2012-07-01 03:50:42 UTC) #3
Ami GONE FROM CHROMIUM
LGTM % commentary nits and knowing nothing about os/x tooling; leaving that for Mark to ...
8 years, 5 months ago (2012-07-01 03:51:25 UTC) #4
Ami GONE FROM CHROMIUM
Also, yay!
8 years, 5 months ago (2012-07-01 03:51:59 UTC) #5
Nico
Thanks! http://codereview.chromium.org/10704054/diff/9007/pylib/gyp/generator/ninja.py File pylib/gyp/generator/ninja.py (right): http://codereview.chromium.org/10704054/diff/9007/pylib/gyp/generator/ninja.py#newcode156 pylib/gyp/generator/ninja.py:156: def WriteToc(self, flavor): On 2012/07/01 03:51:25, Ami Fischman ...
8 years, 5 months ago (2012-07-01 16:33:22 UTC) #6
Mark Mentovai
LGTM. Thanks for the Objective-C investigation. http://codereview.chromium.org/10704054/diff/4005/pylib/gyp/generator/ninja.py File pylib/gyp/generator/ninja.py (right): http://codereview.chromium.org/10704054/diff/4005/pylib/gyp/generator/ninja.py#newcode1505 pylib/gyp/generator/ninja.py:1505: 'nm -gP $lib ...
8 years, 5 months ago (2012-07-01 18:32:30 UTC) #7
Nico
Thanks! http://codereview.chromium.org/10704054/diff/4005/pylib/gyp/generator/ninja.py File pylib/gyp/generator/ninja.py (right): http://codereview.chromium.org/10704054/diff/4005/pylib/gyp/generator/ninja.py#newcode1505 pylib/gyp/generator/ninja.py:1505: 'nm -gP $lib |cut -f1-2 -d\' \' |grep ...
8 years, 5 months ago (2012-07-01 19:44:32 UTC) #8
Mark Mentovai
8 years, 5 months ago (2012-07-02 01:36:56 UTC) #9
LGTM

Powered by Google App Engine
This is Rietveld 408576698