BUILD.gn 917 B

1234567891011121314151617181920212223242526272829
  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. # This is a dependency-free, header-only, library, and it needs to stay that
  5. # way to facilitate pulling it into various third-party projects. So, this
  6. # file is here to protect against accidentally introducing external
  7. # dependencies or depending on internal implementation details.
  8. source_set("base_numerics") {
  9. visibility = [ "//base/*" ]
  10. sources = [
  11. "checked_math_impl.h",
  12. "clamped_math_impl.h",
  13. "safe_conversions_arm_impl.h",
  14. "safe_conversions_impl.h",
  15. "safe_math_arm_impl.h",
  16. "safe_math_clang_gcc_impl.h",
  17. "safe_math_shared_impl.h",
  18. ]
  19. public = [
  20. "checked_math.h",
  21. "clamped_math.h",
  22. "math_constants.h",
  23. "ostream_operators.h",
  24. "ranges.h",
  25. "safe_conversions.h",
  26. "safe_math.h",
  27. ]
  28. }