mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Fix fatal error: 'chrome/browser/../site_data.pb.h' file not found
Fixes the following error with an official Release build on macOS. FAILED: obj/chrome/browser/ui/ui/discards_ui.o In file included from ../../chrome/browser/ui/webui/discards/discards_ui.cc:21: In file included from ../../chrome/browser/resource_coordinator/local_site_characteristics_data_store.h:13: ../../chrome/browser/resource_coordinator/local_site_characteristics_data_impl.h:17:10: fatal error: 'chrome/browser/performance_manager/persistence/site_data/site_data.pb.h' file not found
This commit is contained in:
@@ -236,6 +236,11 @@ patches = [
|
||||
# Fix fatal error: 'components/printing/common/print.mojom.h' file not found
|
||||
# From chrome/browser/ui/browser_commands.cc via
|
||||
# chrome/browser/printing/print_view_manager_common.h
|
||||
#
|
||||
# Fix fatal error: 'chrome/browser/performance_manager/persistence/site_data/
|
||||
# site_data.pb.h' file not found
|
||||
# From chrome/browser/ui/webui/discards/discards_ui.cc via
|
||||
# chrome/browser/resource_coordinator/local_site_characteristics_data_impl.h
|
||||
'name': 'chrome_browser_net_export',
|
||||
},
|
||||
{
|
||||
|
@@ -1,5 +1,5 @@
|
||||
diff --git chrome/browser/ui/BUILD.gn chrome/browser/ui/BUILD.gn
|
||||
index efacc93f730f..81625e668dbb 100644
|
||||
index efacc93f730f..39d0eaaad66a 100644
|
||||
--- chrome/browser/ui/BUILD.gn
|
||||
+++ chrome/browser/ui/BUILD.gn
|
||||
@@ -9,6 +9,7 @@ import("//build/config/features.gni")
|
||||
@@ -37,6 +37,18 @@ index efacc93f730f..81625e668dbb 100644
|
||||
"//components/profile_metrics",
|
||||
"//components/ui_metrics",
|
||||
"//components/url_formatter",
|
||||
@@ -2142,7 +2149,10 @@ jumbo_static_library("ui") {
|
||||
"webui/signin/sync_confirmation_ui.cc",
|
||||
"webui/signin/sync_confirmation_ui.h",
|
||||
]
|
||||
- deps += [ "//ui/webui" ]
|
||||
+ deps += [
|
||||
+ "//chrome/browser/performance_manager:site_data_proto",
|
||||
+ "//ui/webui"
|
||||
+ ]
|
||||
}
|
||||
|
||||
if (is_win || is_mac || is_desktop_linux) {
|
||||
diff --git chrome/browser/ui/webui/net_export_ui.cc chrome/browser/ui/webui/net_export_ui.cc
|
||||
index 93bfc84f49a1..eeee229e943f 100644
|
||||
--- chrome/browser/ui/webui/net_export_ui.cc
|
||||
|
Reference in New Issue
Block a user