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

Side by Side Diff: third_party/libjingle/BUILD.gn

Issue 533743004: Fix Chrome linker errors in GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « remoting/protocol/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/crypto.gni") 5 import("//build/config/crypto.gni")
6 6
7 # From third_party/libjingle/libjingle.gyp's target_defaults. 7 # From third_party/libjingle/libjingle.gyp's target_defaults.
8 config("jingle_unexported_configs") { 8 config("jingle_unexported_configs") {
9 defines = [ 9 defines = [
10 "EXPAT_RELATIVE_PATH", 10 "EXPAT_RELATIVE_PATH",
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 "source/talk/xmpp/xmppstanzaparser.h", 242 "source/talk/xmpp/xmppstanzaparser.h",
243 "source/talk/xmpp/xmpptask.cc", 243 "source/talk/xmpp/xmpptask.cc",
244 "source/talk/xmpp/xmpptask.h", 244 "source/talk/xmpp/xmpptask.h",
245 ] 245 ]
246 sources -= [ 246 sources -= [
247 # Compiled as part of libjingle_p2p_constants. 247 # Compiled as part of libjingle_p2p_constants.
248 "source/talk/p2p/base/constants.cc", 248 "source/talk/p2p/base/constants.cc",
249 "source/talk/p2p/base/constants.h", 249 "source/talk/p2p/base/constants.h",
250 ] 250 ]
251 deps = [ 251 deps = [
252 # TODO(GYP): Uncomment when WebRTC GN build has settled. 252 "//third_party/webrtc/base:webrtc_base",
253 # "//third_party/webrtc/base:webrtc_base",
254 ":libjingle_p2p_constants", 253 ":libjingle_p2p_constants",
255 ":jingle_deps" 254 ":jingle_deps"
256 ] 255 ]
257 256
258 # From libjingle_common.gypi's conditions list. 257 # From libjingle_common.gypi's conditions list.
259 if (is_win) { 258 if (is_win) {
260 cflags = [ "/wd4005", "/wd4267" ] 259 cflags = [ "/wd4005", "/wd4267" ]
261 } 260 }
262 261
263 forward_dependent_configs_from = [ 262 forward_dependent_configs_from = [
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 all_dependent_configs = [ 335 all_dependent_configs = [
337 ":jingle_all_dependent_configs", 336 ":jingle_all_dependent_configs",
338 ] 337 ]
339 if (is_win) { 338 if (is_win) {
340 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 339 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
341 cflags = [ "/wd4309" ] 340 cflags = [ "/wd4309" ]
342 } 341 }
343 } 342 }
344 343
345 # TODO(GYP): Port libjingle.gyp's enable_webrtc condition block. 344 # TODO(GYP): Port libjingle.gyp's enable_webrtc condition block.
OLDNEW
« no previous file with comments | « remoting/protocol/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698