cef/patch/patches/chrome_browser.patch

41 lines
1.6 KiB
Diff

diff --git chrome/browser/BUILD.gn chrome/browser/BUILD.gn
index 8ba5a90740a05..cca0036a4c490 100644
--- chrome/browser/BUILD.gn
+++ chrome/browser/BUILD.gn
@@ -11,6 +11,7 @@ import("//build/config/compiler/pgo/pgo.gni")
import("//build/config/features.gni")
import("//build/config/python.gni")
import("//build/config/ui.gni")
+import("//cef/libcef/features/features.gni")
import("//chrome/browser/buildflags.gni")
import("//chrome/browser/downgrade/buildflags.gni")
import("//chrome/common/features.gni")
@@ -1973,6 +1974,7 @@ static_library("browser") {
"//build/config/chromebox_for_meetings:buildflags",
"//build/config/compiler:compiler_buildflags",
"//cc",
+ "//cef/libcef/features",
"//chrome:extra_resources",
"//chrome:resources",
"//chrome:strings",
@@ -2531,6 +2533,10 @@ static_library("browser") {
]
}
+ if (enable_cef) {
+ configs += [ "//cef/libcef/features:config" ]
+ }
+
if (is_android) {
sources += [
"after_startup_task_utils_android.cc",
@@ -6377,8 +6383,6 @@ static_library("browser") {
sources += [
"enterprise/chrome_browser_main_extra_parts_enterprise.cc",
"enterprise/chrome_browser_main_extra_parts_enterprise.h",
- "enterprise/connectors/analysis/content_analysis_sdk_manager.cc",
- "enterprise/connectors/analysis/content_analysis_sdk_manager.h",
"enterprise/connectors/analysis/local_binary_upload_service.cc",
"enterprise/connectors/analysis/local_binary_upload_service.h",
"enterprise/connectors/analysis/local_binary_upload_service_factory.cc",