mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-17 20:50:42 +01:00
win: Fix ARM64 build generation (see https://crbug.com/1385454)
This commit is contained in:
parent
f43c183b16
commit
1d6e584b76
@ -619,5 +619,10 @@ patches = [
|
||||
# Windows: Add ENABLE_BASE_TRACING check to fix cef_sandbox build.
|
||||
# https://chromium-review.googlesource.com/c/chromium/src/+/4015625
|
||||
'name': 'base_task_4015625'
|
||||
},
|
||||
{
|
||||
# Windows: Fix ARM64 build generation.
|
||||
# https://bugs.chromium.org/p/chromium/issues/detail?id=1385454
|
||||
'name': 'win_machine_learning_1385454'
|
||||
}
|
||||
]
|
||||
|
36
patch/patches/win_machine_learning_1385454.patch
Normal file
36
patch/patches/win_machine_learning_1385454.patch
Normal file
@ -0,0 +1,36 @@
|
||||
diff --git components/optimization_guide/core/BUILD.gn components/optimization_guide/core/BUILD.gn
|
||||
index 29444c9b70244..da432afd5be59 100644
|
||||
--- components/optimization_guide/core/BUILD.gn
|
||||
+++ components/optimization_guide/core/BUILD.gn
|
||||
@@ -65,6 +65,14 @@ static_library("model_executor") {
|
||||
"//components/optimization_guide:machine_learning_tflite_buildflags",
|
||||
"//third_party/re2",
|
||||
]
|
||||
+ deps = [
|
||||
+ ":features",
|
||||
+ "//base",
|
||||
+ "//components/optimization_guide/proto:optimization_guide_proto",
|
||||
+ "//net",
|
||||
+ "//url",
|
||||
+ ]
|
||||
+
|
||||
if (build_with_tflite_lib) {
|
||||
public_deps += [
|
||||
"//components/optimization_guide/core:machine_learning",
|
||||
@@ -74,15 +82,8 @@ static_library("model_executor") {
|
||||
"//third_party/tflite_support",
|
||||
"//third_party/tflite_support:tflite_support_proto",
|
||||
]
|
||||
+ deps += [ ":machine_learning" ]
|
||||
}
|
||||
- deps = [
|
||||
- ":features",
|
||||
- ":machine_learning",
|
||||
- "//base",
|
||||
- "//components/optimization_guide/proto:optimization_guide_proto",
|
||||
- "//net",
|
||||
- "//url",
|
||||
- ]
|
||||
}
|
||||
|
||||
mojom("interfaces") {
|
Loading…
x
Reference in New Issue
Block a user