OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |