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 } | |
53 } | 50 } |
54 | 51 |
55 executable("rgba_to_i420_converter") { | 52 executable("rgba_to_i420_converter") { |
56 sources = [ | 53 sources = [ |
57 "converter/converter.cc", | 54 "converter/converter.cc", |
58 "converter/converter.h", | 55 "converter/converter.h", |
59 "converter/rgba_to_i420_converter.cc", | 56 "converter/rgba_to_i420_converter.cc", |
60 ] | 57 ] |
61 deps = [ | 58 deps = [ |
62 ":command_line_parser", | 59 ":command_line_parser", |
63 "../common_video", | 60 "../common_video", |
64 ] | 61 ] |
65 if (is_mac) { | |
66 libs = [ "Foundation.framework" ] | |
67 } | |
68 } | 62 } |
69 | 63 |
70 # TODO(kjellander): Convert all of tools.gyp into GN here. | 64 # TODO(kjellander): Convert all of tools.gyp into GN here. |
71 | 65 |
72 if (!build_with_chromium) { | 66 if (!build_with_chromium) { |
73 executable("tools_unittests") { | 67 executable("tools_unittests") { |
74 testonly = true | 68 testonly = true |
75 | 69 |
76 sources = [ | 70 sources = [ |
77 "simple_command_line_parser_unittest.cc", | 71 "simple_command_line_parser_unittest.cc", |
78 ] | 72 ] |
79 | 73 |
80 configs += [ "..:common_config" ] | 74 configs += [ "..:common_config" ] |
81 public_configs = [ "..:common_inherited_config" ] | 75 public_configs = [ "..:common_inherited_config" ] |
82 | 76 |
83 deps = [ | 77 deps = [ |
84 ":command_line_parser", | 78 ":command_line_parser", |
85 "../test:test_support_main", | 79 "../test:test_support_main", |
86 "//testing/gtest", | 80 "//testing/gtest", |
87 ] | 81 ] |
88 if (is_mac) { | |
89 libs = [ "Foundation.framework" ] | |
90 } | |
91 } | 82 } |
92 } | 83 } |
OLD | NEW |