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

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

Issue 2300413002: GN Templates: Move common_config to the template. (Closed)
Patch Set: Add TODOs + tracking bugs. 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 | « webrtc/audio/BUILD.gn ('k') | webrtc/build/webrtc.gni » ('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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 "You must specify rtc_ssl_root when rtc_build_ssl==0.") 87 "You must specify rtc_ssl_root when rtc_build_ssl==0.")
88 include_dirs = [ rtc_ssl_root ] 88 include_dirs = [ rtc_ssl_root ]
89 } 89 }
90 } 90 }
91 91
92 # The subset of rtc_base approved for use outside of libjingle. 92 # The subset of rtc_base approved for use outside of libjingle.
93 rtc_static_library("rtc_base_approved") { 93 rtc_static_library("rtc_base_approved") {
94 defines = [] 94 defines = []
95 libs = [] 95 libs = []
96 deps = [] 96 deps = []
97 configs += [ "..:common_config" ]
98 public_configs = [ "..:common_inherited_config" ] 97 public_configs = [ "..:common_inherited_config" ]
99 all_dependent_configs = [ ":rtc_base_approved_all_dependent_config" ] 98 all_dependent_configs = [ ":rtc_base_approved_all_dependent_config" ]
100 99
101 sources = [ 100 sources = [
102 "array_view.h", 101 "array_view.h",
103 "atomicops.h", 102 "atomicops.h",
104 "bind.h", 103 "bind.h",
105 "bitbuffer.cc", 104 "bitbuffer.cc",
106 "bitbuffer.h", 105 "bitbuffer.h",
107 "buffer.h", 106 "buffer.h",
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 } 204 }
206 205
207 config("enable_libevent_config") { 206 config("enable_libevent_config") {
208 defines = [ "WEBRTC_BUILD_LIBEVENT" ] 207 defines = [ "WEBRTC_BUILD_LIBEVENT" ]
209 } 208 }
210 209
211 rtc_static_library("rtc_task_queue") { 210 rtc_static_library("rtc_task_queue") {
212 public_deps = [ 211 public_deps = [
213 ":rtc_base_approved", 212 ":rtc_base_approved",
214 ] 213 ]
215 configs += [ "..:common_config" ]
216 214
217 sources = [ 215 sources = [
218 "sequenced_task_checker.h", 216 "sequenced_task_checker.h",
219 "sequenced_task_checker_impl.cc", 217 "sequenced_task_checker_impl.cc",
220 "sequenced_task_checker_impl.h", 218 "sequenced_task_checker_impl.h",
221 ] 219 ]
222 220
223 if (build_with_chromium) { 221 if (build_with_chromium) {
224 sources += [ 222 sources += [
225 "../../webrtc_overrides/webrtc/base/task_queue.cc", 223 "../../webrtc_overrides/webrtc/base/task_queue.cc",
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 cflags_cc = [] 271 cflags_cc = []
274 libs = [] 272 libs = []
275 deps = [ 273 deps = [
276 "..:webrtc_common", 274 "..:webrtc_common",
277 ] 275 ]
278 public_deps = [ 276 public_deps = [
279 ":rtc_base_approved", 277 ":rtc_base_approved",
280 ] 278 ]
281 279
282 configs += [ 280 configs += [
283 "..:common_config",
284 ":openssl_config", 281 ":openssl_config",
285 ":rtc_base_config", 282 ":rtc_base_config",
286 ] 283 ]
287 284
288 public_configs = [ 285 public_configs = [
289 "..:common_inherited_config", 286 "..:common_inherited_config",
290 ":openssl_config", 287 ":openssl_config",
291 ":rtc_base_config", 288 ":rtc_base_config",
292 ] 289 ]
293 290
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 "fakesslidentity.h", 724 "fakesslidentity.h",
728 "faketaskrunner.h", 725 "faketaskrunner.h",
729 "gunit.h", 726 "gunit.h",
730 "test/faketiming.h", 727 "test/faketiming.h",
731 "testbase64.h", 728 "testbase64.h",
732 "testechoserver.h", 729 "testechoserver.h",
733 "testutils.h", 730 "testutils.h",
734 "timedelta.h", 731 "timedelta.h",
735 "unittest_main.cc", 732 "unittest_main.cc",
736 ] 733 ]
737 configs += [ 734 configs += [ ":rtc_base_tests_utils_warnings_config" ]
738 "..:common_config",
739 ":rtc_base_tests_utils_warnings_config",
740 ]
741 public_configs = [ 735 public_configs = [
742 "..:common_inherited_config", 736 "..:common_inherited_config",
743 ":rtc_base_tests_utils_exported_config", 737 ":rtc_base_tests_utils_exported_config",
744 ] 738 ]
745 deps = [ 739 deps = [
746 ":rtc_base", 740 ":rtc_base",
747 "../test:field_trial", 741 "../test:field_trial",
748 "../test:test_support", 742 "../test:test_support",
749 ] 743 ]
750 public_deps = [ 744 public_deps = [
(...skipping 13 matching lines...) Expand all
764 "java/src/org/webrtc/Logging.java", 758 "java/src/org/webrtc/Logging.java",
765 "java/src/org/webrtc/Size.java", 759 "java/src/org/webrtc/Size.java",
766 "java/src/org/webrtc/ThreadUtils.java", 760 "java/src/org/webrtc/ThreadUtils.java",
767 ] 761 ]
768 762
769 deps = [ 763 deps = [
770 "//base:base_java", 764 "//base:base_java",
771 ] 765 ]
772 } 766 }
773 } 767 }
OLDNEW
« no previous file with comments | « webrtc/audio/BUILD.gn ('k') | webrtc/build/webrtc.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698