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

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

Issue 1921513002: GN: Fix dependency for rtc_base_approved (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 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/tools/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")
11 import("../build/webrtc.gni") 11 import("../build/webrtc.gni")
12 12
13 import("//build_overrides/webrtc.gni") 13 import("//build_overrides/webrtc.gni")
14 14
15 config("rtc_base_approved_all_dependent_config") {
kjellander_webrtc 2016/04/25 05:44:10 I updated the rtc_base target to use the same styl
16 if (is_mac && !build_with_chromium) {
17 libs = [ "Foundation.framework" ] # needed for logging_mac.mm
18 }
19 }
20
15 config("rtc_base_config") { 21 config("rtc_base_config") {
16 include_dirs = [ 22 include_dirs = [
17 "//third_party/jsoncpp/overrides/include", 23 "//third_party/jsoncpp/overrides/include",
18 "//third_party/jsoncpp/source/include", 24 "//third_party/jsoncpp/source/include",
19 ] 25 ]
20 26
21 defines = [ 27 defines = [
22 "FEATURE_ENABLE_SSL", 28 "FEATURE_ENABLE_SSL",
23 "LOGGING=1", 29 "LOGGING=1",
24 ] 30 ]
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 "You must specify rtc_ssl_root when rtc_build_ssl==0.") 93 "You must specify rtc_ssl_root when rtc_build_ssl==0.")
88 include_dirs = [ rtc_ssl_root ] 94 include_dirs = [ rtc_ssl_root ]
89 } 95 }
90 } 96 }
91 97
92 # The subset of rtc_base approved for use outside of libjingle. 98 # The subset of rtc_base approved for use outside of libjingle.
93 static_library("rtc_base_approved") { 99 static_library("rtc_base_approved") {
94 deps = [] 100 deps = []
95 configs += [ "..:common_config" ] 101 configs += [ "..:common_config" ]
96 public_configs = [ "..:common_inherited_config" ] 102 public_configs = [ "..:common_inherited_config" ]
103 all_dependent_configs = [ ":rtc_base_approved_all_dependent_config" ]
97 104
98 sources = [ 105 sources = [
99 "array_view.h", 106 "array_view.h",
100 "atomicops.h", 107 "atomicops.h",
101 "bind.h", 108 "bind.h",
102 "bitbuffer.cc", 109 "bitbuffer.cc",
103 "bitbuffer.h", 110 "bitbuffer.h",
104 "buffer.cc", 111 "buffer.cc",
105 "buffer.h", 112 "buffer.h",
106 "bufferqueue.cc", 113 "bufferqueue.cc",
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 ] 645 ]
639 } 646 }
640 } 647 }
641 } 648 }
642 649
643 source_set("gtest_prod") { 650 source_set("gtest_prod") {
644 sources = [ 651 sources = [
645 "gtest_prod_util.h", 652 "gtest_prod_util.h",
646 ] 653 ]
647 } 654 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/tools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698