Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit c84e41d

Browse files
authored
Remove duplicated HEVC files. (#188)
1 parent dae986e commit c84e41d

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

sdk/BUILD.gn

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1368,16 +1368,6 @@ if (is_ios || is_mac) {
13681368
"objc/api/video_frame_buffer/RTCNativeMutableI420Buffer.h",
13691369
]
13701370

1371-
if (rtc_use_h265) {
1372-
sources += [
1373-
"objc/components/video_codec/RTCH265ProfileLevelId.h",
1374-
"objc/components/video_codec/RTCVideoDecoderFactoryH265.h",
1375-
"objc/components/video_codec/RTCVideoDecoderH265.h",
1376-
"objc/components/video_codec/RTCVideoEncoderFactoryH265.h",
1377-
"objc/components/video_codec/RTCVideoEncoderH265.h",
1378-
]
1379-
}
1380-
13811371
if (!build_with_chromium) {
13821372
common_objc_headers += [
13831373
"objc/api/logging/RTCCallbackLogger.h",
@@ -1388,6 +1378,7 @@ if (is_ios || is_mac) {
13881378
sources = common_objc_headers
13891379
public_headers = common_objc_headers
13901380

1381+
13911382
ldflags = [
13921383
"-all_load",
13931384
"-install_name",
@@ -1521,11 +1512,6 @@ if (is_ios || is_mac) {
15211512
"objc/components/video_codec/RTCVideoDecoderH264.h",
15221513
"objc/components/video_codec/RTCVideoEncoderFactoryH264.h",
15231514
"objc/components/video_codec/RTCVideoEncoderH264.h",
1524-
"objc/components/video_codec/RTCH265ProfileLevelId.h",
1525-
"objc/components/video_codec/RTCVideoDecoderFactoryH265.h",
1526-
"objc/components/video_codec/RTCVideoDecoderH265.h",
1527-
"objc/components/video_codec/RTCVideoEncoderFactoryH265.h",
1528-
"objc/components/video_codec/RTCVideoEncoderH265.h",
15291515
"objc/components/video_frame_buffer/RTCCVPixelBuffer.h",
15301516
"objc/helpers/RTCDispatcher.h",
15311517
]
@@ -1756,6 +1742,8 @@ if (is_ios || is_mac) {
17561742
"objc/components/video_codec/RTCVideoEncoderH264.mm",
17571743
]
17581744

1745+
defines = []
1746+
17591747
if (rtc_use_h265) {
17601748
sources += [
17611749
"objc/components/video_codec/RTCVideoDecoderFactoryH265.h",

0 commit comments

Comments
 (0)