OLD | NEW |
1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 3 # Use of this source code is governed by a BSD-style license |
4 # that can be found in the LICENSE file in the root of the source | 4 # that can be found in the LICENSE file in the root of the source |
5 # tree. An additional intellectual property rights grant can be found | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 import("//build/config/linux/pkg_config.gni") | 9 import("//build/config/linux/pkg_config.gni") |
10 import("../webrtc.gni") | 10 import("../webrtc.gni") |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 # TODO(kjellander): Remove (bugs.webrtc.org/6828) | 54 # TODO(kjellander): Remove (bugs.webrtc.org/6828) |
55 # Enabling GN check triggers cyclic dependency error: | 55 # Enabling GN check triggers cyclic dependency error: |
56 # :rtc_media_base -> | 56 # :rtc_media_base -> |
57 # ../pc:rtc_pc_base -> | 57 # ../pc:rtc_pc_base -> |
58 # :rtc_data -> | 58 # :rtc_data -> |
59 # :rtc_media_base | 59 # :rtc_media_base |
60 check_includes = false | 60 check_includes = false |
61 defines = [] | 61 defines = [] |
62 libs = [] | 62 libs = [] |
63 deps = [] | 63 deps = [] |
| 64 public_deps = [] |
64 sources = [ | 65 sources = [ |
65 "base/adaptedvideotracksource.cc", | 66 "base/adaptedvideotracksource.cc", |
66 "base/adaptedvideotracksource.h", | 67 "base/adaptedvideotracksource.h", |
67 "base/audiosource.h", | 68 "base/audiosource.h", |
68 "base/codec.cc", | 69 "base/codec.cc", |
69 "base/codec.h", | 70 "base/codec.h", |
70 "base/cryptoparams.h", | 71 "base/cryptoparams.h", |
71 "base/device.h", | 72 "base/device.h", |
72 "base/mediachannel.h", | 73 "base/mediachannel.h", |
73 "base/mediaconstants.cc", | 74 "base/mediaconstants.cc", |
(...skipping 27 matching lines...) Expand all Loading... |
101 ] | 102 ] |
102 | 103 |
103 if (!build_with_chromium && is_clang) { | 104 if (!build_with_chromium && is_clang) { |
104 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 105 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
105 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 106 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
106 } | 107 } |
107 | 108 |
108 include_dirs = [] | 109 include_dirs = [] |
109 if (rtc_build_libyuv) { | 110 if (rtc_build_libyuv) { |
110 deps += [ "$rtc_libyuv_dir" ] | 111 deps += [ "$rtc_libyuv_dir" ] |
111 public_deps = [ | 112 public_deps += [ "$rtc_libyuv_dir" ] |
112 "$rtc_libyuv_dir", | |
113 ] | |
114 } else { | 113 } else { |
115 # Need to add a directory normally exported by libyuv. | 114 # Need to add a directory normally exported by libyuv. |
116 include_dirs += [ "$rtc_libyuv_dir/include" ] | 115 include_dirs += [ "$rtc_libyuv_dir/include" ] |
117 } | 116 } |
118 | 117 |
119 deps += [ | 118 deps += [ |
120 ":rtc_h264_profile_id", | |
121 "..:webrtc_common", | 119 "..:webrtc_common", |
122 "../api:libjingle_peerconnection_api", | 120 "../api:libjingle_peerconnection_api", |
123 "../p2p", | 121 "../p2p", |
124 "../rtc_base:rtc_base", | 122 "../rtc_base:rtc_base", |
125 "../rtc_base:rtc_base_approved", | 123 "../rtc_base:rtc_base_approved", |
126 ] | 124 ] |
127 | 125 |
| 126 public_deps += [ ":rtc_h264_profile_id" ] |
| 127 |
128 if (is_nacl) { | 128 if (is_nacl) { |
129 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] | 129 deps += [ "//native_client_sdk/src/libraries/nacl_io" ] |
130 } | 130 } |
131 } | 131 } |
132 | 132 |
133 rtc_static_library("rtc_audio_video") { | 133 rtc_static_library("rtc_audio_video") { |
134 defines = [] | 134 defines = [] |
135 libs = [] | 135 libs = [] |
136 deps = [] | 136 deps = [] |
137 sources = [ | 137 sources = [ |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
527 "../rtc_base:rtc_base_approved", | 527 "../rtc_base:rtc_base_approved", |
528 "../rtc_base:rtc_base_tests_main", | 528 "../rtc_base:rtc_base_tests_main", |
529 "../rtc_base:rtc_base_tests_utils", | 529 "../rtc_base:rtc_base_tests_utils", |
530 "../system_wrappers:metrics_default", | 530 "../system_wrappers:metrics_default", |
531 "../test:audio_codec_mocks", | 531 "../test:audio_codec_mocks", |
532 "../test:test_support", | 532 "../test:test_support", |
533 "../voice_engine:voice_engine", | 533 "../voice_engine:voice_engine", |
534 ] | 534 ] |
535 } | 535 } |
536 } | 536 } |
OLD | NEW |