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

Side by Side Diff: webrtc/BUILD.gn

Issue 2747863003: Loosening the coupling between WebRTC and //third_party/protobuf (Closed)
Patch Set: Rebasing 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
103 if (rtc_restrict_logging) { 109 if (rtc_restrict_logging) {
104 defines += [ "WEBRTC_RESTRICT_LOGGING" ] 110 defines += [ "WEBRTC_RESTRICT_LOGGING" ]
105 } 111 }
106 112
107 if (rtc_include_internal_audio_device) { 113 if (rtc_include_internal_audio_device) {
108 defines += [ "WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE" ] 114 defines += [ "WEBRTC_INCLUDE_INTERNAL_AUDIO_DEVICE" ]
109 } 115 }
110 116
111 if (rtc_relative_path) { 117 if (rtc_relative_path) {
112 defines += [ "EXPAT_RELATIVE_PATH" ] 118 defines += [ "EXPAT_RELATIVE_PATH" ]
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 ] 506 ]
501 507
502 deps = [ 508 deps = [
503 "//base:base_java_test_support", 509 "//base:base_java_test_support",
504 "//webrtc/examples:AppRTCMobile_javalib", 510 "//webrtc/examples:AppRTCMobile_javalib",
505 "//webrtc/sdk/android:libjingle_peerconnection_java", 511 "//webrtc/sdk/android:libjingle_peerconnection_java",
506 ] 512 ]
507 } 513 }
508 } 514 }
509 } 515 }
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