OLD | NEW |
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 Loading... |
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 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
503 ] | 509 ] |
504 | 510 |
505 deps = [ | 511 deps = [ |
506 "//base:base_java_test_support", | 512 "//base:base_java_test_support", |
507 "//webrtc/examples:AppRTCMobile_javalib", | 513 "//webrtc/examples:AppRTCMobile_javalib", |
508 "//webrtc/sdk/android:libjingle_peerconnection_java", | 514 "//webrtc/sdk/android:libjingle_peerconnection_java", |
509 ] | 515 ] |
510 } | 516 } |
511 } | 517 } |
512 } | 518 } |
OLD | NEW |