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

Issue 1885593003: Delete build/mac/change_mach_o_flags.py and friends. (Closed)

Created:
4 years, 8 months ago by Robert Sesek
Modified:
4 years, 8 months ago
Reviewers:
Mark Mentovai, Nico
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Delete build/mac/change_mach_o_flags.py and friends. This was only used to mark executable as non-PIE. After the non-PIE Chromium helper was removed, the last remaining use was for Valgrind. But Valgrind support was also recently removed, so this can go away entirely. change_mach_o_flags.py did explicitly set the MH_NO_HEAP_EXECUTION flag on executables, but this is not necessary on x86_64 where the architecture default is to not have an executable heap. BUG=520680 Committed: https://crrev.com/806f385a1f9c2814de91bd1a98a50e74c4fa9a81 Cr-Commit-Position: refs/heads/master@{#387007}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -338 lines) Patch
M build/common.gypi View 2 chunks +8 lines, -50 lines 0 comments Download
D build/mac/change_mach_o_flags.py View 1 chunk +0 lines, -273 lines 2 comments Download
D build/mac/change_mach_o_flags_from_xcode.sh View 1 chunk +0 lines, -15 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
Robert Sesek
4 years, 8 months ago (2016-04-12 19:59:05 UTC) #2
Nico
https://codereview.chromium.org/1885593003/diff/1/build/mac/change_mach_o_flags.py File build/mac/change_mach_o_flags.py (left): https://codereview.chromium.org/1885593003/diff/1/build/mac/change_mach_o_flags.py#oldcode50 build/mac/change_mach_o_flags.py:50: for non-i386 executables, including x86_64 executables. Apple's linker only ...
4 years, 8 months ago (2016-04-12 20:10:50 UTC) #3
Robert Sesek
https://codereview.chromium.org/1885593003/diff/1/build/mac/change_mach_o_flags.py File build/mac/change_mach_o_flags.py (left): https://codereview.chromium.org/1885593003/diff/1/build/mac/change_mach_o_flags.py#oldcode50 build/mac/change_mach_o_flags.py:50: for non-i386 executables, including x86_64 executables. Apple's linker only ...
4 years, 8 months ago (2016-04-12 21:05:50 UTC) #5
Nico
Cool, lgtm, but say in the CL description that this removes MH_NO_HEAP_EXECUTION from the executable ...
4 years, 8 months ago (2016-04-12 21:38:02 UTC) #6
Mark Mentovai
I do have a slight preference for keeping MH_NO_HEAP_EXECUTION even when the sysctl gets set ...
4 years, 8 months ago (2016-04-13 15:28:53 UTC) #7
Robert Sesek
On 2016/04/13 15:28:53, Mark Mentovai wrote: > I do have a slight preference for keeping ...
4 years, 8 months ago (2016-04-13 16:01:38 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1885593003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1885593003/1
4 years, 8 months ago (2016-04-13 16:12:51 UTC) #10
Nico
(please update cl description to mention execute bit stuff before landing)
4 years, 8 months ago (2016-04-13 16:15:09 UTC) #12
Robert Sesek
On 2016/04/13 16:15:09, Nico wrote: > (please update cl description to mention execute bit stuff ...
4 years, 8 months ago (2016-04-13 16:17:34 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1885593003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1885593003/1
4 years, 8 months ago (2016-04-13 16:18:00 UTC) #16
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-04-13 16:46:35 UTC) #18
commit-bot: I haz the power
4 years, 8 months ago (2016-04-13 16:47:37 UTC) #20
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/806f385a1f9c2814de91bd1a98a50e74c4fa9a81
Cr-Commit-Position: refs/heads/master@{#387007}

Powered by Google App Engine
This is Rietveld 408576698