Stop using public_deps in api/.
Bug: webrtc:8603 Change-Id: I12f91365fa9a3ed12be1a9658999b6f6aad7e5e3 No-Try: True Reviewed-on: https://webrtc-review.googlesource.com/33220 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Patrik Höglund <phoglund@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21584}
This commit is contained in:
parent
d20639f1f6
commit
34814c728f
22
api/BUILD.gn
22
api/BUILD.gn
@ -14,7 +14,7 @@ if (is_android) {
|
||||
|
||||
group("api") {
|
||||
visibility = [ "*" ]
|
||||
public_deps = [
|
||||
deps = [
|
||||
":libjingle_peerconnection_api",
|
||||
]
|
||||
}
|
||||
@ -87,13 +87,10 @@ rtc_static_library("libjingle_peerconnection_api") {
|
||||
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
||||
}
|
||||
|
||||
public_deps = [
|
||||
":peerconnection_and_implicit_call_api",
|
||||
]
|
||||
|
||||
deps = [
|
||||
":array_view",
|
||||
":optional",
|
||||
":peerconnection_and_implicit_call_api",
|
||||
":rtc_stats_api",
|
||||
":video_frame_api",
|
||||
"audio_codecs:audio_codecs_api",
|
||||
@ -281,11 +278,8 @@ rtc_source_set("libjingle_peerconnection_test_api") {
|
||||
"test/fakeconstraints.h",
|
||||
]
|
||||
|
||||
public_deps = [
|
||||
":libjingle_peerconnection_api",
|
||||
]
|
||||
|
||||
deps = [
|
||||
":libjingle_peerconnection_api",
|
||||
"../rtc_base:rtc_base_approved",
|
||||
]
|
||||
}
|
||||
@ -297,11 +291,8 @@ if (rtc_include_tests) {
|
||||
"test/mock_audio_mixer.h",
|
||||
]
|
||||
|
||||
public_deps = [
|
||||
":audio_mixer_api",
|
||||
]
|
||||
|
||||
deps = [
|
||||
":audio_mixer_api",
|
||||
"../test:test_support",
|
||||
"//testing/gmock",
|
||||
]
|
||||
@ -328,11 +319,8 @@ if (rtc_include_tests) {
|
||||
"test/mock_video_encoder_factory.h",
|
||||
]
|
||||
|
||||
public_deps = [
|
||||
"../api/video_codecs:video_codecs_api",
|
||||
]
|
||||
|
||||
deps = [
|
||||
"../api/video_codecs:video_codecs_api",
|
||||
"../test:test_support",
|
||||
"//testing/gmock",
|
||||
]
|
||||
|
||||
@ -509,6 +509,7 @@ if (is_linux || is_win) {
|
||||
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
||||
}
|
||||
deps = [
|
||||
"../api:libjingle_peerconnection_api",
|
||||
"../api:video_frame_api_i420",
|
||||
"../rtc_base:checks",
|
||||
"../rtc_base:stringutils",
|
||||
@ -543,6 +544,7 @@ if (is_linux || is_win) {
|
||||
|
||||
deps += [
|
||||
"../api:libjingle_peerconnection_test_api",
|
||||
"../api:peerconnection_and_implicit_call_api",
|
||||
"../api:video_frame_api",
|
||||
"../api/audio_codecs:builtin_audio_decoder_factory",
|
||||
"../api/audio_codecs:builtin_audio_encoder_factory",
|
||||
@ -669,7 +671,9 @@ if (is_win || is_android) {
|
||||
]
|
||||
}
|
||||
deps = [
|
||||
"../api:libjingle_peerconnection_api",
|
||||
"../api:libjingle_peerconnection_test_api",
|
||||
"../api:peerconnection_and_implicit_call_api",
|
||||
"../api:video_frame_api",
|
||||
"../api/audio_codecs:builtin_audio_decoder_factory",
|
||||
"../api/audio_codecs:builtin_audio_encoder_factory",
|
||||
|
||||
@ -562,6 +562,7 @@ if (rtc_include_tests) {
|
||||
"../../api:optional",
|
||||
"../../api:video_frame_api",
|
||||
"../../api:video_frame_api_i420",
|
||||
"../../api/video_codecs:video_codecs_api",
|
||||
"../../common_video",
|
||||
"../../media:rtc_audio_video",
|
||||
"../../media:rtc_internal_video_codecs",
|
||||
|
||||
@ -185,6 +185,7 @@ rtc_static_library("peerconnection") {
|
||||
"../api:call_api",
|
||||
"../api:libjingle_peerconnection_api",
|
||||
"../api:optional",
|
||||
"../api:peerconnection_and_implicit_call_api",
|
||||
"../api:rtc_stats_api",
|
||||
"../api/video_codecs:video_codecs_api",
|
||||
"../call:call_interfaces",
|
||||
@ -348,6 +349,7 @@ if (rtc_include_tests) {
|
||||
":peerconnection",
|
||||
":rtc_pc_base",
|
||||
"..:webrtc_common",
|
||||
"../api:libjingle_peerconnection_api",
|
||||
"../api:libjingle_peerconnection_test_api",
|
||||
"../api:peerconnection_and_implicit_call_api",
|
||||
"../api:rtc_stats_api",
|
||||
@ -454,7 +456,9 @@ if (rtc_include_tests) {
|
||||
deps = [
|
||||
":peerconnection",
|
||||
":rtc_pc_base",
|
||||
"../api:libjingle_peerconnection_api",
|
||||
"../api:mock_rtp",
|
||||
"../api:peerconnection_and_implicit_call_api",
|
||||
"../rtc_base:checks",
|
||||
"../rtc_base:stringutils",
|
||||
]
|
||||
|
||||
@ -392,6 +392,7 @@ if (is_ios || is_mac) {
|
||||
deps = [
|
||||
":peerconnectionfactory_base_objc",
|
||||
"../api:libjingle_peerconnection_api",
|
||||
"../api:peerconnection_and_implicit_call_api",
|
||||
"../rtc_base:rtc_base",
|
||||
]
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user