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

Issue 8207010: Implement disable_pie for all executables. (Closed)

Created:
9 years, 2 months ago by rkc
Modified:
9 years, 2 months ago
Reviewers:
Nico, zel, Evan Martin
CC:
chromium-reviews, raymes
Visibility:
Public.

Description

Implement disable_pie for all executables. On setting disable_pie=1 would only build Chrome with the PIE flag disabled. This helped debugging Chrome but browser_tests, ui_tests and other tests + executables were still built with PIE making remote debugging them not possible. Now when disable_pie=1 is specified, all executables will be built non-PIE. R=zelidrag@chromium.org,thakis@chromium.org BUG=None. TEST=Tested with a complete build. Only and all executables are being linked with '-nopie' with disable_pie=1 specified. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=104609

Patch Set 1 #

Total comments: 4

Patch Set 2 : Review comments incorporated. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -6 lines) Patch
M build/common.gypi View 1 2 chunks +18 lines, -0 lines 0 comments Download
M chrome/chrome_exe.gypi View 2 chunks +2 lines, -6 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
rkc
9 years, 2 months ago (2011-10-07 22:38:17 UTC) #1
Nico
http://codereview.chromium.org/8207010/diff/1/build/common.gypi File build/common.gypi (right): http://codereview.chromium.org/8207010/diff/1/build/common.gypi#newcode361 build/common.gypi:361: 'disable_pie%': '<(disable_pie)', It looks like this is not conditionally ...
9 years, 2 months ago (2011-10-07 22:53:25 UTC) #2
rkc
Review comments incorporated. http://codereview.chromium.org/8207010/diff/1/build/common.gypi File build/common.gypi (right): http://codereview.chromium.org/8207010/diff/1/build/common.gypi#newcode361 build/common.gypi:361: 'disable_pie%': '<(disable_pie)', On 2011/10/07 22:53:25, Nico ...
9 years, 2 months ago (2011-10-07 23:23:28 UTC) #3
Nico
9 years, 2 months ago (2011-10-07 23:49:06 UTC) #4
lgtm

Powered by Google App Engine
This is Rietveld 408576698