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 #
Messages
Total messages: 10 (4 generated)
|