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

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

Issue 1753293002: Safe numeric library: base/numerics (copied from Chromium) (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Comment about chromium_revision Created 4 years, 9 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/base/base.gyp » ('j') | webrtc/base/numerics/BUILD.gn » ('J')
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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 if (rtc_build_ssl == 0) { 91 if (rtc_build_ssl == 0) {
92 config("external_ssl_library") { 92 config("external_ssl_library") {
93 assert(rtc_ssl_root != "", 93 assert(rtc_ssl_root != "",
94 "You must specify rtc_ssl_root when rtc_build_ssl==0.") 94 "You must specify rtc_ssl_root when rtc_build_ssl==0.")
95 include_dirs = [ rtc_ssl_root ] 95 include_dirs = [ rtc_ssl_root ]
96 } 96 }
97 } 97 }
98 98
99 # The subset of rtc_base approved for use outside of libjingle. 99 # The subset of rtc_base approved for use outside of libjingle.
100 static_library("rtc_base_approved") { 100 static_library("rtc_base_approved") {
101 deps = []
102 configs += [ "..:common_config" ] 101 configs += [ "..:common_config" ]
103 public_configs = [ "..:common_inherited_config" ] 102 public_configs = [ "..:common_inherited_config" ]
104 103
104 deps = [
105 "numerics:safe_numerics",
106 ]
107
105 sources = [ 108 sources = [
106 "array_view.h", 109 "array_view.h",
107 "atomicops.h", 110 "atomicops.h",
108 "bitbuffer.cc", 111 "bitbuffer.cc",
109 "bitbuffer.h", 112 "bitbuffer.h",
110 "buffer.cc", 113 "buffer.cc",
111 "buffer.h", 114 "buffer.h",
112 "bufferqueue.cc", 115 "bufferqueue.cc",
113 "bufferqueue.h", 116 "bufferqueue.h",
114 "bytebuffer.cc", 117 "bytebuffer.cc",
(...skipping 19 matching lines...) Expand all
134 "platform_file.cc", 137 "platform_file.cc",
135 "platform_file.h", 138 "platform_file.h",
136 "platform_thread.cc", 139 "platform_thread.cc",
137 "platform_thread.h", 140 "platform_thread.h",
138 "platform_thread_types.h", 141 "platform_thread_types.h",
139 "random.cc", 142 "random.cc",
140 "random.h", 143 "random.h",
141 "rate_statistics.cc", 144 "rate_statistics.cc",
142 "rate_statistics.h", 145 "rate_statistics.h",
143 "refcount.h", 146 "refcount.h",
144 "safe_conversions.h",
145 "safe_conversions_impl.h",
146 "scoped_ptr.h", 147 "scoped_ptr.h",
147 "scoped_ref_ptr.h", 148 "scoped_ref_ptr.h",
148 "stringencode.cc", 149 "stringencode.cc",
149 "stringencode.h", 150 "stringencode.h",
150 "stringutils.cc", 151 "stringutils.cc",
151 "stringutils.h", 152 "stringutils.h",
152 "systeminfo.cc", 153 "systeminfo.cc",
153 "systeminfo.h", 154 "systeminfo.h",
154 "template_util.h", 155 "template_util.h",
155 "thread_annotations.h", 156 "thread_annotations.h",
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 "objc/RTCTracing.mm", 649 "objc/RTCTracing.mm",
649 ] 650 ]
650 } 651 }
651 } 652 }
652 653
653 source_set("gtest_prod") { 654 source_set("gtest_prod") {
654 sources = [ 655 sources = [
655 "gtest_prod_util.h", 656 "gtest_prod_util.h",
656 ] 657 ]
657 } 658 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/base/base.gyp » ('j') | webrtc/base/numerics/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698