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

Side by Side Diff: webrtc/BUILD.gn

Issue 2520533002: Remove unused dbus.cc/.h and related things. (Closed)
Patch Set: 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/base/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) 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 # defines += [ "BSD" ] 90 # defines += [ "BSD" ]
91 # } 91 # }
92 # if (is_openbsd) { 92 # if (is_openbsd) {
93 # defines += [ "OPENBSD" ] 93 # defines += [ "OPENBSD" ]
94 # } 94 # }
95 # if (is_freebsd) { 95 # if (is_freebsd) {
96 # defines += [ "FREEBSD" ] 96 # defines += [ "FREEBSD" ]
97 # } 97 # }
98 } 98 }
99 99
100 if (rtc_have_dbus_glib) {
101 pkg_config("dbus-glib") {
102 packages = [ "dbus-glib-1" ]
103 }
104 }
105
106 config("common_config") { 100 config("common_config") {
107 cflags = [] 101 cflags = []
108 cflags_cc = [] 102 cflags_cc = []
109 defines = [] 103 defines = []
110 104
111 if (rtc_restrict_logging) { 105 if (rtc_restrict_logging) {
112 defines += [ "WEBRTC_RESTRICT_LOGGING" ] 106 defines += [ "WEBRTC_RESTRICT_LOGGING" ]
113 } 107 }
114 108
115 if (rtc_include_internal_audio_device) { 109 if (rtc_include_internal_audio_device) {
116 defines += [ "WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE" ] 110 defines += [ "WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE" ]
117 } 111 }
118 112
119 if (rtc_have_dbus_glib) {
120 defines += [ "HAVE_DBUS_GLIB" ]
121
122 # TODO(kjellander): Investigate this, it seems like include <dbus/dbus.h>
123 # is still not found even if the execution of
124 # build/config/linux/pkg-config.py dbus-glib-1 returns correct include
125 # dirs on Linux.
126 all_dependent_configs = [ "dbus-glib" ]
127 }
128
129 if (rtc_relative_path) { 113 if (rtc_relative_path) {
130 defines += [ "EXPAT_RELATIVE_PATH" ] 114 defines += [ "EXPAT_RELATIVE_PATH" ]
131 } 115 }
132 116
133 if (!rtc_libvpx_build_vp9) { 117 if (!rtc_libvpx_build_vp9) {
134 defines += [ "RTC_DISABLE_VP9" ] 118 defines += [ "RTC_DISABLE_VP9" ]
135 } 119 }
136 120
137 if (build_with_chromium) { 121 if (build_with_chromium) {
138 defines += [ 122 defines += [
(...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after
731 715
732 deps = [ 716 deps = [
733 "//base:base_java_test_support", 717 "//base:base_java_test_support",
734 "//webrtc/api:libjingle_peerconnection_java", 718 "//webrtc/api:libjingle_peerconnection_java",
735 "//webrtc/api:libjingle_peerconnection_jni", 719 "//webrtc/api:libjingle_peerconnection_jni",
736 "//webrtc/examples:AppRTCMobile_javalib", 720 "//webrtc/examples:AppRTCMobile_javalib",
737 ] 721 ]
738 } 722 }
739 } 723 }
740 } 724 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698