2014-06-23 19:21:07 +00:00
|
|
|
# Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a BSD-style license
|
|
|
|
|
# that can be found in the LICENSE file in the root of the source
|
|
|
|
|
# tree. An additional intellectual property rights grant can be found
|
|
|
|
|
# in the file PATENTS. All contributing project authors may
|
|
|
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
|
2017-01-24 06:58:22 -08:00
|
|
|
import("../../webrtc.gni")
|
2014-06-23 19:21:07 +00:00
|
|
|
|
2018-02-21 14:30:34 +01:00
|
|
|
rtc_static_library("encoded_frame") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"encoded_frame.cc",
|
|
|
|
|
"encoded_frame.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":video_codec_interface",
|
|
|
|
|
"../../:webrtc_common",
|
2018-10-05 14:17:58 +02:00
|
|
|
"../../api/video:encoded_image",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../../api/video:video_frame_i420",
|
2018-02-21 14:30:34 +01:00
|
|
|
"../../modules:module_api",
|
|
|
|
|
"../../modules:module_api_public",
|
|
|
|
|
"../../modules/video_coding:video_coding_utility",
|
|
|
|
|
"../../rtc_base:checks",
|
|
|
|
|
"../../rtc_base:rtc_base_approved",
|
|
|
|
|
"../../rtc_base/experiments:alr_experiment",
|
2018-08-27 10:08:58 -05:00
|
|
|
"../../rtc_base/experiments:rtt_mult_experiment",
|
2018-02-21 14:30:34 +01:00
|
|
|
"../../system_wrappers:system_wrappers",
|
2018-06-18 10:48:16 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2018-02-21 14:30:34 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
|
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2018-06-07 16:15:40 +02:00
|
|
|
rtc_static_library("nack_module") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"histogram.cc",
|
|
|
|
|
"histogram.h",
|
|
|
|
|
"nack_module.cc",
|
|
|
|
|
"nack_module.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
|
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":packet",
|
|
|
|
|
"..:module_api",
|
|
|
|
|
"../../rtc_base:checks",
|
|
|
|
|
"../../rtc_base:rtc_base_approved",
|
|
|
|
|
"../../rtc_base:rtc_numerics",
|
|
|
|
|
"../../system_wrappers",
|
|
|
|
|
"../utility:utility",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_static_library("packet") {
|
|
|
|
|
visibility = [ "*" ]
|
|
|
|
|
sources = [
|
|
|
|
|
"packet.cc",
|
|
|
|
|
"packet.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"..:module_api",
|
2018-10-02 13:55:47 +02:00
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
2018-06-07 16:15:40 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2016-09-23 00:38:52 -07:00
|
|
|
rtc_static_library("video_coding") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2018-09-28 08:51:10 +02:00
|
|
|
deps = [
|
|
|
|
|
"../../system_wrappers:field_trial",
|
|
|
|
|
"../../system_wrappers:metrics",
|
|
|
|
|
]
|
2018-01-30 10:32:13 +01:00
|
|
|
|
2014-06-23 19:21:07 +00:00
|
|
|
sources = [
|
2015-11-18 22:00:21 +01:00
|
|
|
"codec_timer.cc",
|
|
|
|
|
"codec_timer.h",
|
2018-02-20 16:09:48 +01:00
|
|
|
"decoder_database.cc",
|
|
|
|
|
"decoder_database.h",
|
2015-11-18 22:00:21 +01:00
|
|
|
"decoding_state.cc",
|
|
|
|
|
"decoding_state.h",
|
2018-02-20 16:09:48 +01:00
|
|
|
"encoder_database.cc",
|
|
|
|
|
"encoder_database.h",
|
2018-01-19 17:58:57 +01:00
|
|
|
"fec_controller_default.cc",
|
|
|
|
|
"fec_controller_default.h",
|
2017-01-12 06:16:24 -08:00
|
|
|
"fec_rate_table.h",
|
2015-11-18 22:00:21 +01:00
|
|
|
"frame_buffer.cc",
|
|
|
|
|
"frame_buffer.h",
|
2016-05-19 12:19:35 +02:00
|
|
|
"frame_buffer2.cc",
|
|
|
|
|
"frame_buffer2.h",
|
2016-04-01 02:01:54 -07:00
|
|
|
"frame_object.cc",
|
|
|
|
|
"frame_object.h",
|
2018-02-21 19:38:59 +00:00
|
|
|
"generic_decoder.cc",
|
2015-11-18 22:00:21 +01:00
|
|
|
"generic_decoder.h",
|
|
|
|
|
"generic_encoder.cc",
|
|
|
|
|
"generic_encoder.h",
|
2016-12-08 03:57:17 -08:00
|
|
|
"h264_sprop_parameter_sets.cc",
|
|
|
|
|
"h264_sprop_parameter_sets.h",
|
2016-11-03 04:03:01 -07:00
|
|
|
"h264_sps_pps_tracker.cc",
|
|
|
|
|
"h264_sps_pps_tracker.h",
|
2016-11-16 16:41:30 +01:00
|
|
|
"include/video_codec_initializer.h",
|
2018-01-19 17:58:57 +01:00
|
|
|
"include/video_coding.h",
|
2015-11-18 22:00:21 +01:00
|
|
|
"inter_frame_delay.cc",
|
|
|
|
|
"inter_frame_delay.h",
|
|
|
|
|
"internal_defines.h",
|
|
|
|
|
"jitter_buffer.cc",
|
|
|
|
|
"jitter_buffer.h",
|
|
|
|
|
"jitter_buffer_common.h",
|
|
|
|
|
"jitter_estimator.cc",
|
|
|
|
|
"jitter_estimator.h",
|
|
|
|
|
"media_opt_util.cc",
|
|
|
|
|
"media_opt_util.h",
|
|
|
|
|
"media_optimization.cc",
|
|
|
|
|
"media_optimization.h",
|
|
|
|
|
"nack_fec_tables.h",
|
2016-04-01 02:01:54 -07:00
|
|
|
"packet_buffer.cc",
|
|
|
|
|
"packet_buffer.h",
|
2015-11-18 22:00:21 +01:00
|
|
|
"receiver.cc",
|
|
|
|
|
"receiver.h",
|
2016-05-13 06:01:03 -07:00
|
|
|
"rtp_frame_reference_finder.cc",
|
|
|
|
|
"rtp_frame_reference_finder.h",
|
2015-11-18 22:00:21 +01:00
|
|
|
"rtt_filter.cc",
|
|
|
|
|
"rtt_filter.h",
|
|
|
|
|
"session_info.cc",
|
|
|
|
|
"session_info.h",
|
|
|
|
|
"timestamp_map.cc",
|
|
|
|
|
"timestamp_map.h",
|
|
|
|
|
"timing.cc",
|
|
|
|
|
"timing.h",
|
2016-11-16 16:41:30 +01:00
|
|
|
"video_codec_initializer.cc",
|
2015-11-18 22:00:21 +01:00
|
|
|
"video_coding_impl.cc",
|
|
|
|
|
"video_coding_impl.h",
|
|
|
|
|
"video_receiver.cc",
|
|
|
|
|
"video_sender.cc",
|
2014-06-23 19:21:07 +00:00
|
|
|
]
|
|
|
|
|
|
2016-10-16 23:56:12 -07:00
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
2016-09-02 04:10:34 -07:00
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
2014-08-25 14:15:35 +00:00
|
|
|
}
|
|
|
|
|
|
2018-01-30 10:32:13 +01:00
|
|
|
deps += [
|
2017-11-02 14:28:06 +01:00
|
|
|
":codec_globals_headers",
|
2018-02-21 14:30:34 +01:00
|
|
|
":encoded_frame",
|
2018-06-07 16:15:40 +02:00
|
|
|
":packet",
|
2018-01-08 11:05:10 +01:00
|
|
|
":video_codec_interface",
|
2014-06-23 19:21:07 +00:00
|
|
|
":video_coding_utility",
|
2018-03-28 19:32:37 +02:00
|
|
|
":webrtc_vp9_helpers",
|
2017-04-26 03:38:35 -07:00
|
|
|
"..:module_api",
|
2017-11-16 14:33:53 +01:00
|
|
|
"..:module_api_public",
|
2015-02-26 13:59:22 +00:00
|
|
|
"../..:webrtc_common",
|
2018-01-19 17:58:57 +01:00
|
|
|
"../../api:fec_controller_api",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../../api/video:encoded_frame",
|
2018-07-20 15:49:43 -07:00
|
|
|
"../../api/video:video_bitrate_allocator",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../../api/video:video_frame",
|
|
|
|
|
"../../api/video:video_frame_i420",
|
2018-01-08 11:05:10 +01:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2014-06-23 19:21:07 +00:00
|
|
|
"../../common_video",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base",
|
|
|
|
|
"../../rtc_base:rtc_base_approved",
|
|
|
|
|
"../../rtc_base:rtc_numerics",
|
|
|
|
|
"../../rtc_base:rtc_task_queue",
|
|
|
|
|
"../../rtc_base:sequenced_task_checker",
|
2018-01-12 10:54:18 +01:00
|
|
|
"../../rtc_base/experiments:alr_experiment",
|
2018-08-27 10:08:58 -05:00
|
|
|
"../../rtc_base/experiments:rtt_mult_experiment",
|
2018-02-05 10:33:35 +01:00
|
|
|
"../../rtc_base/system:fallthrough",
|
2018-07-23 17:38:12 +02:00
|
|
|
"../../rtc_base/third_party/base64",
|
2018-03-22 15:29:03 +01:00
|
|
|
"../../rtc_base/time:timestamp_extrapolator",
|
2014-06-23 19:21:07 +00:00
|
|
|
"../../system_wrappers",
|
2017-12-06 07:51:33 +01:00
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
2016-12-08 09:56:16 -08:00
|
|
|
"../utility:utility",
|
2018-06-18 10:48:16 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2018-07-09 15:52:29 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:variant",
|
2014-06-23 19:21:07 +00:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-01-08 11:05:10 +01:00
|
|
|
rtc_source_set("video_codec_interface") {
|
2018-01-15 16:01:43 +01:00
|
|
|
visibility = [ "*" ]
|
2018-01-08 11:05:10 +01:00
|
|
|
sources = [
|
|
|
|
|
"include/video_codec_interface.h",
|
|
|
|
|
"include/video_coding_defines.h",
|
|
|
|
|
"include/video_error_codes.h",
|
2018-03-27 08:31:45 +02:00
|
|
|
"video_coding_defines.cc",
|
2018-01-08 11:05:10 +01:00
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"..:module_api",
|
|
|
|
|
"../..:webrtc_common",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../../api/video:video_frame",
|
2018-01-08 11:05:10 +01:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../../common_video:common_video",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2017-09-18 03:08:08 -07:00
|
|
|
rtc_source_set("mock_headers") {
|
|
|
|
|
testonly = true
|
2014-07-07 11:46:43 +00:00
|
|
|
sources = [
|
2017-09-18 03:08:08 -07:00
|
|
|
"include/mock/mock_video_codec_interface.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
2018-01-08 11:05:10 +01:00
|
|
|
":video_codec_interface",
|
2017-09-18 03:08:08 -07:00
|
|
|
":video_coding_utility",
|
|
|
|
|
"../..:webrtc_common",
|
|
|
|
|
"../../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("codec_globals_headers") {
|
2018-10-03 14:54:43 +02:00
|
|
|
visibility = [ "*" ]
|
2017-09-18 03:08:08 -07:00
|
|
|
sources = [
|
|
|
|
|
"codecs/h264/include/h264_globals.h",
|
|
|
|
|
"codecs/interface/common_constants.h",
|
|
|
|
|
"codecs/vp8/include/vp8_globals.h",
|
|
|
|
|
"codecs/vp9/include/vp9_globals.h",
|
|
|
|
|
]
|
2018-07-09 15:52:29 +02:00
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
"../../rtc_base:checks",
|
|
|
|
|
]
|
2017-09-18 03:08:08 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_source_set("video_coding_utility") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2017-09-18 03:08:08 -07:00
|
|
|
sources = [
|
2016-11-16 16:41:30 +01:00
|
|
|
"utility/default_video_bitrate_allocator.cc",
|
|
|
|
|
"utility/default_video_bitrate_allocator.h",
|
2014-07-07 11:46:43 +00:00
|
|
|
"utility/frame_dropper.cc",
|
2015-11-18 23:04:10 +01:00
|
|
|
"utility/frame_dropper.h",
|
2018-08-29 01:05:26 +02:00
|
|
|
"utility/framerate_controller.cc",
|
|
|
|
|
"utility/framerate_controller.h",
|
2016-04-15 01:24:14 -07:00
|
|
|
"utility/ivf_file_writer.cc",
|
|
|
|
|
"utility/ivf_file_writer.h",
|
2016-09-14 02:14:58 -07:00
|
|
|
"utility/moving_average.cc",
|
2015-11-18 23:04:10 +01:00
|
|
|
"utility/moving_average.h",
|
2014-09-30 18:05:02 +00:00
|
|
|
"utility/quality_scaler.cc",
|
2015-11-18 23:04:10 +01:00
|
|
|
"utility/quality_scaler.h",
|
2018-06-21 16:16:38 +02:00
|
|
|
"utility/simulcast_rate_allocator.cc",
|
|
|
|
|
"utility/simulcast_rate_allocator.h",
|
|
|
|
|
"utility/simulcast_utility.cc",
|
|
|
|
|
"utility/simulcast_utility.h",
|
2015-05-21 11:12:02 -07:00
|
|
|
"utility/vp8_header_parser.cc",
|
2015-11-18 23:04:10 +01:00
|
|
|
"utility/vp8_header_parser.h",
|
2017-05-24 10:00:16 -07:00
|
|
|
"utility/vp9_uncompressed_header_parser.cc",
|
|
|
|
|
"utility/vp9_uncompressed_header_parser.h",
|
2014-07-07 11:46:43 +00:00
|
|
|
]
|
|
|
|
|
|
2016-10-16 23:56:12 -07:00
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
2016-09-02 04:10:34 -07:00
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
2014-08-25 14:15:35 +00:00
|
|
|
}
|
|
|
|
|
|
2015-05-25 12:55:39 +02:00
|
|
|
deps = [
|
2018-01-08 11:05:10 +01:00
|
|
|
":video_codec_interface",
|
2017-04-26 03:38:35 -07:00
|
|
|
"..:module_api",
|
2016-12-08 09:56:16 -08:00
|
|
|
"../..:webrtc_common",
|
2018-10-05 14:17:58 +02:00
|
|
|
"../../api/video:encoded_image",
|
2018-07-20 15:49:43 -07:00
|
|
|
"../../api/video:video_bitrate_allocator",
|
2017-04-05 03:02:20 -07:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2016-07-14 23:35:55 -07:00
|
|
|
"../../common_video",
|
2017-12-06 07:51:33 +01:00
|
|
|
"../../modules/rtp_rtcp",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
|
|
|
|
"../../rtc_base:rtc_numerics",
|
|
|
|
|
"../../rtc_base:rtc_task_queue",
|
|
|
|
|
"../../rtc_base:sequenced_task_checker",
|
2018-04-24 16:53:25 +02:00
|
|
|
"../../rtc_base/experiments:quality_scaling_experiment",
|
2018-07-25 16:05:48 +02:00
|
|
|
"../../rtc_base/system:arch",
|
2015-05-25 12:55:39 +02:00
|
|
|
"../../system_wrappers",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../../system_wrappers:field_trial",
|
2017-12-06 07:51:33 +01:00
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
2018-06-18 10:48:16 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2015-05-25 12:55:39 +02:00
|
|
|
]
|
2014-06-23 19:21:07 +00:00
|
|
|
}
|
|
|
|
|
|
2016-09-23 00:38:52 -07:00
|
|
|
rtc_static_library("webrtc_h264") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2015-06-29 14:34:58 -07:00
|
|
|
sources = [
|
|
|
|
|
"codecs/h264/h264.cc",
|
|
|
|
|
"codecs/h264/include/h264.h",
|
|
|
|
|
]
|
|
|
|
|
|
2016-10-16 23:56:12 -07:00
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
2016-09-02 04:10:34 -07:00
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
2015-06-29 14:34:58 -07:00
|
|
|
}
|
|
|
|
|
|
2016-01-27 01:36:03 -08:00
|
|
|
defines = []
|
2015-06-29 14:34:58 -07:00
|
|
|
deps = [
|
2018-01-08 11:05:10 +01:00
|
|
|
":video_codec_interface",
|
2016-12-08 09:56:16 -08:00
|
|
|
":video_coding_utility",
|
2018-07-23 17:55:25 -07:00
|
|
|
"../../api/video:video_frame",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../../api/video:video_frame_i420",
|
2017-09-29 17:54:09 +02:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2018-01-11 17:07:30 +01:00
|
|
|
"../../media:rtc_h264_profile_id",
|
2017-02-28 00:28:04 -08:00
|
|
|
"../../media:rtc_media_base",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2017-12-19 11:50:21 +01:00
|
|
|
"../../rtc_base:rtc_base",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../../system_wrappers:metrics",
|
Use absl::make_unique and absl::WrapUnique directly
Instead of going through our wrappers in ptr_util.h.
This CL was generated by the following script:
git grep -l ptr_util | xargs perl -pi -e 's,#include "rtc_base/ptr_util.h",#include "absl/memory/memory.h",'
git grep -l MakeUnique | xargs perl -pi -e 's,\b(rtc::)?MakeUnique\b,absl::make_unique,g'
git grep -l WrapUnique | xargs perl -pi -e 's,\b(rtc::)?WrapUnique\b,absl::WrapUnique,g'
git checkout -- rtc_base/ptr_util{.h,_unittest.cc}
git cl format
Followed by manually adding dependencies on
//third_party/abseil-cpp/absl/memory until `gn check` stopped
complaining.
Bug: webrtc:9473
Change-Id: I89ccd363f070479b8c431eb2c3d404a46eaacc1c
Reviewed-on: https://webrtc-review.googlesource.com/86600
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23850}
2018-07-05 11:40:33 +02:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2018-06-21 16:16:38 +02:00
|
|
|
"//third_party/libyuv",
|
2015-06-29 14:34:58 -07:00
|
|
|
]
|
2016-01-11 10:19:02 -08:00
|
|
|
|
2016-01-21 03:34:40 -08:00
|
|
|
if (rtc_use_h264) {
|
2016-02-03 05:09:37 -08:00
|
|
|
defines += [ "WEBRTC_USE_H264" ]
|
2016-01-27 01:36:03 -08:00
|
|
|
sources += [
|
2018-07-23 17:55:25 -07:00
|
|
|
"codecs/h264/h264_color_space.cc",
|
|
|
|
|
"codecs/h264/h264_color_space.h",
|
2016-01-27 01:36:03 -08:00
|
|
|
"codecs/h264/h264_decoder_impl.cc",
|
|
|
|
|
"codecs/h264/h264_decoder_impl.h",
|
|
|
|
|
"codecs/h264/h264_encoder_impl.cc",
|
|
|
|
|
"codecs/h264/h264_encoder_impl.h",
|
|
|
|
|
]
|
2016-01-11 10:19:02 -08:00
|
|
|
deps += [
|
2016-02-07 23:04:26 -08:00
|
|
|
"../../common_video",
|
2016-01-11 10:19:02 -08:00
|
|
|
"//third_party/ffmpeg:ffmpeg",
|
|
|
|
|
"//third_party/openh264:encoder",
|
|
|
|
|
]
|
2018-01-15 09:44:18 +01:00
|
|
|
|
2018-01-15 10:20:00 -05:00
|
|
|
if (!build_with_mozilla) {
|
|
|
|
|
deps += [ "../../media:rtc_media_base" ]
|
|
|
|
|
}
|
2016-01-11 10:19:02 -08:00
|
|
|
}
|
2015-06-29 14:34:58 -07:00
|
|
|
}
|
|
|
|
|
|
2016-09-23 00:38:52 -07:00
|
|
|
rtc_static_library("webrtc_i420") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2014-07-07 11:46:43 +00:00
|
|
|
sources = [
|
2015-10-22 12:23:11 +02:00
|
|
|
"codecs/i420/i420.cc",
|
|
|
|
|
"codecs/i420/include/i420.h",
|
2014-07-07 11:46:43 +00:00
|
|
|
]
|
|
|
|
|
|
2016-10-16 23:56:12 -07:00
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
2016-09-02 04:10:34 -07:00
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
2014-08-25 14:15:35 +00:00
|
|
|
}
|
|
|
|
|
|
2015-05-25 12:55:39 +02:00
|
|
|
deps = [
|
2018-01-08 11:05:10 +01:00
|
|
|
":video_codec_interface",
|
2017-09-18 03:08:08 -07:00
|
|
|
":video_coding_utility",
|
2016-12-08 09:56:16 -08:00
|
|
|
"../..:webrtc_common",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../../api/video:video_frame_i420",
|
2016-12-08 09:56:16 -08:00
|
|
|
"../../common_video:common_video",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2015-05-25 12:55:39 +02:00
|
|
|
"../../system_wrappers",
|
2017-12-14 11:24:00 +01:00
|
|
|
"//third_party/libyuv",
|
2015-05-25 12:55:39 +02:00
|
|
|
]
|
2014-06-23 19:21:07 +00:00
|
|
|
}
|
|
|
|
|
|
2018-01-25 13:01:09 -08:00
|
|
|
rtc_static_library("webrtc_multiplex") {
|
2017-10-30 23:10:12 -07:00
|
|
|
sources = [
|
2018-08-15 10:19:32 -07:00
|
|
|
"codecs/multiplex/augmented_video_frame_buffer.cc",
|
|
|
|
|
"codecs/multiplex/include/augmented_video_frame_buffer.h",
|
2018-01-25 13:01:09 -08:00
|
|
|
"codecs/multiplex/include/multiplex_decoder_adapter.h",
|
|
|
|
|
"codecs/multiplex/include/multiplex_encoder_adapter.h",
|
|
|
|
|
"codecs/multiplex/multiplex_decoder_adapter.cc",
|
|
|
|
|
"codecs/multiplex/multiplex_encoded_image_packer.cc",
|
2018-09-06 15:35:55 -07:00
|
|
|
"codecs/multiplex/multiplex_encoded_image_packer.h",
|
2018-01-25 13:01:09 -08:00
|
|
|
"codecs/multiplex/multiplex_encoder_adapter.cc",
|
2017-10-30 23:10:12 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
|
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-01-08 11:05:10 +01:00
|
|
|
":video_codec_interface",
|
2017-10-30 23:10:12 -07:00
|
|
|
":video_coding_utility",
|
|
|
|
|
"..:module_api",
|
|
|
|
|
"../..:webrtc_common",
|
2018-10-05 14:17:58 +02:00
|
|
|
"../../api/video:encoded_image",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../../api/video:video_frame",
|
|
|
|
|
"../../api/video:video_frame_i420",
|
2017-10-30 23:10:12 -07:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../../common_video:common_video",
|
2017-12-19 11:50:21 +01:00
|
|
|
"../../rtc_base:rtc_base",
|
2017-10-30 23:10:12 -07:00
|
|
|
"../../system_wrappers",
|
2018-01-24 13:36:41 -08:00
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
2017-10-30 23:10:12 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2018-01-04 15:10:22 +01:00
|
|
|
# This target includes the internal SW codec.
|
2017-12-20 18:08:36 +00:00
|
|
|
rtc_static_library("webrtc_vp8") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2018-04-24 16:39:05 +02:00
|
|
|
poisonous = [ "software_video_codecs" ]
|
2014-07-07 11:46:43 +00:00
|
|
|
sources = [
|
2018-06-21 16:16:38 +02:00
|
|
|
"codecs/vp8/default_temporal_layers.cc",
|
|
|
|
|
"codecs/vp8/default_temporal_layers.h",
|
2018-10-01 18:47:03 +02:00
|
|
|
"codecs/vp8/include/temporal_layers_checker.h",
|
2017-12-20 18:08:36 +00:00
|
|
|
"codecs/vp8/include/vp8.h",
|
2018-10-01 18:47:03 +02:00
|
|
|
"codecs/vp8/include/vp8_temporal_layers.h",
|
2018-10-04 17:52:36 +02:00
|
|
|
"codecs/vp8/libvpx_interface.cc",
|
|
|
|
|
"codecs/vp8/libvpx_interface.h",
|
2018-03-14 17:52:55 +01:00
|
|
|
"codecs/vp8/libvpx_vp8_decoder.cc",
|
|
|
|
|
"codecs/vp8/libvpx_vp8_decoder.h",
|
|
|
|
|
"codecs/vp8/libvpx_vp8_encoder.cc",
|
|
|
|
|
"codecs/vp8/libvpx_vp8_encoder.h",
|
2018-06-21 16:16:38 +02:00
|
|
|
"codecs/vp8/screenshare_layers.cc",
|
|
|
|
|
"codecs/vp8/screenshare_layers.h",
|
|
|
|
|
"codecs/vp8/temporal_layers.h",
|
2018-10-01 18:47:03 +02:00
|
|
|
"codecs/vp8/temporal_layers_checker.cc",
|
|
|
|
|
"codecs/vp8/vp8_temporal_layers.cc",
|
2014-07-07 11:46:43 +00:00
|
|
|
]
|
2014-08-25 14:15:35 +00:00
|
|
|
|
2016-10-16 23:56:12 -07:00
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
2016-09-02 04:10:34 -07:00
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
2014-08-25 14:15:35 +00:00
|
|
|
}
|
|
|
|
|
|
2014-07-07 11:46:43 +00:00
|
|
|
deps = [
|
2018-10-01 18:47:03 +02:00
|
|
|
":codec_globals_headers",
|
2018-01-08 11:05:10 +01:00
|
|
|
":video_codec_interface",
|
2014-07-07 11:46:43 +00:00
|
|
|
":video_coding_utility",
|
2017-04-26 03:38:35 -07:00
|
|
|
"..:module_api",
|
2015-02-26 13:59:22 +00:00
|
|
|
"../..:webrtc_common",
|
2018-10-05 14:17:58 +02:00
|
|
|
"../../api/video:encoded_image",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../../api/video:video_frame",
|
2018-01-30 10:32:13 +01:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2014-07-07 11:46:43 +00:00
|
|
|
"../../common_video",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2017-08-09 23:37:05 -07:00
|
|
|
"../../rtc_base:rtc_numerics",
|
2014-07-07 11:46:43 +00:00
|
|
|
"../../system_wrappers",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../../system_wrappers:field_trial",
|
|
|
|
|
"../../system_wrappers:metrics",
|
Use absl::make_unique and absl::WrapUnique directly
Instead of going through our wrappers in ptr_util.h.
This CL was generated by the following script:
git grep -l ptr_util | xargs perl -pi -e 's,#include "rtc_base/ptr_util.h",#include "absl/memory/memory.h",'
git grep -l MakeUnique | xargs perl -pi -e 's,\b(rtc::)?MakeUnique\b,absl::make_unique,g'
git grep -l WrapUnique | xargs perl -pi -e 's,\b(rtc::)?WrapUnique\b,absl::WrapUnique,g'
git checkout -- rtc_base/ptr_util{.h,_unittest.cc}
git cl format
Followed by manually adding dependencies on
//third_party/abseil-cpp/absl/memory until `gn check` stopped
complaining.
Bug: webrtc:9473
Change-Id: I89ccd363f070479b8c431eb2c3d404a46eaacc1c
Reviewed-on: https://webrtc-review.googlesource.com/86600
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23850}
2018-07-05 11:40:33 +02:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2018-06-18 10:48:16 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2017-12-14 11:24:00 +01:00
|
|
|
"//third_party/libyuv",
|
2014-07-07 11:46:43 +00:00
|
|
|
]
|
2014-09-30 18:05:02 +00:00
|
|
|
if (rtc_build_libvpx) {
|
2015-05-25 12:55:39 +02:00
|
|
|
deps += [ rtc_libvpx_dir ]
|
2014-09-30 18:05:02 +00:00
|
|
|
}
|
2014-06-23 19:21:07 +00:00
|
|
|
}
|
2014-11-01 06:10:48 +00:00
|
|
|
|
2018-03-28 19:32:37 +02:00
|
|
|
# This target includes VP9 files that may be used for any VP9 codec, internal SW or external HW.
|
|
|
|
|
rtc_static_library("webrtc_vp9_helpers") {
|
|
|
|
|
sources = [
|
|
|
|
|
"codecs/vp9/svc_config.cc",
|
|
|
|
|
"codecs/vp9/svc_config.h",
|
|
|
|
|
"codecs/vp9/svc_rate_allocator.cc",
|
|
|
|
|
"codecs/vp9/svc_rate_allocator.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
|
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":video_codec_interface",
|
|
|
|
|
"../..:webrtc_common",
|
2018-07-20 15:49:43 -07:00
|
|
|
"../../api/video:video_bitrate_allocator",
|
2018-06-08 14:03:44 +02:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2018-03-28 19:32:37 +02:00
|
|
|
"../../common_video",
|
|
|
|
|
"../../rtc_base:checks",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2016-09-23 00:38:52 -07:00
|
|
|
rtc_static_library("webrtc_vp9") {
|
2018-01-10 15:54:53 +00:00
|
|
|
visibility = [ "*" ]
|
2018-04-24 16:39:05 +02:00
|
|
|
poisonous = [ "software_video_codecs" ]
|
2016-10-05 06:52:22 -07:00
|
|
|
if (rtc_libvpx_build_vp9) {
|
|
|
|
|
sources = [
|
|
|
|
|
"codecs/vp9/include/vp9.h",
|
|
|
|
|
"codecs/vp9/vp9_frame_buffer_pool.cc",
|
|
|
|
|
"codecs/vp9/vp9_frame_buffer_pool.h",
|
|
|
|
|
"codecs/vp9/vp9_impl.cc",
|
|
|
|
|
"codecs/vp9/vp9_impl.h",
|
|
|
|
|
]
|
|
|
|
|
} else {
|
|
|
|
|
sources = [
|
|
|
|
|
"codecs/vp9/vp9_noop.cc",
|
|
|
|
|
]
|
|
|
|
|
}
|
2014-11-01 06:10:48 +00:00
|
|
|
|
2016-10-16 23:56:12 -07:00
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
2016-09-02 04:10:34 -07:00
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
2014-11-01 06:10:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-01-08 11:05:10 +01:00
|
|
|
":video_codec_interface",
|
2014-11-01 06:10:48 +00:00
|
|
|
":video_coding_utility",
|
2018-03-28 19:32:37 +02:00
|
|
|
":webrtc_vp9_helpers",
|
2017-04-26 03:38:35 -07:00
|
|
|
"..:module_api",
|
2018-03-28 19:32:37 +02:00
|
|
|
"../..:webrtc_common",
|
2018-07-16 10:01:49 -07:00
|
|
|
"../../api/video:video_frame",
|
2018-07-13 17:10:00 -07:00
|
|
|
"../../api/video:video_frame_i010",
|
2018-06-28 10:59:02 -07:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2014-11-01 06:10:48 +00:00
|
|
|
"../../common_video",
|
2018-06-28 10:59:02 -07:00
|
|
|
"../../media:rtc_media_base",
|
|
|
|
|
"../../media:rtc_vp9_profile",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2017-12-19 11:50:21 +01:00
|
|
|
"../../rtc_base:rtc_base",
|
2014-11-01 06:10:48 +00:00
|
|
|
"../../system_wrappers",
|
2018-10-01 17:13:50 +02:00
|
|
|
"../../system_wrappers:field_trial",
|
2018-05-18 17:31:19 +02:00
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
Use absl::make_unique and absl::WrapUnique directly
Instead of going through our wrappers in ptr_util.h.
This CL was generated by the following script:
git grep -l ptr_util | xargs perl -pi -e 's,#include "rtc_base/ptr_util.h",#include "absl/memory/memory.h",'
git grep -l MakeUnique | xargs perl -pi -e 's,\b(rtc::)?MakeUnique\b,absl::make_unique,g'
git grep -l WrapUnique | xargs perl -pi -e 's,\b(rtc::)?WrapUnique\b,absl::WrapUnique,g'
git checkout -- rtc_base/ptr_util{.h,_unittest.cc}
git cl format
Followed by manually adding dependencies on
//third_party/abseil-cpp/absl/memory until `gn check` stopped
complaining.
Bug: webrtc:9473
Change-Id: I89ccd363f070479b8c431eb2c3d404a46eaacc1c
Reviewed-on: https://webrtc-review.googlesource.com/86600
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23850}
2018-07-05 11:40:33 +02:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2014-11-01 06:10:48 +00:00
|
|
|
]
|
|
|
|
|
if (rtc_build_libvpx) {
|
2015-05-25 12:55:39 +02:00
|
|
|
deps += [ rtc_libvpx_dir ]
|
2014-11-01 06:10:48 +00:00
|
|
|
}
|
|
|
|
|
}
|
2016-06-13 00:19:48 -07:00
|
|
|
|
|
|
|
|
if (rtc_include_tests) {
|
2018-02-05 09:52:31 +01:00
|
|
|
if (is_android) {
|
|
|
|
|
rtc_static_library("android_codec_factory_helper") {
|
|
|
|
|
sources = [
|
|
|
|
|
"codecs/test/android_codec_factory_helper.cc",
|
|
|
|
|
"codecs/test/android_codec_factory_helper.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
"../../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../../rtc_base:checks",
|
|
|
|
|
"../../rtc_base:rtc_base_approved",
|
|
|
|
|
"../../sdk/android:native_api_base",
|
|
|
|
|
"../../sdk/android:native_api_codecs",
|
|
|
|
|
"../../sdk/android:native_api_jni",
|
|
|
|
|
"//base",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-08-07 06:55:28 -07:00
|
|
|
if (is_ios || is_mac) {
|
2018-02-05 09:52:31 +01:00
|
|
|
rtc_static_library("objc_codec_factory_helper") {
|
2017-08-07 06:55:28 -07:00
|
|
|
sources = [
|
2018-02-05 09:52:31 +01:00
|
|
|
"codecs/test/objc_codec_factory_helper.h",
|
|
|
|
|
"codecs/test/objc_codec_factory_helper.mm",
|
2017-08-07 06:55:28 -07:00
|
|
|
]
|
2018-02-05 09:52:31 +01:00
|
|
|
|
2017-08-07 06:55:28 -07:00
|
|
|
deps = [
|
2018-05-11 11:15:30 +02:00
|
|
|
"../../api/video:video_frame",
|
2017-08-07 06:55:28 -07:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
|
|
|
|
"../../media:rtc_audio_video",
|
2018-02-05 09:52:31 +01:00
|
|
|
"../../media:rtc_media_base",
|
2017-08-07 06:55:28 -07:00
|
|
|
"../../modules:module_api",
|
2017-12-04 14:09:40 +01:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2018-02-01 15:47:05 +01:00
|
|
|
"../../sdk:native_api",
|
2018-02-16 10:49:22 +01:00
|
|
|
"../../sdk:peerconnectionfactory_base_objc",
|
2018-02-19 09:58:00 +01:00
|
|
|
"../../sdk:videocodec_objc",
|
2018-03-07 10:32:03 +01:00
|
|
|
"../../sdk:videosource_objc",
|
2017-08-24 05:43:45 -07:00
|
|
|
"../../sdk:videotoolbox_objc",
|
2017-08-07 06:55:28 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
|
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2018-05-31 12:53:00 +02:00
|
|
|
rtc_source_set("simulcast_test_fixture_impl") {
|
2017-07-10 03:26:36 -07:00
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
2018-06-21 16:16:38 +02:00
|
|
|
"utility/simulcast_test_fixture_impl.cc",
|
|
|
|
|
"utility/simulcast_test_fixture_impl.h",
|
2017-07-10 03:26:36 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
|
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
deps = [
|
2017-09-18 03:08:08 -07:00
|
|
|
":mock_headers",
|
2018-01-08 11:05:10 +01:00
|
|
|
":video_codec_interface",
|
2017-07-10 03:26:36 -07:00
|
|
|
":video_coding",
|
2018-06-21 16:16:38 +02:00
|
|
|
":video_coding_utility",
|
2018-05-31 12:53:00 +02:00
|
|
|
"../../:webrtc_common",
|
|
|
|
|
"../../api:simulcast_test_fixture_api",
|
2018-10-05 14:17:58 +02:00
|
|
|
"../../api/video:encoded_image",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../../api/video:video_frame",
|
|
|
|
|
"../../api/video:video_frame_i420",
|
2018-05-31 12:53:00 +02:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2017-07-10 03:26:36 -07:00
|
|
|
"../../common_video:common_video",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2017-07-10 03:26:36 -07:00
|
|
|
"../../test:test_support",
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2016-09-02 04:10:34 -07:00
|
|
|
rtc_source_set("video_codecs_test_framework") {
|
2016-06-13 00:19:48 -07:00
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
2018-02-01 15:45:38 +01:00
|
|
|
"codecs/test/video_codec_unittest.cc",
|
|
|
|
|
"codecs/test/video_codec_unittest.h",
|
2016-06-13 00:19:48 -07:00
|
|
|
"codecs/test/videoprocessor.cc",
|
|
|
|
|
"codecs/test/videoprocessor.h",
|
|
|
|
|
]
|
|
|
|
|
|
2016-10-16 23:56:12 -07:00
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
2016-09-02 04:10:34 -07:00
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
2016-06-13 00:19:48 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
deps = [
|
2018-01-08 11:05:10 +01:00
|
|
|
":video_codec_interface",
|
2016-12-08 09:56:16 -08:00
|
|
|
":video_coding",
|
|
|
|
|
":video_coding_utility",
|
2018-03-28 19:32:37 +02:00
|
|
|
":webrtc_vp9_helpers",
|
2016-12-08 09:56:16 -08:00
|
|
|
"../..:webrtc_common",
|
2018-05-22 13:34:14 +02:00
|
|
|
"../../api:videocodec_test_fixture_api",
|
2018-07-20 15:49:43 -07:00
|
|
|
"../../api/video:video_bitrate_allocator",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../../api/video:video_frame",
|
|
|
|
|
"../../api/video:video_frame_i420",
|
2017-04-05 03:02:20 -07:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2016-12-08 09:56:16 -08:00
|
|
|
"../../common_video:common_video",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2017-08-21 06:44:16 -07:00
|
|
|
"../../rtc_base:rtc_task_queue",
|
2018-05-16 09:38:42 +02:00
|
|
|
"../../rtc_base:rtc_task_queue_for_test",
|
2017-08-21 06:44:16 -07:00
|
|
|
"../../rtc_base:sequenced_task_checker",
|
2016-06-13 00:19:48 -07:00
|
|
|
"../../test:test_support",
|
2017-03-06 03:52:55 -08:00
|
|
|
"../../test:video_test_common",
|
2017-02-06 02:21:11 -08:00
|
|
|
"../../test:video_test_support",
|
2018-01-17 15:11:44 +01:00
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
2018-02-01 13:25:17 +01:00
|
|
|
"//third_party/libyuv",
|
2016-06-13 00:19:48 -07:00
|
|
|
]
|
|
|
|
|
}
|
2017-01-30 03:07:03 -08:00
|
|
|
|
2018-03-28 13:04:35 +02:00
|
|
|
video_coding_modules_tests_resources = []
|
2018-04-25 12:45:16 +02:00
|
|
|
if (is_android) {
|
|
|
|
|
video_coding_modules_tests_resources += [
|
|
|
|
|
"../../resources/foreman_128x96.yuv",
|
|
|
|
|
"../../resources/foreman_160x120.yuv",
|
|
|
|
|
"../../resources/foreman_176x144.yuv",
|
|
|
|
|
"../../resources/foreman_240x136.yuv",
|
|
|
|
|
"../../resources/foreman_320x240.yuv",
|
|
|
|
|
"../../resources/foreman_480x272.yuv",
|
|
|
|
|
]
|
|
|
|
|
}
|
2018-05-16 16:46:58 +02:00
|
|
|
if (!is_android) {
|
2018-03-09 11:04:15 +01:00
|
|
|
video_coding_modules_tests_resources += [
|
|
|
|
|
"../../resources/FourPeople_1280x720_30.yuv",
|
|
|
|
|
"../../resources/ConferenceMotion_1280_720_50.yuv",
|
|
|
|
|
]
|
2018-02-27 15:18:18 +01:00
|
|
|
}
|
|
|
|
|
|
2018-03-28 13:04:35 +02:00
|
|
|
num_video_coding_modules_tests_resources = 0
|
|
|
|
|
foreach(i, video_coding_modules_tests_resources) {
|
|
|
|
|
num_video_coding_modules_tests_resources += 1
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (num_video_coding_modules_tests_resources > 0) {
|
|
|
|
|
if (is_ios || is_mac) {
|
|
|
|
|
bundle_data("video_coding_modules_tests_resources_bundle_data") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = video_coding_modules_tests_resources
|
|
|
|
|
outputs = [
|
|
|
|
|
"{{bundle_resources_dir}}/{{source_file_part}}",
|
|
|
|
|
]
|
|
|
|
|
}
|
2017-02-20 04:35:52 -08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2018-05-04 11:56:55 +02:00
|
|
|
rtc_source_set("videocodec_test_impl") {
|
|
|
|
|
testonly = true
|
|
|
|
|
sources = [
|
|
|
|
|
"codecs/test/videocodec_test_fixture_impl.cc",
|
|
|
|
|
"codecs/test/videocodec_test_fixture_impl.h",
|
2018-05-22 13:34:14 +02:00
|
|
|
"codecs/test/videocodec_test_stats_impl.cc",
|
|
|
|
|
"codecs/test/videocodec_test_stats_impl.h",
|
2018-05-04 11:56:55 +02:00
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":video_codec_interface",
|
|
|
|
|
":video_codecs_test_framework",
|
|
|
|
|
":video_coding_utility",
|
|
|
|
|
":webrtc_vp9_helpers",
|
|
|
|
|
"../..:webrtc_common",
|
|
|
|
|
"../../api:videocodec_test_fixture_api",
|
|
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2018-05-22 13:34:14 +02:00
|
|
|
"../../call:video_stream_api",
|
2018-05-04 11:56:55 +02:00
|
|
|
"../../common_video",
|
2018-05-22 13:34:14 +02:00
|
|
|
"../../media:rtc_audio_video",
|
|
|
|
|
"../../media:rtc_h264_profile_id",
|
2018-05-04 11:56:55 +02:00
|
|
|
"../../media:rtc_internal_video_codecs",
|
2018-05-29 09:31:15 +02:00
|
|
|
"../../media:rtc_media_base",
|
2018-05-04 11:56:55 +02:00
|
|
|
"../../rtc_base:checks",
|
2018-05-29 09:31:15 +02:00
|
|
|
"../../rtc_base:rtc_base_approved",
|
2018-05-04 11:56:55 +02:00
|
|
|
"../../rtc_base:rtc_base_tests_utils",
|
2018-05-29 09:31:15 +02:00
|
|
|
"../../rtc_base:rtc_event",
|
2018-05-16 09:38:42 +02:00
|
|
|
"../../rtc_base:rtc_task_queue_for_test",
|
2018-05-04 11:56:55 +02:00
|
|
|
"../../system_wrappers",
|
|
|
|
|
"../../test:fileutils",
|
2018-05-22 13:34:14 +02:00
|
|
|
"../../test:test_common",
|
2018-05-04 11:56:55 +02:00
|
|
|
"../../test:test_support",
|
2018-05-22 13:34:14 +02:00
|
|
|
"../../test:video_test_common",
|
2018-05-04 11:56:55 +02:00
|
|
|
"../../test:video_test_support",
|
2018-05-22 13:34:14 +02:00
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
Use absl::make_unique and absl::WrapUnique directly
Instead of going through our wrappers in ptr_util.h.
This CL was generated by the following script:
git grep -l ptr_util | xargs perl -pi -e 's,#include "rtc_base/ptr_util.h",#include "absl/memory/memory.h",'
git grep -l MakeUnique | xargs perl -pi -e 's,\b(rtc::)?MakeUnique\b,absl::make_unique,g'
git grep -l WrapUnique | xargs perl -pi -e 's,\b(rtc::)?WrapUnique\b,absl::WrapUnique,g'
git checkout -- rtc_base/ptr_util{.h,_unittest.cc}
git cl format
Followed by manually adding dependencies on
//third_party/abseil-cpp/absl/memory until `gn check` stopped
complaining.
Bug: webrtc:9473
Change-Id: I89ccd363f070479b8c431eb2c3d404a46eaacc1c
Reviewed-on: https://webrtc-review.googlesource.com/86600
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23850}
2018-07-05 11:40:33 +02:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2018-05-04 11:56:55 +02:00
|
|
|
]
|
|
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
|
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-02-20 04:35:52 -08:00
|
|
|
rtc_source_set("video_coding_modules_tests") {
|
|
|
|
|
testonly = true
|
|
|
|
|
|
|
|
|
|
sources = [
|
2017-03-06 03:52:55 -08:00
|
|
|
"codecs/h264/test/h264_impl_unittest.cc",
|
2018-01-25 13:01:09 -08:00
|
|
|
"codecs/multiplex/test/multiplex_adapter_unittest.cc",
|
2018-03-01 11:39:36 +01:00
|
|
|
"codecs/test/video_encoder_decoder_instantiation_tests.cc",
|
2018-05-04 11:56:55 +02:00
|
|
|
"codecs/test/videocodec_test_libvpx.cc",
|
|
|
|
|
"codecs/test/videocodec_test_parameterized.cc",
|
2018-10-04 17:52:36 +02:00
|
|
|
"codecs/vp8/test/mock_libvpx_interface.h",
|
2017-02-20 04:35:52 -08:00
|
|
|
"codecs/vp8/test/vp8_impl_unittest.cc",
|
2017-02-23 02:54:57 -08:00
|
|
|
"codecs/vp9/test/vp9_impl_unittest.cc",
|
2017-02-20 04:35:52 -08:00
|
|
|
]
|
2018-05-14 17:11:49 +02:00
|
|
|
if (rtc_use_h264) {
|
|
|
|
|
sources += [ "codecs/test/videocodec_test_openh264.cc" ]
|
|
|
|
|
}
|
2017-02-20 04:35:52 -08:00
|
|
|
|
|
|
|
|
deps = [
|
2017-03-06 03:52:55 -08:00
|
|
|
":video_codecs_test_framework",
|
2017-09-07 07:50:06 -07:00
|
|
|
":video_coding_utility",
|
2018-05-04 11:56:55 +02:00
|
|
|
":videocodec_test_impl",
|
2017-03-06 03:52:55 -08:00
|
|
|
":webrtc_h264",
|
2018-01-25 13:01:09 -08:00
|
|
|
":webrtc_multiplex",
|
2018-06-21 16:16:38 +02:00
|
|
|
":webrtc_vp8",
|
2017-02-23 02:54:57 -08:00
|
|
|
":webrtc_vp9",
|
2018-03-28 19:32:37 +02:00
|
|
|
":webrtc_vp9_helpers",
|
2017-09-07 07:50:06 -07:00
|
|
|
"../..:webrtc_common",
|
2018-05-04 11:56:55 +02:00
|
|
|
"../../api:create_videocodec_test_fixture_api",
|
2017-10-30 23:10:12 -07:00
|
|
|
"../../api:mock_video_codec_factory",
|
2018-05-04 11:56:55 +02:00
|
|
|
"../../api:videocodec_test_fixture_api",
|
2018-07-16 10:01:49 -07:00
|
|
|
"../../api/video:video_frame",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../../api/video:video_frame_i420",
|
2018-06-12 11:15:56 +02:00
|
|
|
"../../api/video_codecs:rtc_software_fallback_wrappers",
|
2018-01-11 10:13:56 +01:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2017-09-07 07:50:06 -07:00
|
|
|
"../../common_video",
|
2018-01-11 17:07:30 +01:00
|
|
|
"../../media:rtc_h264_profile_id",
|
2018-05-14 10:11:42 +02:00
|
|
|
"../../media:rtc_internal_video_codecs",
|
2017-10-27 14:51:46 +02:00
|
|
|
"../../media:rtc_media_base",
|
2018-07-13 17:10:00 -07:00
|
|
|
"../../media:rtc_vp9_profile",
|
2017-12-19 11:50:21 +01:00
|
|
|
"../../rtc_base:rtc_base",
|
2018-10-01 17:13:50 +02:00
|
|
|
"../../test:field_trial",
|
2018-03-15 15:05:39 +01:00
|
|
|
"../../test:fileutils",
|
2018-05-29 09:31:15 +02:00
|
|
|
"../../test:test_common",
|
2017-01-30 03:07:03 -08:00
|
|
|
"../../test:test_support",
|
|
|
|
|
"../../test:video_test_common",
|
2018-05-18 17:31:19 +02:00
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
Use absl::make_unique and absl::WrapUnique directly
Instead of going through our wrappers in ptr_util.h.
This CL was generated by the following script:
git grep -l ptr_util | xargs perl -pi -e 's,#include "rtc_base/ptr_util.h",#include "absl/memory/memory.h",'
git grep -l MakeUnique | xargs perl -pi -e 's,\b(rtc::)?MakeUnique\b,absl::make_unique,g'
git grep -l WrapUnique | xargs perl -pi -e 's,\b(rtc::)?WrapUnique\b,absl::WrapUnique,g'
git checkout -- rtc_base/ptr_util{.h,_unittest.cc}
git cl format
Followed by manually adding dependencies on
//third_party/abseil-cpp/absl/memory until `gn check` stopped
complaining.
Bug: webrtc:9473
Change-Id: I89ccd363f070479b8c431eb2c3d404a46eaacc1c
Reviewed-on: https://webrtc-review.googlesource.com/86600
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23850}
2018-07-05 11:40:33 +02:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2018-06-18 10:48:16 +02:00
|
|
|
"//third_party/abseil-cpp/absl/types:optional",
|
2018-07-13 17:10:00 -07:00
|
|
|
"//third_party/libyuv",
|
2017-01-30 03:07:03 -08:00
|
|
|
]
|
2017-02-20 04:35:52 -08:00
|
|
|
|
2017-09-07 07:50:06 -07:00
|
|
|
data = video_coding_modules_tests_resources
|
2017-08-07 06:55:28 -07:00
|
|
|
|
2017-09-07 07:50:06 -07:00
|
|
|
if (is_android) {
|
2018-05-04 11:56:55 +02:00
|
|
|
sources += [ "codecs/test/videocodec_test_mediacodec.cc" ]
|
Revert "Reland of Add full stack tests for MediaCodec encoder (moved from Rietveld)."
This reverts commit 2666cf7eba4bdd697d59d0451a8f74a05d4d207e.
Reason for revert: On Lollipop Nexus 4, the 240p tests fail too.
Original change's description:
> Reland of Add full stack tests for MediaCodec encoder (moved from Rietveld).
>
> * Add audio_ prefix to CallTest::{en,de}coder_factory_.
> * Let VideoQualityTest only instantiate encoders using encoder factories.
> * Add HW encoder factories to VideoQualityTest.
> * Add full stack tests:
> - sqcif7 at 30 kbps: libvpx.
> - 240p10 at 100 kbps: MediaCodec, libvpx, and MediaCodec+libvpx.
>
> BUG=webrtc:8219
> TBR=asapersson@webrtc.org,kjellander@webrtc.org,stefan@webrtc.org,sprang@webrtc.org
>
> Change-Id: I464409ac0d5276defa78c1bf66034c6cca717d74
> Reviewed-on: https://webrtc-review.googlesource.com/4740
> Commit-Queue: Rasmus Brandt <brandtr@webrtc.org>
> Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
> Cr-Commit-Position: refs/heads/master@{#20041}
TBR=kjellander@webrtc.org,brandtr@webrtc.org,asapersson@webrtc.org,sprang@webrtc.org,stefan@webrtc.org
Change-Id: If558b7fb86740658e50a6897d1eeeb72103a54ec
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: webrtc:8219
Reviewed-on: https://webrtc-review.googlesource.com/4900
Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
Commit-Queue: Rasmus Brandt <brandtr@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#20044}
2017-09-29 13:48:12 +00:00
|
|
|
|
2018-02-05 09:52:31 +01:00
|
|
|
deps += [ ":android_codec_factory_helper" ]
|
2017-02-20 04:35:52 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (is_ios || is_mac) {
|
2018-05-04 11:56:55 +02:00
|
|
|
sources += [ "codecs/test/videocodec_test_videotoolbox.cc" ]
|
2017-10-24 10:16:33 +02:00
|
|
|
|
2018-03-28 13:04:35 +02:00
|
|
|
deps += [ ":objc_codec_factory_helper" ]
|
|
|
|
|
|
|
|
|
|
if (num_video_coding_modules_tests_resources > 0) {
|
|
|
|
|
deps += [ ":video_coding_modules_tests_resources_bundle_data" ]
|
|
|
|
|
}
|
2017-02-20 04:35:52 -08:00
|
|
|
}
|
|
|
|
|
|
2017-01-30 03:07:03 -08:00
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
|
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-01-19 08:27:11 -08:00
|
|
|
rtc_source_set("video_coding_unittests") {
|
|
|
|
|
testonly = true
|
2017-04-25 04:04:50 -07:00
|
|
|
|
2017-01-19 08:27:11 -08:00
|
|
|
sources = [
|
2018-05-22 13:34:14 +02:00
|
|
|
"codecs/test/videocodec_test_fixture_config_unittest.cc",
|
|
|
|
|
"codecs/test/videocodec_test_stats_impl_unittest.cc",
|
2017-01-19 08:27:11 -08:00
|
|
|
"codecs/test/videoprocessor_unittest.cc",
|
|
|
|
|
"codecs/vp8/default_temporal_layers_unittest.cc",
|
2018-05-31 12:53:00 +02:00
|
|
|
"codecs/vp8/libvpx_vp8_simulcast_test.cc",
|
2017-01-19 08:27:11 -08:00
|
|
|
"codecs/vp8/screenshare_layers_unittest.cc",
|
2018-04-23 12:30:35 +02:00
|
|
|
"codecs/vp9/svc_config_unittest.cc",
|
2018-03-28 19:32:37 +02:00
|
|
|
"codecs/vp9/svc_rate_allocator_unittest.cc",
|
2017-01-19 08:27:11 -08:00
|
|
|
"decoding_state_unittest.cc",
|
2018-01-19 17:58:57 +01:00
|
|
|
"fec_controller_unittest.cc",
|
2017-01-19 08:27:11 -08:00
|
|
|
"frame_buffer2_unittest.cc",
|
2017-06-19 07:18:55 -07:00
|
|
|
"generic_encoder_unittest.cc",
|
2017-01-19 08:27:11 -08:00
|
|
|
"h264_sprop_parameter_sets_unittest.cc",
|
|
|
|
|
"h264_sps_pps_tracker_unittest.cc",
|
|
|
|
|
"histogram_unittest.cc",
|
|
|
|
|
"include/mock/mock_vcm_callbacks.h",
|
|
|
|
|
"jitter_buffer_unittest.cc",
|
|
|
|
|
"jitter_estimator_tests.cc",
|
|
|
|
|
"nack_module_unittest.cc",
|
|
|
|
|
"receiver_unittest.cc",
|
|
|
|
|
"rtp_frame_reference_finder_unittest.cc",
|
|
|
|
|
"session_info_unittest.cc",
|
|
|
|
|
"test/stream_generator.cc",
|
|
|
|
|
"test/stream_generator.h",
|
2017-09-18 03:08:08 -07:00
|
|
|
"test/test_util.h",
|
2017-01-19 08:27:11 -08:00
|
|
|
"timing_unittest.cc",
|
|
|
|
|
"utility/default_video_bitrate_allocator_unittest.cc",
|
|
|
|
|
"utility/frame_dropper_unittest.cc",
|
2018-08-29 01:05:26 +02:00
|
|
|
"utility/framerate_controller_unittest.cc",
|
2017-01-19 08:27:11 -08:00
|
|
|
"utility/ivf_file_writer_unittest.cc",
|
|
|
|
|
"utility/moving_average_unittest.cc",
|
|
|
|
|
"utility/quality_scaler_unittest.cc",
|
|
|
|
|
"utility/simulcast_rate_allocator_unittest.cc",
|
2017-01-26 06:12:26 -08:00
|
|
|
"video_codec_initializer_unittest.cc",
|
2017-01-19 08:27:11 -08:00
|
|
|
"video_packet_buffer_unittest.cc",
|
|
|
|
|
"video_receiver_unittest.cc",
|
|
|
|
|
"video_sender_unittest.cc",
|
|
|
|
|
]
|
|
|
|
|
if (rtc_use_h264) {
|
2018-06-21 16:16:38 +02:00
|
|
|
sources += [
|
|
|
|
|
"codecs/h264/h264_encoder_impl_unittest.cc",
|
|
|
|
|
"codecs/h264/h264_simulcast_unittest.cc",
|
|
|
|
|
]
|
2017-01-19 08:27:11 -08:00
|
|
|
}
|
2018-05-14 10:11:42 +02:00
|
|
|
|
2017-01-19 08:27:11 -08:00
|
|
|
deps = [
|
2018-03-28 19:32:37 +02:00
|
|
|
":codec_globals_headers",
|
2018-02-21 14:30:34 +01:00
|
|
|
":encoded_frame",
|
2017-09-18 03:08:08 -07:00
|
|
|
":mock_headers",
|
2018-06-07 16:15:40 +02:00
|
|
|
":nack_module",
|
|
|
|
|
":packet",
|
2018-06-21 16:16:38 +02:00
|
|
|
":simulcast_test_fixture_impl",
|
2018-01-08 11:05:10 +01:00
|
|
|
":video_codec_interface",
|
2017-01-19 08:27:11 -08:00
|
|
|
":video_codecs_test_framework",
|
|
|
|
|
":video_coding",
|
|
|
|
|
":video_coding_utility",
|
2018-05-22 13:34:14 +02:00
|
|
|
":videocodec_test_impl",
|
2017-01-19 08:27:11 -08:00
|
|
|
":webrtc_h264",
|
|
|
|
|
":webrtc_vp8",
|
|
|
|
|
":webrtc_vp9",
|
2018-03-28 19:32:37 +02:00
|
|
|
":webrtc_vp9_helpers",
|
2017-04-26 03:38:35 -07:00
|
|
|
"..:module_api",
|
2017-01-19 08:27:11 -08:00
|
|
|
"../..:webrtc_common",
|
2018-05-31 12:53:00 +02:00
|
|
|
"../../api:create_simulcast_test_fixture_api",
|
|
|
|
|
"../../api:simulcast_test_fixture_api",
|
2018-05-22 13:34:14 +02:00
|
|
|
"../../api:videocodec_test_fixture_api",
|
2018-07-20 15:49:43 -07:00
|
|
|
"../../api/video:video_bitrate_allocator",
|
2018-05-11 11:15:30 +02:00
|
|
|
"../../api/video:video_frame",
|
|
|
|
|
"../../api/video:video_frame_i420",
|
2017-04-05 03:02:20 -07:00
|
|
|
"../../api/video_codecs:video_codecs_api",
|
2017-01-19 08:27:11 -08:00
|
|
|
"../../common_video:common_video",
|
2018-04-13 14:25:22 +02:00
|
|
|
"../../media:rtc_media_base",
|
2017-12-13 16:05:42 +01:00
|
|
|
"../../rtc_base:checks",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_base",
|
|
|
|
|
"../../rtc_base:rtc_base_approved",
|
2018-04-03 10:01:52 +02:00
|
|
|
"../../rtc_base:rtc_base_tests_utils",
|
2017-10-25 13:07:09 +02:00
|
|
|
"../../rtc_base:rtc_numerics",
|
2017-07-19 10:40:47 -07:00
|
|
|
"../../rtc_base:rtc_task_queue",
|
2018-05-16 09:38:42 +02:00
|
|
|
"../../rtc_base:rtc_task_queue_for_test",
|
2017-12-06 09:17:14 +01:00
|
|
|
"../../system_wrappers",
|
2018-09-28 08:51:10 +02:00
|
|
|
"../../system_wrappers:field_trial",
|
|
|
|
|
"../../system_wrappers:metrics",
|
2017-01-19 08:27:11 -08:00
|
|
|
"../../test:field_trial",
|
2018-03-15 15:05:39 +01:00
|
|
|
"../../test:fileutils",
|
2018-05-31 12:53:00 +02:00
|
|
|
"../../test:test_common",
|
2017-01-19 08:27:11 -08:00
|
|
|
"../../test:test_support",
|
|
|
|
|
"../../test:video_test_common",
|
2017-02-06 02:21:11 -08:00
|
|
|
"../../test:video_test_support",
|
2017-12-06 07:51:33 +01:00
|
|
|
"../rtp_rtcp:rtp_rtcp_format",
|
Use absl::make_unique and absl::WrapUnique directly
Instead of going through our wrappers in ptr_util.h.
This CL was generated by the following script:
git grep -l ptr_util | xargs perl -pi -e 's,#include "rtc_base/ptr_util.h",#include "absl/memory/memory.h",'
git grep -l MakeUnique | xargs perl -pi -e 's,\b(rtc::)?MakeUnique\b,absl::make_unique,g'
git grep -l WrapUnique | xargs perl -pi -e 's,\b(rtc::)?WrapUnique\b,absl::WrapUnique,g'
git checkout -- rtc_base/ptr_util{.h,_unittest.cc}
git cl format
Followed by manually adding dependencies on
//third_party/abseil-cpp/absl/memory until `gn check` stopped
complaining.
Bug: webrtc:9473
Change-Id: I89ccd363f070479b8c431eb2c3d404a46eaacc1c
Reviewed-on: https://webrtc-review.googlesource.com/86600
Commit-Queue: Karl Wiberg <kwiberg@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23850}
2018-07-05 11:40:33 +02:00
|
|
|
"//third_party/abseil-cpp/absl/memory",
|
2017-01-19 08:27:11 -08:00
|
|
|
]
|
|
|
|
|
if (rtc_build_libvpx) {
|
|
|
|
|
deps += [ rtc_libvpx_dir ]
|
|
|
|
|
}
|
|
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
|
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
2016-06-13 00:19:48 -07:00
|
|
|
}
|