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

Side by Side Diff: webrtc/BUILD.gn

Issue 2786363002: Revert of Loosening the coupling between WebRTC and //third_party/protobuf (Closed)
Patch Set: Created 3 years, 8 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') | 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 # if (is_freebsd) { 93 # if (is_freebsd) {
94 # defines += [ "FREEBSD" ] 94 # defines += [ "FREEBSD" ]
95 # } 95 # }
96 } 96 }
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_enable_protobuf) {
104 defines += [ "WEBRTC_ENABLE_PROTOBUF=1" ]
105 } else {
106 defines += [ "WEBRTC_ENABLE_PROTOBUF=0" ]
107 }
108
109 if (rtc_restrict_logging) { 103 if (rtc_restrict_logging) {
110 defines += [ "WEBRTC_RESTRICT_LOGGING" ] 104 defines += [ "WEBRTC_RESTRICT_LOGGING" ]
111 } 105 }
112 106
113 if (rtc_include_internal_audio_device) { 107 if (rtc_include_internal_audio_device) {
114 defines += [ "WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE" ] 108 defines += [ "WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE" ]
115 } 109 }
116 110
117 if (rtc_relative_path) { 111 if (rtc_relative_path) {
118 defines += [ "EXPAT_RELATIVE_PATH" ] 112 defines += [ "EXPAT_RELATIVE_PATH" ]
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 ] 500 ]
507 501
508 deps = [ 502 deps = [
509 "//base:base_java_test_support", 503 "//base:base_java_test_support",
510 "//webrtc/examples:AppRTCMobile_javalib", 504 "//webrtc/examples:AppRTCMobile_javalib",
511 "//webrtc/sdk/android:libjingle_peerconnection_java", 505 "//webrtc/sdk/android:libjingle_peerconnection_java",
512 ] 506 ]
513 } 507 }
514 } 508 }
515 } 509 }
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