| 1 |
# Copyright 2017 The Chromium Authors |
| 2 |
# Use of this source code is governed by a BSD-style license that can be |
| 3 |
# found in the LICENSE file. |
| 4 |
|
| 5 |
# This is a dependency-free, header-only, library, and it needs to stay that |
| 6 |
# way to facilitate pulling it into various third-party projects. So, this |
| 7 |
# file is here to protect against accidentally introducing external |
| 8 |
# dependencies or depending on internal implementation details. |
| 9 |
source_set("base_numerics") { |
| 10 |
visibility = [ "//base/*" ] |
| 11 |
sources = [ |
| 12 |
"checked_math_impl.h", |
| 13 |
"clamped_math_impl.h", |
| 14 |
"safe_conversions_arm_impl.h", |
| 15 |
"safe_conversions_impl.h", |
| 16 |
"safe_math_arm_impl.h", |
| 17 |
"safe_math_clang_gcc_impl.h", |
| 18 |
"safe_math_shared_impl.h", |
| 19 |
] |
| 20 |
public = [ |
| 21 |
"checked_math.h", |
| 22 |
"clamped_math.h", |
| 23 |
"math_constants.h", |
| 24 |
"ostream_operators.h", |
| 25 |
"ranges.h", |
| 26 |
"safe_conversions.h", |
| 27 |
"safe_math.h", |
| 28 |
] |
| 29 |
} |