mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Fix fatal error: ntp_background.pb.h file not found
Fixes the following Official build compile error on MacOS: FAILED: obj/chrome/browser/safe_browsing/safe_browsing/settings_reset_prompt_model.o In file included from ../../chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_model.cc:5: In file included from ../../chrome/browser/safe_browsing/settings_reset_prompt/settings_reset_prompt_model.h:19: In file included from ../../chrome/browser/profile_resetter/profile_resetter.h:22: In file included from ../../chrome/browser/search/instant_service.h:21: In file included from ../../chrome/browser/search/background/ntp_background_service.h:15: ../../chrome/browser/search/background/ntp_background_data.h:10:10: fatal error: 'chrome/browser/search/background/ntp_background.pb.h' file not found ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated.
This commit is contained in:
@@ -251,6 +251,11 @@ patches = [
|
||||
},
|
||||
{
|
||||
# Fix Jumbo/component build dependency issue.
|
||||
#
|
||||
# Fix fatal error: 'chrome/browser/search/background/ntp_background.pb.h'
|
||||
# file not found from chrome/browser/safe_browsing/safe_browsing/
|
||||
# settings_reset_prompt_model.cc via
|
||||
# chrome/browser/search/background/ntp_background_service.h
|
||||
'name': 'chrome_browser_safe_browsing',
|
||||
},
|
||||
{
|
||||
|
@@ -1,5 +1,5 @@
|
||||
diff --git chrome/browser/safe_browsing/BUILD.gn chrome/browser/safe_browsing/BUILD.gn
|
||||
index ae8aef3a076c..f7e6a91047ef 100644
|
||||
index ae8aef3a076c..d344ddcf3953 100644
|
||||
--- chrome/browser/safe_browsing/BUILD.gn
|
||||
+++ chrome/browser/safe_browsing/BUILD.gn
|
||||
@@ -23,6 +23,7 @@ static_library("safe_browsing") {
|
||||
@@ -10,3 +10,15 @@ index ae8aef3a076c..f7e6a91047ef 100644
|
||||
"//components/keyed_service/content",
|
||||
"//components/language/core/browser",
|
||||
"//components/page_info",
|
||||
@@ -66,7 +67,10 @@ static_library("safe_browsing") {
|
||||
"settings_reset_prompt/settings_reset_prompt_util_win.h",
|
||||
]
|
||||
}
|
||||
- deps += [ "//extensions/browser" ]
|
||||
+ deps += [
|
||||
+ "//chrome/browser:ntp_background_proto",
|
||||
+ "//extensions/browser",
|
||||
+ ]
|
||||
}
|
||||
|
||||
if (safe_browsing_mode != 0) {
|
||||
|
Reference in New Issue
Block a user