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

Side by Side Diff: base/base.gyp

Issue 11886037: Add numeric_cast for checked integral narrowing casts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename to safe_numerics Created 7 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | base/safe_numerics.h » ('j') | base/safe_numerics.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'includes': [ 9 'includes': [
10 '../build/win_precompile.gypi', 10 '../build/win_precompile.gypi',
11 'base.gypi', 11 'base.gypi',
12 ], 12 ],
13 'targets': [ 13 'targets': [
darin (slow to review) 2013/01/15 18:53:29 safe_numerics.h should be added to base.gypi
scottmg 2013/01/15 19:30:17 Done.
14 { 14 {
15 'target_name': 'base', 15 'target_name': 'base',
16 'type': '<(component)', 16 'type': '<(component)',
17 'toolsets': ['host', 'target'], 17 'toolsets': ['host', 'target'],
18 'variables': { 18 'variables': {
19 'base_target': 1, 19 'base_target': 1,
20 'enable_wexit_time_destructors': 1, 20 'enable_wexit_time_destructors': 1,
21 'optimize': 'max', 21 'optimize': 'max',
22 }, 22 },
23 'dependencies': [ 23 'dependencies': [
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 'pickle_unittest.cc', 518 'pickle_unittest.cc',
519 'platform_file_unittest.cc', 519 'platform_file_unittest.cc',
520 'posix/file_descriptor_shuffle_unittest.cc', 520 'posix/file_descriptor_shuffle_unittest.cc',
521 'pr_time_unittest.cc', 521 'pr_time_unittest.cc',
522 'process_util_unittest.cc', 522 'process_util_unittest.cc',
523 'process_util_unittest_ios.cc', 523 'process_util_unittest_ios.cc',
524 'process_util_unittest_mac.h', 524 'process_util_unittest_mac.h',
525 'process_util_unittest_mac.mm', 525 'process_util_unittest_mac.mm',
526 'profiler/tracked_time_unittest.cc', 526 'profiler/tracked_time_unittest.cc',
527 'rand_util_unittest.cc', 527 'rand_util_unittest.cc',
528 'safe_numerics_unittest.cc',
528 'scoped_native_library_unittest.cc', 529 'scoped_native_library_unittest.cc',
529 'scoped_observer.h', 530 'scoped_observer.h',
530 'sequence_checker_unittest.cc', 531 'sequence_checker_unittest.cc',
531 'sequence_checker_impl_unittest.cc', 532 'sequence_checker_impl_unittest.cc',
532 'sha1_unittest.cc', 533 'sha1_unittest.cc',
533 'shared_memory_unittest.cc', 534 'shared_memory_unittest.cc',
534 'stl_util_unittest.cc', 535 'stl_util_unittest.cc',
535 'string16_unittest.cc', 536 'string16_unittest.cc',
536 'string_number_conversions_unittest.cc', 537 'string_number_conversions_unittest.cc',
537 'string_piece_unittest.cc', 538 'string_piece_unittest.cc',
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
1138 'base_unittests.isolate', 1139 'base_unittests.isolate',
1139 ], 1140 ],
1140 'sources': [ 1141 'sources': [
1141 'base_unittests.isolate', 1142 'base_unittests.isolate',
1142 ], 1143 ],
1143 }, 1144 },
1144 ], 1145 ],
1145 }], 1146 }],
1146 ], 1147 ],
1147 } 1148 }
OLDNEW
« no previous file with comments | « no previous file | base/safe_numerics.h » ('j') | base/safe_numerics.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698