Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 79a8d36

Browse files
authored
fix numeric dependencies (#25053)
* fix numeric dependencies * fix * fix format
1 parent 35ae881 commit 79a8d36

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

third_party/accessibility/base/numerics/BUILD.gn

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
# dependencies or depending on internal implementation details.
99
source_set("numerics") {
1010
visibility = [ "//flutter/third_party/accessibility/*" ]
11+
include_dirs = [ "//flutter/third_party/accessibility" ]
12+
1113
sources = [
1214
"checked_math_impl.h",
1315
"clamped_math_impl.h",
@@ -17,6 +19,7 @@ source_set("numerics") {
1719
"safe_math_clang_gcc_impl.h",
1820
"safe_math_shared_impl.h",
1921
]
22+
2023
public = [
2124
"checked_math.h",
2225
"clamped_math.h",
@@ -25,4 +28,6 @@ source_set("numerics") {
2528
"safe_conversions.h",
2629
"safe_math.h",
2730
]
31+
32+
deps = [ "//flutter/third_party/accessibility/ax_build" ]
2833
}

third_party/accessibility/base/numerics/safe_math_shared_impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
#include <limits>
1616
#include <type_traits>
1717

18+
#include "ax_build/build_config.h"
1819
#include "base/numerics/safe_conversions.h"
19-
#include "build/build_config.h"
2020

2121
#if defined(OS_ASMJS)
2222
// Optimized safe math instructions are incompatible with asmjs.

0 commit comments

Comments
 (0)