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

Issue 594843002: Reland https://codereview.chromium.org/581983003/: Enable ASan default options on Mac. (Closed)

Created:
6 years, 3 months ago by Alexander Potapenko
Modified:
5 years, 3 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Reland https://codereview.chromium.org/581983003/: Enable ASan default options on Mac. This CL links libsanitizer_options into every executable built with ASan on OSX. The existing implementation of __asan_default_options for Chromium.app is merged with that in sanitizer_options.cc Also now use_sanitizer_options is only set when building with sanitizers so that there isn't an unconditional dependency on an empty object file in every executable in non-sanitizer builds. In addition to that, the dependency on sanitizers.gyp:sanitizer_options is removed from ui/base/ui_base_tests.gyp:ui_base_tests_bundle which is not a real shared lib, despite marked as such. BUG=302040 TBR=earthdok@chromium.org,cpu@chromium.org R=avi@chromium.org Committed: https://crrev.com/7dbed1574ed37e1ec4d8417e6d4c4205fcfdf382 Cr-Commit-Position: refs/heads/master@{#296200}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -46 lines) Patch
M build/common.gypi View 4 chunks +10 lines, -9 lines 0 comments Download
M build/sanitizers/sanitizer_options.cc View 3 chunks +19 lines, -0 lines 0 comments Download
M build/sanitizers/sanitizers.gyp View 1 chunk +9 lines, -0 lines 0 comments Download
M chrome/app/chrome_exe_main_mac.cc View 1 chunk +0 lines, -37 lines 0 comments Download
M chrome/app/framework.order View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/base/ui_base_tests.gyp View 1 chunk +11 lines, -0 lines 1 comment Download

Messages

Total messages: 11 (2 generated)
Alexander Potapenko
Carlos, Sergey: TBR Avi, can you please take a look at the ui/ bits? This ...
6 years, 3 months ago (2014-09-23 13:11:28 UTC) #1
Avi (use Gerrit)
I'm fumbling my way around the magical build requirements of bundling the ui tests as ...
6 years, 3 months ago (2014-09-23 14:07:03 UTC) #2
Avi (use Gerrit)
On 2014/09/23 14:07:03, Avi wrote: > I'm fumbling my way around the magical build requirements ...
6 years, 3 months ago (2014-09-23 14:07:30 UTC) #3
Alexander Potapenko
On 2014/09/23 14:07:30, Avi wrote: > On 2014/09/23 14:07:03, Avi wrote: > > I'm fumbling ...
6 years, 3 months ago (2014-09-23 14:08:52 UTC) #4
earthdok
rslgtm
6 years, 3 months ago (2014-09-23 14:40:22 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/594843002/1
6 years, 3 months ago (2014-09-23 15:17:17 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1) as d00ec406565210eb847e9d7f641f48ee4d1166f8
6 years, 3 months ago (2014-09-23 16:38:30 UTC) #8
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/7dbed1574ed37e1ec4d8417e6d4c4205fcfdf382 Cr-Commit-Position: refs/heads/master@{#296200}
6 years, 3 months ago (2014-09-23 16:39:32 UTC) #9
Nico
5 years, 3 months ago (2015-09-17 04:12:02 UTC) #11
Message was sent while issue was closed.
https://codereview.chromium.org/594843002/diff/1/ui/base/ui_base_tests.gyp
File ui/base/ui_base_tests.gyp (right):

https://codereview.chromium.org/594843002/diff/1/ui/base/ui_base_tests.gyp#ne...
ui/base/ui_base_tests.gyp:248: # ui_base_tests_bundle doesn't actually contain a
shared library and
…wouldn't it be a better fix to make this target not be a shared_library if it
isn't one? :-/

Powered by Google App Engine
This is Rietveld 408576698