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

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

Issue 2274713005: GN: Fix Windows Clang errors (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Cleaning up. Created 4 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 | « third_party/winsdk_samples/BUILD.gn ('k') | webrtc/examples/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 import("//build/config/crypto.gni") 9 import("//build/config/crypto.gni")
10 import("//build/config/ui.gni") 10 import("//build/config/ui.gni")
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 "diskcache_win32.cc", 501 "diskcache_win32.cc",
502 "diskcache_win32.h", 502 "diskcache_win32.h",
503 "win32regkey.cc", 503 "win32regkey.cc",
504 "win32regkey.h", 504 "win32regkey.h",
505 "win32socketinit.cc", 505 "win32socketinit.cc",
506 "win32socketinit.h", 506 "win32socketinit.h",
507 "win32socketserver.cc", 507 "win32socketserver.cc",
508 "win32socketserver.h", 508 "win32socketserver.h",
509 ] 509 ]
510 } 510 }
511 if (is_win && is_clang) {
512 cflags += [
513 # Disable warnings failing when compiling with Clang on Windows.
514 # https://bugs.chromium.org/p/webrtc/issues/detail?id=5366
515 "-Wno-sign-compare",
516 "-Wno-missing-braces",
517 ]
518 }
519
511 if (rtc_build_json) { 520 if (rtc_build_json) {
512 deps += [ "//third_party/jsoncpp" ] 521 deps += [ "//third_party/jsoncpp" ]
513 } else { 522 } else {
514 include_dirs = [ "$rtc_jsoncpp_root" ] 523 include_dirs = [ "$rtc_jsoncpp_root" ]
515 524
516 # When defined changes the include path for json.h to where it is 525 # When defined changes the include path for json.h to where it is
517 # expected to be when building json outside of the standalone build. 526 # expected to be when building json outside of the standalone build.
518 defines += [ "WEBRTC_EXTERNAL_JSON" ] 527 defines += [ "WEBRTC_EXTERNAL_JSON" ]
519 } 528 }
520 } # !build_with_chromium 529 } # !build_with_chromium
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
709 "java/src/org/webrtc/Logging.java", 718 "java/src/org/webrtc/Logging.java",
710 "java/src/org/webrtc/Size.java", 719 "java/src/org/webrtc/Size.java",
711 "java/src/org/webrtc/ThreadUtils.java", 720 "java/src/org/webrtc/ThreadUtils.java",
712 ] 721 ]
713 722
714 deps = [ 723 deps = [
715 "//base:base_java", 724 "//base:base_java",
716 ] 725 ]
717 } 726 }
718 } 727 }
OLDNEW
« no previous file with comments | « third_party/winsdk_samples/BUILD.gn ('k') | webrtc/examples/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698