summaryrefslogtreecommitdiffstats
path: root/printing
diff options
context:
space:
mode:
authordpranke <dpranke@chromium.org>2015-07-31 19:41:14 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-01 02:41:42 +0000
commit517335eb07aa66d7d276a61c4c9945223cb0bb9e (patch)
tree22d2bd707f570ac3baf2f3f7e574e585a997683b /printing
parent96bd66709c14b67991bd3e57001affeb0707d9f2 (diff)
downloadchromium_src-517335eb07aa66d7d276a61c4c9945223cb0bb9e.zip
chromium_src-517335eb07aa66d7d276a61c4c9945223cb0bb9e.tar.gz
chromium_src-517335eb07aa66d7d276a61c4c9945223cb0bb9e.tar.bz2
Get content_unittests to link on the mac GN build.
This fixes dependencies for the mac cups and sanbox libraries, and adds a missing dependency on //ui/compositor:test_support. R=brettw@chromium.org BUG=431177 CQ_EXTRA_TRYBOTS=tryserver.chromium.mac:mac_chromium_gn_rel,mac_chromium_gn_dbg Review URL: https://codereview.chromium.org/1263513004 Cr-Commit-Position: refs/heads/master@{#341458}
Diffstat (limited to 'printing')
-rw-r--r--printing/BUILD.gn3
1 files changed, 2 insertions, 1 deletions
diff --git a/printing/BUILD.gn b/printing/BUILD.gn
index 04d7902..ca35327 100644
--- a/printing/BUILD.gn
+++ b/printing/BUILD.gn
@@ -235,7 +235,8 @@ if (use_cups) {
defines = [ "USE_CUPS" ]
if (is_mac) {
- ldflags = [ "$mac_sdk_path/usr/lib/libcups.dylib" ]
+ libs = [ "cups" ]
+ lib_dirs = [ "$mac_sdk_path/usr/lib" ]
} else {
libs = exec_script("cups_config_helper.py", [ "--libs-for-gn" ], "value")
}