• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2017 The Chromium Authors. All rights reserved.
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.
9source_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    "ranges.h",
25    "safe_conversions.h",
26    "safe_math.h",
27  ]
28}
29