mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-20 22:20:41 +01:00
Windows: Fix unresolved dependencies error on ARM64
This commit is contained in:
parent
37aee4d3a0
commit
713297ee04
@ -600,5 +600,11 @@ patches = [
|
||||
# Fix deadlock in EmbeddedTestServer::ShutdownAndWaitUntilComplete.
|
||||
# https://chromium-review.googlesource.com/c/chromium/src/+/3798752
|
||||
'name': 'net_test_server_3798752'
|
||||
},
|
||||
{
|
||||
# Windows: Fix unresolved dependencies error in
|
||||
# //components/segmentation_platform/embedder on ARM64.
|
||||
# https://bugs.chromium.org/p/chromium/issues/detail?id=1355185
|
||||
'name': 'windows_arm_1355185',
|
||||
}
|
||||
]
|
||||
|
29
patch/patches/windows_arm_1355185.patch
Normal file
29
patch/patches/windows_arm_1355185.patch
Normal file
@ -0,0 +1,29 @@
|
||||
diff --git components/segmentation_platform/embedder/BUILD.gn components/segmentation_platform/embedder/BUILD.gn
|
||||
index 385ab7e469f4e..9bbac1528bcf0 100644
|
||||
--- components/segmentation_platform/embedder/BUILD.gn
|
||||
+++ components/segmentation_platform/embedder/BUILD.gn
|
||||
@@ -2,6 +2,8 @@
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
+import("//components/optimization_guide/features.gni")
|
||||
+
|
||||
if (is_android) {
|
||||
import("//build/config/android/config.gni")
|
||||
import("//build/config/android/rules.gni")
|
||||
@@ -21,11 +23,14 @@ source_set("embedder") {
|
||||
"//components/optimization_guide/core",
|
||||
"//components/optimization_guide/core:features",
|
||||
"//components/segmentation_platform/internal",
|
||||
- "//components/segmentation_platform/internal:optimization_guide_segmentation_handler",
|
||||
"//components/segmentation_platform/internal/proto",
|
||||
"//components/segmentation_platform/public",
|
||||
"//url",
|
||||
]
|
||||
+
|
||||
+ if (build_with_tflite_lib) {
|
||||
+ deps += [ "//components/segmentation_platform/internal:optimization_guide_segmentation_handler" ]
|
||||
+ }
|
||||
}
|
||||
|
||||
source_set("unit_tests") {
|
Loading…
x
Reference in New Issue
Block a user