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

Commit ae00694

Browse files
taste1981jianjunz
authored andcommitted
Update webrtc visiblity to SDK (#23)
1 parent 9ca8f80 commit ae00694

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

BUILD.gn

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,10 @@ config("common_inherited_config") {
203203
if (is_ubsan) {
204204
cflags += [ "-fsanitize=float-cast-overflow" ]
205205
}
206+
207+
if (!rtc_use_h265) {
208+
defines += [ "DISABLE_H265" ]
209+
}
206210
}
207211

208212
# TODO(bugs.webrtc.org/9693): Remove the possibility to suppress this warning
@@ -403,6 +407,10 @@ if (!build_with_chromium) {
403407
# Only the root target should depend on this.
404408
visibility = [ ".:default" ]
405409

410+
if (build_with_owt) {
411+
visibility += [ "//talk/owt" ]
412+
}
413+
406414
sources = []
407415
complete_static_lib = true
408416
suppressed_configs += [ "//build/config/compiler:thin_archive" ]

0 commit comments

Comments
 (0)