Hide VideoCodecType from Android SDK
This has not been used since
https://webrtc-review.googlesource.com/c/src/+/172721 .
Bug: None
Change-Id: Id617b9f6770b342b324fe0da84bf402cea1e783c
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/223081
Reviewed-by: Niels Moller <nisse@webrtc.org>
Reviewed-by: Xavier Lepaul‎ <xalep@webrtc.org>
Commit-Queue: Byoungchan Lee <daniel.l@hpcnt.com>
Cr-Commit-Position: refs/heads/master@{#34480}
diff --git a/api/video/BUILD.gn b/api/video/BUILD.gn
index ec90bc1..4136713 100644
--- a/api/video/BUILD.gn
+++ b/api/video/BUILD.gn
@@ -69,12 +69,6 @@
absl_deps = [ "//third_party/abseil-cpp/absl/types:optional" ]
}
-if (is_android) {
- java_cpp_enum("video_frame_enums") {
- sources = [ "video_codec_type.h" ]
- }
-}
-
rtc_library("video_frame_i010") {
visibility = [ "*" ]
sources = [
diff --git a/api/video/video_codec_type.h b/api/video/video_codec_type.h
index 12dcfac..74a4bc4 100644
--- a/api/video/video_codec_type.h
+++ b/api/video/video_codec_type.h
@@ -13,7 +13,6 @@
namespace webrtc {
-// GENERATED_JAVA_ENUM_PACKAGE: org.webrtc
enum VideoCodecType {
// There are various memset(..., 0, ...) calls in the code that rely on
// kVideoCodecGeneric being zero.
diff --git a/sdk/android/BUILD.gn b/sdk/android/BUILD.gn
index be15a7d..57b9d62 100644
--- a/sdk/android/BUILD.gn
+++ b/sdk/android/BUILD.gn
@@ -323,7 +323,6 @@
]
srcjar_deps = [
"//api:priority_enums",
- "//api/video:video_frame_enums",
"//rtc_base:network_monitor_enums",
]
}