Fix dependencies on mac in tools/BUILD.gn.

This can probly be done in a neater way but right now this is blocking the roll.

TBR=kjellander@webrtc.org

Review URL: https://codereview.webrtc.org/1919673002 .

Cr-Commit-Position: refs/heads/master@{#12480}
This commit is contained in:
Tommi 2016-04-24 18:24:35 +02:00
parent 09ca02ea5c
commit 1d2dbdb0c0

View File

@ -47,6 +47,9 @@ executable("frame_analyzer") {
":command_line_parser", ":command_line_parser",
":video_quality_analysis", ":video_quality_analysis",
] ]
if (is_mac) {
libs = [ "Foundation.framework" ]
}
} }
executable("rgba_to_i420_converter") { executable("rgba_to_i420_converter") {
@ -59,6 +62,9 @@ executable("rgba_to_i420_converter") {
":command_line_parser", ":command_line_parser",
"../common_video", "../common_video",
] ]
if (is_mac) {
libs = [ "Foundation.framework" ]
}
} }
# TODO(kjellander): Convert all of tools.gyp into GN here. # TODO(kjellander): Convert all of tools.gyp into GN here.
@ -79,5 +85,8 @@ if (!build_with_chromium) {
"../test:test_support_main", "../test:test_support_main",
"//testing/gtest", "//testing/gtest",
] ]
if (is_mac) {
libs = [ "Foundation.framework" ]
}
} }
} }