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

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

Issue 2128813002: Harmonize WebRTC gyp and gn flags. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 4 years, 5 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 | « webrtc/api/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 (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 # When defined changes the include path for json.h to where it is 501 # When defined changes the include path for json.h to where it is
502 # expected to be when building json outside of the standalone build. 502 # expected to be when building json outside of the standalone build.
503 defines += [ "WEBRTC_EXTERNAL_JSON" ] 503 defines += [ "WEBRTC_EXTERNAL_JSON" ]
504 } 504 }
505 } # !build_with_chromium 505 } # !build_with_chromium
506 506
507 # TODO(henrike): issue 3307, make rtc_base build with the Chromium default 507 # TODO(henrike): issue 3307, make rtc_base build with the Chromium default
508 # compiler settings. 508 # compiler settings.
509 configs -= [ "//build/config/compiler:chromium_code" ] 509 configs -= [ "//build/config/compiler:chromium_code" ]
510 configs += [ "//build/config/compiler:no_chromium_code" ] 510 configs += [ "//build/config/compiler:no_chromium_code" ]
511 if (!is_win) {
512 cflags += [ "-Wno-uninitialized" ]
513 }
514 511
515 if (rtc_build_ssl) { 512 if (rtc_build_ssl) {
516 deps += [ "//third_party/boringssl" ] 513 deps += [ "//third_party/boringssl" ]
517 } else { 514 } else {
518 configs += [ "external_ssl_library" ] 515 configs += [ "external_ssl_library" ]
519 } 516 }
520 517
521 if (is_android) { 518 if (is_android) {
522 sources += [ 519 sources += [
523 "ifaddrs-android.cc", 520 "ifaddrs-android.cc",
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 "java/src/org/webrtc/Logging.java", 690 "java/src/org/webrtc/Logging.java",
694 "java/src/org/webrtc/Size.java", 691 "java/src/org/webrtc/Size.java",
695 "java/src/org/webrtc/ThreadUtils.java", 692 "java/src/org/webrtc/ThreadUtils.java",
696 ] 693 ]
697 694
698 deps = [ 695 deps = [
699 "//base:base_java", 696 "//base:base_java",
700 ] 697 ]
701 } 698 }
702 } 699 }
OLDNEW
« no previous file with comments | « webrtc/api/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698