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

Unified Diff: webrtc/base/BUILD.gn

Issue 1792613002: Revert of Safe numeric library: base/numerics (copied from Chromium) (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/base/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/BUILD.gn
diff --git a/webrtc/base/BUILD.gn b/webrtc/base/BUILD.gn
index ac2a3ac59c4293dc748e8c82ad101dc9396611f5..5726a26e6aeb03782fa9dc77437491d4162e438c 100644
--- a/webrtc/base/BUILD.gn
+++ b/webrtc/base/BUILD.gn
@@ -141,6 +141,8 @@
"rate_statistics.cc",
"rate_statistics.h",
"refcount.h",
+ "safe_conversions.h",
+ "safe_conversions_impl.h",
"scoped_ptr.h",
"scoped_ref_ptr.h",
"stringencode.cc",
@@ -179,6 +181,10 @@
cflags = []
cflags_cc = []
libs = []
+ deps = []
+ public_deps = [
+ ":rtc_base_approved",
+ ]
configs += [
"..:common_config",
@@ -191,13 +197,6 @@
]
defines = [ "LOGGING=1" ]
-
- deps = [
- ":safe_numerics",
- ]
- public_deps = [
- ":rtc_base_approved",
- ]
sources = [
"arraysize.h",
@@ -658,16 +657,3 @@
"gtest_prod_util.h",
]
}
-
-# GYP version: webrtc/base/base.gyp:safe_numerics
-source_set("safe_numerics") {
- deps = [
- ":rtc_base_approved",
- ]
- sources = [
- "numerics/safe_conversions.h",
- "numerics/safe_conversions_impl.h",
- "numerics/safe_math.h",
- "numerics/safe_math_impl.h",
- ]
-}
« no previous file with comments | « no previous file | webrtc/base/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698