OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 import("../build/webrtc.gni") | 9 import("../build/webrtc.gni") |
10 | 10 |
(...skipping 29 matching lines...) Expand all Loading... |
40 } | 40 } |
41 | 41 |
42 executable("frame_analyzer") { | 42 executable("frame_analyzer") { |
43 sources = [ | 43 sources = [ |
44 "frame_analyzer/frame_analyzer.cc", | 44 "frame_analyzer/frame_analyzer.cc", |
45 ] | 45 ] |
46 deps = [ | 46 deps = [ |
47 ":command_line_parser", | 47 ":command_line_parser", |
48 ":video_quality_analysis", | 48 ":video_quality_analysis", |
49 ] | 49 ] |
| 50 if (is_mac) { |
| 51 libs = [ "Foundation.framework" ] |
| 52 } |
50 } | 53 } |
51 | 54 |
52 executable("rgba_to_i420_converter") { | 55 executable("rgba_to_i420_converter") { |
53 sources = [ | 56 sources = [ |
54 "converter/converter.cc", | 57 "converter/converter.cc", |
55 "converter/converter.h", | 58 "converter/converter.h", |
56 "converter/rgba_to_i420_converter.cc", | 59 "converter/rgba_to_i420_converter.cc", |
57 ] | 60 ] |
58 deps = [ | 61 deps = [ |
59 ":command_line_parser", | 62 ":command_line_parser", |
60 "../common_video", | 63 "../common_video", |
61 ] | 64 ] |
| 65 if (is_mac) { |
| 66 libs = [ "Foundation.framework" ] |
| 67 } |
62 } | 68 } |
63 | 69 |
64 # TODO(kjellander): Convert all of tools.gyp into GN here. | 70 # TODO(kjellander): Convert all of tools.gyp into GN here. |
65 | 71 |
66 if (!build_with_chromium) { | 72 if (!build_with_chromium) { |
67 executable("tools_unittests") { | 73 executable("tools_unittests") { |
68 testonly = true | 74 testonly = true |
69 | 75 |
70 sources = [ | 76 sources = [ |
71 "simple_command_line_parser_unittest.cc", | 77 "simple_command_line_parser_unittest.cc", |
72 ] | 78 ] |
73 | 79 |
74 configs += [ "..:common_config" ] | 80 configs += [ "..:common_config" ] |
75 public_configs = [ "..:common_inherited_config" ] | 81 public_configs = [ "..:common_inherited_config" ] |
76 | 82 |
77 deps = [ | 83 deps = [ |
78 ":command_line_parser", | 84 ":command_line_parser", |
79 "../test:test_support_main", | 85 "../test:test_support_main", |
80 "//testing/gtest", | 86 "//testing/gtest", |
81 ] | 87 ] |
| 88 if (is_mac) { |
| 89 libs = [ "Foundation.framework" ] |
| 90 } |
82 } | 91 } |
83 } | 92 } |
OLD | NEW |