• glider's avatar
    Reland https://codereview.chromium.org/581983003/: Enable ASan default options on Mac. · 7dbed157
    glider authored
    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
    
    Review URL: https://codereview.chromium.org/594843002
    
    Cr-Commit-Position: refs/heads/master@{#296200}
    7dbed157
common.gypi 222 KB