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

Side by Side Diff: webrtc/api/BUILD.gn

Issue 2082573004: Exclude libjingle_peerconnection_{jni,so} targets from Chromium builds. (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/api/api.gyp » ('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) 2015 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2015 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 import("../build/webrtc.gni") 9 import("../build/webrtc.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 "quicdatatransport.cc", 127 "quicdatatransport.cc",
128 "quicdatatransport.h", 128 "quicdatatransport.h",
129 ] 129 ]
130 deps += [ "//third_party/libquic" ] 130 deps += [ "//third_party/libquic" ]
131 public_deps = [ 131 public_deps = [
132 "//third_party/libquic", 132 "//third_party/libquic",
133 ] 133 ]
134 } 134 }
135 } 135 }
136 136
137 if (is_android) { 137 # Exclude the targets below from the Chromium build since they cannot be built
138 # due to incompability with Chromium's logging implementation.
139 if (is_android && !build_with_chromium) {
138 config("libjingle_peerconnection_jni_warnings_config") { 140 config("libjingle_peerconnection_jni_warnings_config") {
139 # The warnings below are enabled by default. Since GN orders compiler flags 141 # The warnings below are enabled by default. Since GN orders compiler flags
140 # for a target before flags from configs, the only way to disable such 142 # for a target before flags from configs, the only way to disable such
141 # warnings is by having them in a separate config, loaded from the target. 143 # warnings is by having them in a separate config, loaded from the target.
142 if (!is_win) { 144 if (!is_win) {
143 cflags = [ 145 cflags = [
144 "-Wno-sign-compare", 146 "-Wno-sign-compare",
145 "-Wno-unused-variable", 147 "-Wno-unused-variable",
146 ] 148 ]
147 } 149 }
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 "../pc:rtc_pc", 322 "../pc:rtc_pc",
321 "../system_wrappers:metrics_default", 323 "../system_wrappers:metrics_default",
322 "//testing/gmock", 324 "//testing/gmock",
323 ] 325 ]
324 326
325 if (is_android) { 327 if (is_android) {
326 deps += [ "//testing/android/native_test:native_test_support" ] 328 deps += [ "//testing/android/native_test:native_test_support" ]
327 } 329 }
328 } 330 }
329 } 331 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/api/api.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698