macOS: Fix Jumbo/component build dependency issue.

Fixes the following error:

In file included from gen/chrome/browser/safe_browsing/safe_browsing_jumbo_1.cc:34:
In file included from ./../../chrome/browser/safe_browsing/download_protection/binary_fcm_service.cc:15:
../../components/gcm_driver/gcm_profile_service.h:18:10: fatal error: 'components/gcm_driver/gcm_buildflags.h' file not found
This commit is contained in:
Marshall Greenblatt 2019-10-14 17:29:55 +02:00
parent 1d515adc22
commit aefe9a4195
2 changed files with 16 additions and 0 deletions

View File

@ -220,6 +220,10 @@ patches = [
# https://bitbucket.org/chromiumembedded/cef/issues/2622 # https://bitbucket.org/chromiumembedded/cef/issues/2622
'name': 'chrome_browser_product_override', 'name': 'chrome_browser_product_override',
}, },
{
# Fix Jumbo/component build dependency issue.
'name': 'chrome_browser_safe_browsing',
},
{ {
# Allow CEF to share Chrome plugin loading code. # Allow CEF to share Chrome plugin loading code.
'name': 'chrome_plugins', 'name': 'chrome_plugins',

View File

@ -0,0 +1,12 @@
diff --git chrome/browser/safe_browsing/BUILD.gn chrome/browser/safe_browsing/BUILD.gn
index 3599895eb5c5..971ae4d3c1b6 100644
--- chrome/browser/safe_browsing/BUILD.gn
+++ chrome/browser/safe_browsing/BUILD.gn
@@ -229,6 +229,7 @@ jumbo_static_library("safe_browsing") {
"//chrome/common/safe_browsing:download_type_util",
"//chrome/services/file_util/public/cpp",
"//components/content_settings/core/browser",
+ "//components/gcm_driver:gcm_buildflags",
"//components/language/core/common",
"//components/prefs",
"//components/safe_browsing/db",