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

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: (Re-added "deps = []" I accidentally removed, would have broken chromium) 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/DEPS » ('j') | webrtc/base/numerics/safe_conversions.h » ('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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 "platform_file.cc", 134 "platform_file.cc",
135 "platform_file.h", 135 "platform_file.h",
136 "platform_thread.cc", 136 "platform_thread.cc",
137 "platform_thread.h", 137 "platform_thread.h",
138 "platform_thread_types.h", 138 "platform_thread_types.h",
139 "random.cc", 139 "random.cc",
140 "random.h", 140 "random.h",
141 "rate_statistics.cc", 141 "rate_statistics.cc",
142 "rate_statistics.h", 142 "rate_statistics.h",
143 "refcount.h", 143 "refcount.h",
144 "safe_conversions.h",
145 "safe_conversions_impl.h",
146 "scoped_ptr.h", 144 "scoped_ptr.h",
147 "scoped_ref_ptr.h", 145 "scoped_ref_ptr.h",
148 "stringencode.cc", 146 "stringencode.cc",
149 "stringencode.h", 147 "stringencode.h",
150 "stringutils.cc", 148 "stringutils.cc",
151 "stringutils.h", 149 "stringutils.h",
152 "systeminfo.cc", 150 "systeminfo.cc",
153 "systeminfo.h", 151 "systeminfo.h",
154 "template_util.h", 152 "template_util.h",
155 "thread_annotations.h", 153 "thread_annotations.h",
(...skipping 18 matching lines...) Expand all
174 "logging.cc", 172 "logging.cc",
175 "logging.h", 173 "logging.h",
176 ] 174 ]
177 } 175 }
178 } 176 }
179 177
180 static_library("rtc_base") { 178 static_library("rtc_base") {
181 cflags = [] 179 cflags = []
182 cflags_cc = [] 180 cflags_cc = []
183 libs = [] 181 libs = []
184 deps = []
185 public_deps = [
186 ":rtc_base_approved",
187 ]
188 182
189 configs += [ 183 configs += [
190 "..:common_config", 184 "..:common_config",
191 ":rtc_base_config", 185 ":rtc_base_config",
192 ] 186 ]
193 187
194 public_configs = [ 188 public_configs = [
195 "..:common_inherited_config", 189 "..:common_inherited_config",
196 ":rtc_base_config", 190 ":rtc_base_config",
197 ] 191 ]
198 192
199 defines = [ "LOGGING=1" ] 193 defines = [ "LOGGING=1" ]
200 194
195 deps = [
196 ":safe_numerics",
197 ]
198 public_deps = [
199 ":rtc_base_approved",
200 ]
201
201 sources = [ 202 sources = [
202 "arraysize.h", 203 "arraysize.h",
203 "asyncfile.cc", 204 "asyncfile.cc",
204 "asyncfile.h", 205 "asyncfile.h",
205 "asyncinvoker-inl.h", 206 "asyncinvoker-inl.h",
206 "asyncinvoker.cc", 207 "asyncinvoker.cc",
207 "asyncinvoker.h", 208 "asyncinvoker.h",
208 "asyncpacketsocket.cc", 209 "asyncpacketsocket.cc",
209 "asyncpacketsocket.h", 210 "asyncpacketsocket.h",
210 "asyncresolverinterface.cc", 211 "asyncresolverinterface.cc",
(...skipping 437 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 }
659
660 # GYP version: webrtc/base/base.gyp:safe_numerics
661 source_set("safe_numerics") {
662 deps = [
663 ":rtc_base_approved",
664 ]
665 sources = [
666 "numerics/safe_conversions.h",
667 "numerics/safe_conversions_impl.h",
668 "numerics/safe_math.h",
669 "numerics/safe_math_impl.h",
670 ]
671 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/base/DEPS » ('j') | webrtc/base/numerics/safe_conversions.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698