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

Issue 10830126: Do not pass -dead_strip to ld for the Mac helper and main apps. (Closed)

Created:
8 years, 4 months ago by Robert Sesek
Modified:
8 years, 4 months ago
Reviewers:
Mark Mentovai
CC:
chromium-reviews, Nico
Visibility:
Public.

Description

Do not pass -dead_strip to ld for the Mac helper and main apps. On certain SDK versions and OSes with the 10.6 deployment target, the linker, if invoked with -dead_strip, incorrectly removes _NXArgc and _NXArgv. Since the apps are just shims into the Framework, there's little to strip anyways. BUG=139902 TEST=Build on 10.7+ with GYP variable mac_strip_release=1. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=149531

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -0 lines) Patch
M chrome/chrome.gyp View 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/chrome_exe.gypi View 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Robert Sesek
8 years, 4 months ago (2012-08-01 21:10:29 UTC) #1
Mark Mentovai
8 years, 4 months ago (2012-08-01 21:13:00 UTC) #2
LGTM

Please measure the code size impact.

KIDDING!

Powered by Google App Engine
This is Rietveld 408576698