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

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

Issue 2468093004: WebRTC: Fix and enable -Woverloaded-virtual warnings. (Closed)
Patch Set: Fixed errors and reverted video capture changes Created 4 years, 1 month 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/api/peerconnection_unittest.cc » ('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("../build/webrtc.gni") 9 import("../build/webrtc.gni")
10 if (is_android) { 10 if (is_android) {
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 cflags = [ 353 cflags = [
354 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=6267 354 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=6267
355 # for -Wno-sign-compare 355 # for -Wno-sign-compare
356 "-Wno-sign-compare", 356 "-Wno-sign-compare",
357 "-Wno-unused-function", 357 "-Wno-unused-function",
358 ] 358 ]
359 } 359 }
360 360
361 if (!is_win) { 361 if (!is_win) {
362 cflags = [ "-Wno-sign-compare" ] 362 cflags = [ "-Wno-sign-compare" ]
363 cflags_cc = [ "-Wno-overloaded-virtual" ]
364 } 363 }
365 } 364 }
366 365
367 rtc_test("peerconnection_unittests") { 366 rtc_test("peerconnection_unittests") {
368 testonly = true 367 testonly = true
369 sources = [ 368 sources = [
370 "datachannel_unittest.cc", 369 "datachannel_unittest.cc",
371 "dtmfsender_unittest.cc", 370 "dtmfsender_unittest.cc",
372 "fakemetricsobserver.cc", 371 "fakemetricsobserver.cc",
373 "fakemetricsobserver.h", 372 "fakemetricsobserver.h",
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 490
492 shared_libraries = [ ":libjingle_peerconnection_so" ] 491 shared_libraries = [ ":libjingle_peerconnection_so" ]
493 } 492 }
494 493
495 android_resources("libjingle_peerconnection_android_unittest_resources") { 494 android_resources("libjingle_peerconnection_android_unittest_resources") {
496 resource_dirs = [ "androidtests/res" ] 495 resource_dirs = [ "androidtests/res" ]
497 custom_package = "org.webrtc" 496 custom_package = "org.webrtc"
498 } 497 }
499 } 498 }
500 } 499 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/api/peerconnection_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698