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

Side by Side Diff: webrtc/base/base.gyp

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
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 { 9 {
10 'includes': [ '../build/common.gypi', ], 10 'includes': [ '../build/common.gypi', ],
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 'platform_thread.cc', 106 'platform_thread.cc',
107 'platform_thread.h', 107 'platform_thread.h',
108 'platform_thread_types.h', 108 'platform_thread_types.h',
109 'random.cc', 109 'random.cc',
110 'random.h', 110 'random.h',
111 'rate_statistics.cc', 111 'rate_statistics.cc',
112 'rate_statistics.h', 112 'rate_statistics.h',
113 'ratetracker.cc', 113 'ratetracker.cc',
114 'ratetracker.h', 114 'ratetracker.h',
115 'refcount.h', 115 'refcount.h',
116 'safe_conversions.h',
117 'safe_conversions_impl.h',
118 'scoped_ptr.h', 116 'scoped_ptr.h',
119 'scoped_ref_ptr.h', 117 'scoped_ref_ptr.h',
120 'stringencode.cc', 118 'stringencode.cc',
121 'stringencode.h', 119 'stringencode.h',
122 'stringutils.cc', 120 'stringutils.cc',
123 'stringutils.h', 121 'stringutils.h',
124 'systeminfo.cc', 122 'systeminfo.cc',
125 'systeminfo.h', 123 'systeminfo.h',
126 'template_util.h', 124 'template_util.h',
127 'thread_annotations.h', 125 'thread_annotations.h',
(...skipping 22 matching lines...) Expand all
150 ], 148 ],
151 }], 149 }],
152 ], 150 ],
153 }, 151 },
154 { 152 {
155 'target_name': 'rtc_base', 153 'target_name': 'rtc_base',
156 'type': 'static_library', 154 'type': 'static_library',
157 'dependencies': [ 155 'dependencies': [
158 '<(webrtc_root)/common.gyp:webrtc_common', 156 '<(webrtc_root)/common.gyp:webrtc_common',
159 'rtc_base_approved', 157 'rtc_base_approved',
158 'safe_numerics',
160 ], 159 ],
161 'export_dependent_settings': [ 160 'export_dependent_settings': [
162 'rtc_base_approved', 161 'rtc_base_approved',
163 ], 162 ],
164 'defines': [ 163 'defines': [
165 'FEATURE_ENABLE_SSL', 164 'FEATURE_ENABLE_SSL',
166 'SSL_USE_OPENSSL', 165 'SSL_USE_OPENSSL',
167 'HAVE_OPENSSL_SSL_H', 166 'HAVE_OPENSSL_SSL_H',
168 'LOGGING=1', 167 'LOGGING=1',
169 ], 168 ],
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
490 'optionsfile.cc', 489 'optionsfile.cc',
491 'optionsfile.h', 490 'optionsfile.h',
492 'posix.cc', 491 'posix.cc',
493 'posix.h', 492 'posix.h',
494 'profiler.cc', 493 'profiler.cc',
495 'profiler.h', 494 'profiler.h',
496 'proxyserver.cc', 495 'proxyserver.cc',
497 'proxyserver.h', 496 'proxyserver.h',
498 'referencecountedsingletonfactory.h', 497 'referencecountedsingletonfactory.h',
499 'rollingaccumulator.h', 498 'rollingaccumulator.h',
500 'safe_conversions.h',
501 'safe_conversions_impl.h',
502 'scopedptrcollection.h', 499 'scopedptrcollection.h',
503 'sec_buffer.h', 500 'sec_buffer.h',
504 'sslconfig.h', 501 'sslconfig.h',
505 'sslroots.h', 502 'sslroots.h',
506 'testbase64.h', 503 'testbase64.h',
507 'testclient.cc', 504 'testclient.cc',
508 'testclient.h', 505 'testclient.h',
509 'transformadapter.cc', 506 'transformadapter.cc',
510 'transformadapter.h', 507 'transformadapter.h',
511 'versionparsing.cc', 508 'versionparsing.cc',
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
742 }], 739 }],
743 ], 740 ],
744 }, 741 },
745 { 742 {
746 'target_name': 'gtest_prod', 743 'target_name': 'gtest_prod',
747 'type': 'static_library', 744 'type': 'static_library',
748 'sources': [ 745 'sources': [
749 'gtest_prod_util.h', 746 'gtest_prod_util.h',
750 ], 747 ],
751 }, 748 },
749 {
750 # GN version: webrtc/base:safe_numerics
751 'target_name': 'safe_numerics',
752 'type': 'static_library',
753 'dependencies': [
754 'rtc_base_approved',
755 ],
756 'sources': [
757 'numerics/safe_conversions.h',
758 'numerics/safe_conversions_impl.h',
759 'numerics/safe_math.h',
760 'numerics/safe_math_impl.h',
761 ],
762 },
752 ], 763 ],
753 } 764 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698