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

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

Issue 2974863003: Use relative paths in GN files. (Closed)
Patch Set: Created 3 years, 5 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 | « webrtc/BUILD.gn ('k') | webrtc/audio/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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 testonly = true 215 testonly = true
216 sources = [ 216 sources = [
217 "test/mock_audio_mixer.h", 217 "test/mock_audio_mixer.h",
218 ] 218 ]
219 219
220 public_deps = [ 220 public_deps = [
221 ":audio_mixer_api", 221 ":audio_mixer_api",
222 ] 222 ]
223 223
224 deps = [ 224 deps = [
225 "../test:test_support",
225 "//testing/gmock", 226 "//testing/gmock",
226 "//webrtc/test:test_support",
227 ] 227 ]
228 } 228 }
229 229
230 rtc_source_set("fakemetricsobserver") { 230 rtc_source_set("fakemetricsobserver") {
231 testonly = true 231 testonly = true
232 sources = [ 232 sources = [
233 "fakemetricsobserver.cc", 233 "fakemetricsobserver.cc",
234 "fakemetricsobserver.h", 234 "fakemetricsobserver.h",
235 ] 235 ]
236 deps = [ 236 deps = [
237 ":libjingle_peerconnection_api", 237 ":libjingle_peerconnection_api",
238 "../base:rtc_base_approved", 238 "../base:rtc_base_approved",
239 ] 239 ]
240 if (!build_with_chromium && is_clang) { 240 if (!build_with_chromium && is_clang) {
241 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 241 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
242 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 242 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
243 } 243 }
244 } 244 }
245 245
246 rtc_source_set("rtc_api_unittests") { 246 rtc_source_set("rtc_api_unittests") {
247 testonly = true 247 testonly = true
248 248
249 # Skip restricting visibility on mobile platforms since the tests on those 249 # Skip restricting visibility on mobile platforms since the tests on those
250 # gets additional generated targets which would require many lines here to 250 # gets additional generated targets which would require many lines here to
251 # cover (which would be confusing to read and hard to maintain). 251 # cover (which would be confusing to read and hard to maintain).
252 if (!is_android && !is_ios) { 252 if (!is_android && !is_ios) {
253 visibility = [ "//webrtc:rtc_unittests" ] 253 visibility = [ "..:rtc_unittests" ]
254 } 254 }
255 sources = [ 255 sources = [
256 "ortc/mediadescription_unittest.cc", 256 "ortc/mediadescription_unittest.cc",
257 "ortc/sessiondescription_unittest.cc", 257 "ortc/sessiondescription_unittest.cc",
258 "rtcerror_unittest.cc", 258 "rtcerror_unittest.cc",
259 ] 259 ]
260 260
261 if (!build_with_chromium && is_clang) { 261 if (!build_with_chromium && is_clang) {
262 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 262 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
263 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 263 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
264 } 264 }
265 265
266 deps = [ 266 deps = [
267 ":libjingle_peerconnection_api", 267 ":libjingle_peerconnection_api",
268 ":ortc_api", 268 ":ortc_api",
269 "//webrtc/test:test_support", 269 "../test:test_support",
270 ] 270 ]
271 } 271 }
272 } 272 }
OLDNEW
« no previous file with comments | « webrtc/BUILD.gn ('k') | webrtc/audio/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698