Move h264_profile_level_id and vp9_profile to api/video_codecs
This is a refactor to simplify a follow-up CL of adding
SdpVideoFormat::IsSameCodec.
The original files media/base/h264_profile_level_id.* and
media/base/vp9_profile.h must be kept until downstream projects
stop using them.
Bug: chroimium:1187565
Change-Id: Ib39eca095a3d61939a914d9bffaf4b891ddd222f
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/215236
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Kári Helgason <kthelgason@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Johannes Kron <kron@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#33782}
diff --git a/video/BUILD.gn b/video/BUILD.gn
index 35ad044..c524212 100644
--- a/video/BUILD.gn
+++ b/video/BUILD.gn
@@ -84,7 +84,6 @@
"../call:rtp_sender",
"../call:video_stream_api",
"../common_video",
- "../media:rtc_h264_profile_id",
"../modules:module_api",
"../modules:module_api_public",
"../modules/pacing",
@@ -175,7 +174,6 @@
"../call:rtp_receiver", # For RtxReceiveStream.
"../call:video_stream_api",
"../common_video",
- "../media:rtc_h264_profile_id",
"../modules:module_api",
"../modules/pacing",
"../modules/remote_bitrate_estimator",
@@ -431,7 +429,6 @@
"../api:test_dependency_factory",
"../api:video_quality_test_fixture_api",
"../api/video_codecs:video_codecs_api",
- "../media:rtc_vp9_profile",
"../modules/pacing",
"../modules/video_coding:webrtc_vp9",
"../rtc_base/experiments:alr_experiment",
@@ -463,8 +460,8 @@
"../api:peer_connection_quality_test_fixture_api",
"../api:simulated_network_api",
"../api:time_controller",
+ "../api/video_codecs:video_codecs_api",
"../call:simulated_network",
- "../media:rtc_vp9_profile",
"../modules/video_coding:webrtc_vp9",
"../system_wrappers:field_trial",
"../test:field_trial",