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

Side by Side Diff: webrtc/BUILD.gn

Issue 2050313002: GN: Add rtc_media_unittests (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 6 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/base/BUILD.gn » ('j') | webrtc/media/BUILD.gn » ('J')
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
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 97
98 config("common_config") { 98 config("common_config") {
99 cflags = [] 99 cflags = []
100 cflags_cc = [] 100 cflags_cc = []
101 defines = [] 101 defines = []
102 102
103 if (rtc_restrict_logging) { 103 if (rtc_restrict_logging) {
104 defines += [ "WEBRTC_RESTRICT_LOGGING" ] 104 defines += [ "WEBRTC_RESTRICT_LOGGING" ]
105 } 105 }
106 106
107 if (rtc_include_internal_audio_device) {
108 defines += [ "WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE" ]
109 }
110
107 if (rtc_have_dbus_glib) { 111 if (rtc_have_dbus_glib) {
108 defines += [ "HAVE_DBUS_GLIB" ] 112 defines += [ "HAVE_DBUS_GLIB" ]
109 113
110 # TODO(kjellander): Investigate this, it seems like include <dbus/dbus.h> 114 # TODO(kjellander): Investigate this, it seems like include <dbus/dbus.h>
111 # is still not found even if the execution of 115 # is still not found even if the execution of
112 # build/config/linux/pkg-config.py dbus-glib-1 returns correct include 116 # build/config/linux/pkg-config.py dbus-glib-1 returns correct include
113 # dirs on Linux. 117 # dirs on Linux.
114 all_dependent_configs = [ "dbus-glib" ] 118 all_dependent_configs = [ "dbus-glib" ]
115 } 119 }
116 120
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
560 public_configs = [ ":common_inherited_config" ] 564 public_configs = [ ":common_inherited_config" ]
561 565
562 if (is_clang) { 566 if (is_clang) {
563 # Suppress warnings from the Chromium Clang plugin. 567 # Suppress warnings from the Chromium Clang plugin.
564 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 568 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
565 configs -= [ "//build/config/clang:find_bad_constructs" ] 569 configs -= [ "//build/config/clang:find_bad_constructs" ]
566 } 570 }
567 571
568 deps = [ 572 deps = [
569 "base:rtc_base", 573 "base:rtc_base",
570 "base:rtc_base_test_utils", 574 "base:rtc_base_tests_utils",
571 "base:rtc_task_queue", 575 "base:rtc_task_queue",
572 "p2p:libstunprober", 576 "p2p:libstunprober",
573 "p2p:rtc_p2p", 577 "p2p:rtc_p2p",
574 "//testing/gmock", 578 "//testing/gmock",
575 "//testing/gtest", 579 "//testing/gtest",
576 ] 580 ]
577 581
578 if (is_android) { 582 if (is_android) {
579 deps += [ "//testing/android/native_test:native_test_support" ] 583 deps += [ "//testing/android/native_test:native_test_support" ]
580 } 584 }
(...skipping 15 matching lines...) Expand all
596 # TODO(tkchin): Cleanup this warning. 600 # TODO(tkchin): Cleanup this warning.
597 cflags = [ "-Wno-objc-property-no-attribute" ] 601 cflags = [ "-Wno-objc-property-no-attribute" ]
598 602
599 # |-ObjC| flag needed to make sure category method implementations 603 # |-ObjC| flag needed to make sure category method implementations
600 # are included: 604 # are included:
601 # https://developer.apple.com/library/mac/qa/qa1490/_index.html 605 # https://developer.apple.com/library/mac/qa/qa1490/_index.html
602 ldflags = [ "-ObjC" ] 606 ldflags = [ "-ObjC" ]
603 } 607 }
604 } 608 }
605 } 609 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/base/BUILD.gn » ('j') | webrtc/media/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698