| # Copyright 2019 The Fuchsia Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("$zx_build/public/gn/migrated_targets.gni") |
| |
| zx_library("safemath") { |
| sdk = "source" |
| sdk_headers = [ |
| "safemath/checked_math.h", |
| "safemath/checked_math_impl.h", |
| "safemath/clamped_math.h", |
| "safemath/clamped_math_impl.h", |
| "safemath/math_constants.h", |
| "safemath/ranges.h", |
| "safemath/safe_conversions.h", |
| "safemath/safe_conversions_arm_impl.h", |
| "safemath/safe_conversions_impl.h", |
| "safemath/safe_math.h", |
| "safemath/safe_math_arm_impl.h", |
| "safemath/safe_math_clang_gcc_impl.h", |
| "safemath/safe_math_shared_impl.h", |
| ] |
| sdk_migrated = true |
| sources = [] |
| host = true |
| kernel = false |
| static = true |
| } |