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

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

Issue 498393002: Windows fixes for GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix slash 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 | « chrome/browser/ui/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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 "source/talk/p2p/base/constants.h", 248 "source/talk/p2p/base/constants.h",
249 ] 249 ]
250 deps = [ 250 deps = [
251 # TODO(GYP): Uncomment when WebRTC GN build has settled. 251 # TODO(GYP): Uncomment when WebRTC GN build has settled.
252 # "//third_party/webrtc/base:webrtc_base", 252 # "//third_party/webrtc/base:webrtc_base",
253 ":libjingle_p2p_constants", 253 ":libjingle_p2p_constants",
254 ":jingle_deps" 254 ":jingle_deps"
255 ] 255 ]
256 256
257 # From libjingle_common.gypi's conditions list. 257 # From libjingle_common.gypi's conditions list.
258 if (is_win && !nacl_untrusted_build) { 258 if (is_win) {
259 cflags += [ "/wd4005", "\wd4267" ] 259 cflags = [ "/wd4005", "/wd4267" ]
260 } 260 }
261 261
262 forward_dependent_configs_from = [ 262 forward_dependent_configs_from = [
263 ":jingle_deps" 263 ":jingle_deps"
264 ] 264 ]
265 configs += [ 265 configs += [
266 ":jingle_unexported_configs" 266 ":jingle_unexported_configs"
267 ] 267 ]
268 direct_dependent_configs = [ 268 direct_dependent_configs = [
269 ":jingle_direct_dependent_configs", 269 ":jingle_direct_dependent_configs",
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 ":jingle_unexported_configs" 330 ":jingle_unexported_configs"
331 ] 331 ]
332 direct_dependent_configs = [ 332 direct_dependent_configs = [
333 ":jingle_direct_dependent_configs", 333 ":jingle_direct_dependent_configs",
334 ] 334 ]
335 all_dependent_configs = [ 335 all_dependent_configs = [
336 ":jingle_all_dependent_configs", 336 ":jingle_all_dependent_configs",
337 ] 337 ]
338 if (is_win) { 338 if (is_win) {
339 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 339 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
340 cflags += [ "/wd4309" ] 340 cflags = [ "/wd4309" ]
341 } 341 }
342 } 342 }
343 343
344 # 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 | « chrome/browser/ui/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698