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

Side by Side Diff: webrtc/api/BUILD.gn

Issue 2739863002: Enable GN check for webrtc/{p2p,system_wrappers} (Closed)
Patch Set: Rebased Created 3 years, 8 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 | « .gn ('k') | webrtc/media/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) 2015 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2015 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("../webrtc.gni") 9 import("../webrtc.gni")
10 if (is_android) { 10 if (is_android) {
(...skipping 17 matching lines...) Expand all
28 ":audio_mixer_api", 28 ":audio_mixer_api",
29 ":transport_api", 29 ":transport_api",
30 "..:webrtc_common", 30 "..:webrtc_common",
31 "../base:rtc_base_approved", 31 "../base:rtc_base_approved",
32 "../modules/audio_coding:audio_encoder_interface", 32 "../modules/audio_coding:audio_encoder_interface",
33 "audio_codecs:audio_codecs_api", 33 "audio_codecs:audio_codecs_api",
34 ] 34 ]
35 } 35 }
36 36
37 rtc_static_library("libjingle_peerconnection_api") { 37 rtc_static_library("libjingle_peerconnection_api") {
38 check_includes = false # TODO(kjellander): Remove (bugs.webrtc.org/6828) 38 # Cannot have GN check enabled since that would introduce dependency cycles
39 # TODO(kjellander): Remove (bugs.webrtc.org/7504)
40 check_includes = false
39 cflags = [] 41 cflags = []
40 sources = [ 42 sources = [
41 "datachannel.h", 43 "datachannel.h",
42 "datachannelinterface.h", 44 "datachannelinterface.h",
43 "dtmfsenderinterface.h", 45 "dtmfsenderinterface.h",
44 "jsep.h", 46 "jsep.h",
45 "jsepicecandidate.h", 47 "jsepicecandidate.h",
46 "jsepsessiondescription.h", 48 "jsepsessiondescription.h",
47 "mediaconstraintsinterface.cc", 49 "mediaconstraintsinterface.cc",
48 "mediaconstraintsinterface.h", 50 "mediaconstraintsinterface.h",
(...skipping 26 matching lines...) Expand all
75 "webrtcsdp.h", 77 "webrtcsdp.h",
76 ] 78 ]
77 79
78 if (!build_with_chromium && is_clang) { 80 if (!build_with_chromium && is_clang) {
79 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 81 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
80 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 82 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
81 } 83 }
82 84
83 deps = [ 85 deps = [
84 ":rtc_stats_api", 86 ":rtc_stats_api",
87 "..:webrtc_common",
88 "../base:rtc_base",
89 "../base:rtc_base_approved",
90 "audio_codecs:audio_codecs_api",
85 ] 91 ]
92
93 # This is needed until bugs.webrtc.org/7504 is removed so this target can
94 # properly depend on ../media:rtc_media_base
95 # TODO(kjellander): Remove this dependency.
96 if (is_nacl) {
97 deps += [ "//native_client_sdk/src/libraries/nacl_io" ]
98 }
86 } 99 }
87 100
88 rtc_source_set("ortc_api") { 101 rtc_source_set("ortc_api") {
89 check_includes = false # TODO(deadbeef): Remove (bugs.webrtc.org/6828) 102 check_includes = false # TODO(deadbeef): Remove (bugs.webrtc.org/6828)
90 sources = [ 103 sources = [
91 "ortc/mediadescription.cc", 104 "ortc/mediadescription.cc",
92 "ortc/mediadescription.h", 105 "ortc/mediadescription.h",
93 "ortc/ortcfactoryinterface.h", 106 "ortc/ortcfactoryinterface.h",
94 "ortc/ortcrtpreceiverinterface.h", 107 "ortc/ortcrtpreceiverinterface.h",
95 "ortc/ortcrtpsenderinterface.h", 108 "ortc/ortcrtpsenderinterface.h",
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 254 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
242 } 255 }
243 256
244 deps = [ 257 deps = [
245 ":libjingle_peerconnection_api", 258 ":libjingle_peerconnection_api",
246 ":ortc_api", 259 ":ortc_api",
247 "//webrtc/test:test_support", 260 "//webrtc/test:test_support",
248 ] 261 ]
249 } 262 }
250 } 263 }
OLDNEW
« no previous file with comments | « .gn ('k') | webrtc/media/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698