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("//third_party/protobuf/proto_library.gni") | 9 import("//third_party/protobuf/proto_library.gni") |
10 import("../build/webrtc.gni") | 10 import("../build/webrtc.gni") |
11 | 11 |
12 rtc_source_set("tools") { | 12 group("tools") { |
13 deps = [ | 13 deps = [ |
14 ":command_line_parser", | 14 ":command_line_parser", |
15 ] | 15 ] |
16 | 16 |
17 if (!build_with_chromium) { | 17 if (!build_with_chromium) { |
18 # TODO(kjellander): Enable these when webrtc:5970 is fixed. | 18 # TODO(kjellander): Enable these when webrtc:5970 is fixed. |
19 deps += [ | 19 deps += [ |
20 ":frame_analyzer", | 20 ":frame_analyzer", |
21 ":rgba_to_i420_converter", | 21 ":rgba_to_i420_converter", |
22 ] | 22 ] |
23 } | 23 } |
24 } | 24 } |
25 | 25 |
26 rtc_source_set("command_line_parser") { | 26 rtc_static_library("command_line_parser") { |
27 sources = [ | 27 sources = [ |
28 "simple_command_line_parser.cc", | 28 "simple_command_line_parser.cc", |
29 "simple_command_line_parser.h", | 29 "simple_command_line_parser.h", |
30 ] | 30 ] |
31 deps = [ | 31 deps = [ |
32 "../base:gtest_prod", | 32 "../base:gtest_prod", |
33 ] | 33 ] |
34 } | 34 } |
35 | 35 |
36 rtc_source_set("video_quality_analysis") { | 36 rtc_static_library("video_quality_analysis") { |
37 sources = [ | 37 sources = [ |
38 "frame_analyzer/video_quality_analysis.cc", | 38 "frame_analyzer/video_quality_analysis.cc", |
39 "frame_analyzer/video_quality_analysis.h", | 39 "frame_analyzer/video_quality_analysis.h", |
40 ] | 40 ] |
41 | 41 |
42 deps = [ | 42 deps = [ |
43 "../common_video", | 43 "../common_video", |
44 ] | 44 ] |
45 public_deps = [ | 45 public_deps = [ |
46 "../common_video", | 46 "../common_video", |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 "converter/rgba_to_i420_converter.cc", | 78 "converter/rgba_to_i420_converter.cc", |
79 ] | 79 ] |
80 | 80 |
81 deps = [ | 81 deps = [ |
82 ":command_line_parser", | 82 ":command_line_parser", |
83 "../common_video", | 83 "../common_video", |
84 "//build/win:default_exe_manifest", | 84 "//build/win:default_exe_manifest", |
85 ] | 85 ] |
86 } | 86 } |
87 | 87 |
88 rtc_source_set("frame_editing_lib") { | 88 rtc_static_library("frame_editing_lib") { |
89 sources = [ | 89 sources = [ |
90 "frame_editing/frame_editing_lib.cc", | 90 "frame_editing/frame_editing_lib.cc", |
91 "frame_editing/frame_editing_lib.h", | 91 "frame_editing/frame_editing_lib.h", |
92 ] | 92 ] |
93 | 93 |
94 # TODO(jschuh): Bug 1348: fix this warning. | 94 # TODO(jschuh): Bug 1348: fix this warning. |
95 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 95 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
96 | 96 |
97 if (is_clang) { | 97 if (is_clang) { |
98 # Suppress warnings from the Chromium Clang plugin. | 98 # Suppress warnings from the Chromium Clang plugin. |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 } | 139 } |
140 | 140 |
141 if (rtc_enable_protobuf) { | 141 if (rtc_enable_protobuf) { |
142 proto_library("chart_proto") { | 142 proto_library("chart_proto") { |
143 sources = [ | 143 sources = [ |
144 "event_log_visualizer/chart.proto", | 144 "event_log_visualizer/chart.proto", |
145 ] | 145 ] |
146 proto_out_dir = "webrtc/tools/event_log_visualizer" | 146 proto_out_dir = "webrtc/tools/event_log_visualizer" |
147 } | 147 } |
148 | 148 |
149 rtc_source_set("event_log_visualizer_utils") { | 149 rtc_static_library("event_log_visualizer_utils") { |
150 sources = [ | 150 sources = [ |
151 "event_log_visualizer/analyzer.cc", | 151 "event_log_visualizer/analyzer.cc", |
152 "event_log_visualizer/analyzer.h", | 152 "event_log_visualizer/analyzer.h", |
153 "event_log_visualizer/plot_base.cc", | 153 "event_log_visualizer/plot_base.cc", |
154 "event_log_visualizer/plot_base.h", | 154 "event_log_visualizer/plot_base.h", |
155 "event_log_visualizer/plot_protobuf.cc", | 155 "event_log_visualizer/plot_protobuf.cc", |
156 "event_log_visualizer/plot_protobuf.h", | 156 "event_log_visualizer/plot_protobuf.h", |
157 "event_log_visualizer/plot_python.cc", | 157 "event_log_visualizer/plot_python.cc", |
158 "event_log_visualizer/plot_python.h", | 158 "event_log_visualizer/plot_python.h", |
159 ] | 159 ] |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 ] | 280 ] |
281 outputs = [ | 281 outputs = [ |
282 "$root_build_dir/{{source_file_part}}", | 282 "$root_build_dir/{{source_file_part}}", |
283 ] | 283 ] |
284 deps = [ | 284 deps = [ |
285 "..:rtc_event_log_proto", | 285 "..:rtc_event_log_proto", |
286 ] | 286 ] |
287 } | 287 } |
288 } | 288 } |
289 } | 289 } |
OLD | NEW |