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

Issue 2092513002: [Mac/GN] Explicitly link ApplicationServices wherever CoreGraphics is linked. (Closed)

Created:
4 years, 6 months ago by Robert Sesek
Modified:
4 years, 6 months ago
Reviewers:
Mark Mentovai
CC:
chromium-reviews, piman+watch_chromium.org, miu+watch_chromium.org, tfarina, mcasas+watch+vc_chromium.org, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Mac/GN] Explicitly link ApplicationServices wherever CoreGraphics is linked. The 10.11 SDK has an incompatibility with a OS X 10.7 deployment target. ApplicationServices re-exports CoreGraphics, but due to a bug, the dylib compatibility version from the re-exported framework gets confused with the version of the framework doing the re-export. This only manifests itself in the component build because individual components depend on CoreGraphics directly instead of ApplicationServices. In the static library build, the transitive collection of libs ensures that ApplicationServices gets linked before CoreGraphics when linking the Chromium Framework, so this doesn't occur. To hack around the issue, specify ApplicationServices in libs ahead of CoreGraphics so that the correct compatibility version is picked up. After the deployment is updated to 10.8+ (https://crbug.com/580152) these hacks can be removed. BUG=620127 R=mark@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://chromium.googlesource.com/chromium/src/+/5f7bc190c7ffeda2a2c56161b371bc16750fac2c

Patch Set 1 #

Total comments: 6

Patch Set 2 : Update comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -2 lines) Patch
M gpu/ipc/service/BUILD.gn View 1 1 chunk +2 lines, -1 line 0 comments Download
M media/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M media/capture/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M skia/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/accelerated_widget_mac/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/display/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/gfx/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/native_theme/BUILD.gn View 1 1 chunk +2 lines, -1 line 0 comments Download
M ui/snapshot/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
Robert Sesek
4 years, 6 months ago (2016-06-22 21:06:32 UTC) #2
Mark Mentovai
LGTM https://codereview.chromium.org/2092513002/diff/1/gpu/ipc/service/BUILD.gn File gpu/ipc/service/BUILD.gn (right): https://codereview.chromium.org/2092513002/diff/1/gpu/ipc/service/BUILD.gn#newcode1 gpu/ipc/service/BUILD.gn:1: # Copyright 2016 The Chromium Authors. All rights ...
4 years, 6 months ago (2016-06-22 21:09:06 UTC) #3
Robert Sesek
https://codereview.chromium.org/2092513002/diff/1/gpu/ipc/service/BUILD.gn File gpu/ipc/service/BUILD.gn (right): https://codereview.chromium.org/2092513002/diff/1/gpu/ipc/service/BUILD.gn#newcode1 gpu/ipc/service/BUILD.gn:1: # Copyright 2016 The Chromium Authors. All rights reserved. ...
4 years, 6 months ago (2016-06-22 22:13:43 UTC) #5
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/5f7bc190c7ffeda2a2c56161b371bc16750fac2c Cr-Commit-Position: refs/heads/master@{#401458}
4 years, 6 months ago (2016-06-22 23:32:57 UTC) #7
Robert Sesek
Committed patchset #2 (id:20001) manually as 5f7bc190c7ffeda2a2c56161b371bc16750fac2c (presubmit successful).
4 years, 6 months ago (2016-06-22 23:34:27 UTC) #9
Robert Sesek
4 years, 5 months ago (2016-06-30 20:22:49 UTC) #10
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2118563002/ by rsesek@chromium.org.

The reason for reverting is: After https://crrev.com/42e3c3e7125d the build
warns if it detects this incompatibility..

Powered by Google App Engine
This is Rietveld 408576698