This repository was archived by the owner on Oct 25, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -68,15 +68,20 @@ if (!build_with_chromium) {
68
68
" pc:rtc_pc_unittests" ,
69
69
" pc:slow_peer_connection_unittests" ,
70
70
" pc:svc_tests" ,
71
- " rtc_tools:rtp_generator" ,
72
- " rtc_tools:video_replay" ,
73
71
" stats:rtc_stats_unittests" ,
74
72
" system_wrappers:system_wrappers_unittests" ,
75
73
" test" ,
76
74
" video:screenshare_loopback" ,
77
75
" video:sv_loopback" ,
78
76
" video:video_loopback" ,
79
77
]
78
+
79
+ if (! is_component_build ) {
80
+ deps += [
81
+ " rtc_tools:rtp_generator" ,
82
+ " rtc_tools:video_replay" ,
83
+ ]
84
+ }
80
85
if (! is_asan ) {
81
86
# Do not build :webrtc_lib_link_test because lld complains on some OS
82
87
# (e.g. when target_os = "mac") when is_asan=true. For more details,
@@ -484,8 +489,8 @@ if (!build_with_chromium) {
484
489
rtc_static_library (" webrtc" ) {
485
490
# Only the root target and the test should depend on this.
486
491
visibility = [
487
- " .:default" ,
488
492
" :webrtc_lib_link_test" ,
493
+ " .:default" ,
489
494
]
490
495
491
496
if (build_with_owt ) {
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import("//build/config/sysroot.gni")
14
14
import (" //build_overrides/build.gni" )
15
15
import (" //build_overrides/ssl/ssl.gni" )
16
16
17
- if (! build_with_chromium && is_component_build ) {
17
+ if (! build_with_chromium && ! build_with_owt && is_component_build ) {
18
18
print (" The Gn argument `is_component_build` is currently " +
19
19
" ignored for WebRTC builds." )
20
20
print (" Component builds are supported by Chromium and the argument " +
You can’t perform that action at this time.
0 commit comments