Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(217)

Side by Side Diff: webrtc/BUILD.gn

Issue 1250383003: Revert "Renamed the ACMDump to RtcEventLog and moved it to webrtc/video, since it is not specific t… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2014 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 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330. 9 # TODO(kjellander): Rebase this to webrtc/build/common.gypi changes after r6330.
10 10
11 import("//build/config/crypto.gni") 11 import("//build/config/crypto.gni")
12 import("//build/config/linux/pkg_config.gni") 12 import("//build/config/linux/pkg_config.gni")
13 import("build/webrtc.gni") 13 import("build/webrtc.gni")
14 import("//third_party/protobuf/proto_library.gni")
15 14
16 # Contains the defines and includes in common.gypi that are duplicated both as 15 # Contains the defines and includes in common.gypi that are duplicated both as
17 # target_defaults and direct_dependent_settings. 16 # target_defaults and direct_dependent_settings.
18 config("common_inherited_config") { 17 config("common_inherited_config") {
19 defines = [] 18 defines = []
20 if (build_with_mozilla) { 19 if (build_with_mozilla) {
21 defines += [ "WEBRTC_MOZILLA_BUILD" ] 20 defines += [ "WEBRTC_MOZILLA_BUILD" ]
22 } 21 }
23 if (build_with_chromium) { 22 if (build_with_chromium) {
24 defines = [ "WEBRTC_CHROMIUM_BUILD" ] 23 defines = [ "WEBRTC_CHROMIUM_BUILD" ]
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 } 168 }
170 169
171 source_set("webrtc") { 170 source_set("webrtc") {
172 sources = [ 171 sources = [
173 "call.h", 172 "call.h",
174 "config.h", 173 "config.h",
175 "frame_callback.h", 174 "frame_callback.h",
176 "transport.h", 175 "transport.h",
177 ] 176 ]
178 177
179 defines = []
180 configs += [ ":common_config" ] 178 configs += [ ":common_config" ]
181 public_configs = [ ":common_inherited_config" ] 179 public_configs = [ ":common_inherited_config" ]
182 180
183 deps = [ 181 deps = [
184 ":webrtc_common", 182 ":webrtc_common",
185 "base:rtc_base", 183 "base:rtc_base",
186 "common_audio", 184 "common_audio",
187 "common_video", 185 "common_video",
188 "modules/audio_coding", 186 "modules/audio_coding",
189 "modules/audio_conference_mixer", 187 "modules/audio_conference_mixer",
(...skipping 11 matching lines...) Expand all
201 "video", 199 "video",
202 "voice_engine", 200 "voice_engine",
203 ] 201 ]
204 202
205 if (build_with_chromium) { 203 if (build_with_chromium) {
206 deps += [ 204 deps += [
207 "modules/video_capture", 205 "modules/video_capture",
208 "modules/video_render", 206 "modules/video_render",
209 ] 207 ]
210 } 208 }
211
212 if (rtc_enable_protobuf) {
213 defines += [ "ENABLE_RTC_EVENT_LOG" ]
214 deps += [ ":rtc_event_log_proto" ]
215 }
216 } 209 }
217 210
218 if (!build_with_chromium) { 211 if (!build_with_chromium) {
219 executable("webrtc_tests") { 212 executable("webrtc_tests") {
220 testonly = true 213 testonly = true
221 deps = [ 214 deps = [
222 ":webrtc", 215 ":webrtc",
223 "modules/video_render:video_render_internal_impl", 216 "modules/video_render:video_render_internal_impl",
224 "modules/video_capture:video_capture_internal_impl", 217 "modules/video_capture:video_capture_internal_impl",
225 "test", 218 "test",
(...skipping 13 matching lines...) Expand all
239 232
240 configs += [ ":common_config" ] 233 configs += [ ":common_config" ]
241 public_configs = [ ":common_inherited_config" ] 234 public_configs = [ ":common_inherited_config" ]
242 } 235 }
243 236
244 source_set("gtest_prod") { 237 source_set("gtest_prod") {
245 sources = [ 238 sources = [
246 "test/testsupport/gtest_prod_util.h", 239 "test/testsupport/gtest_prod_util.h",
247 ] 240 ]
248 } 241 }
249
250 if (rtc_enable_protobuf) {
251 proto_library("rtc_event_log_proto") {
252 sources = [
253 "video/rtc_event_log.proto",
254 ]
255 proto_out_dir = "webrtc/video"
256 }
257 }
258
259 source_set("rtc_event_log") {
260 sources = [
261 "video/rtc_event_log.cc",
262 "video/rtc_event_log.h",
263 ]
264
265 defines = []
266 configs += [ ":common_config" ]
267 public_configs = [ ":common_inherited_config" ]
268
269 deps = [
270 ":webrtc_common",
271 ]
272
273 if (rtc_enable_protobuf) {
274 defines += [ "ENABLE_RTC_EVENT_LOG" ]
275 deps += [ ":rtc_event_log_proto" ]
276 }
277 if (is_clang) {
278 # Suppress warnings from Chrome's Clang plugins.
279 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
280 configs -= [ "//build/config/clang:find_bad_constructs" ]
281 }
282 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698