未验证 提交 79a8d36e 编写于 作者: C chunhtai 提交者: GitHub

fix numeric dependencies (#25053)

* fix numeric dependencies

* fix

* fix format
上级 35ae8810
......@@ -8,6 +8,8 @@
# dependencies or depending on internal implementation details.
source_set("numerics") {
visibility = [ "//flutter/third_party/accessibility/*" ]
include_dirs = [ "//flutter/third_party/accessibility" ]
sources = [
"checked_math_impl.h",
"clamped_math_impl.h",
......@@ -17,6 +19,7 @@ source_set("numerics") {
"safe_math_clang_gcc_impl.h",
"safe_math_shared_impl.h",
]
public = [
"checked_math.h",
"clamped_math.h",
......@@ -25,4 +28,6 @@ source_set("numerics") {
"safe_conversions.h",
"safe_math.h",
]
deps = [ "//flutter/third_party/accessibility/ax_build" ]
}
......@@ -15,8 +15,8 @@
#include <limits>
#include <type_traits>
#include "ax_build/build_config.h"
#include "base/numerics/safe_conversions.h"
#include "build/build_config.h"
#if defined(OS_ASMJS)
// Optimized safe math instructions are incompatible with asmjs.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册