mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Fix build and initial Chrome runtime issues on macOS (see issue #2969)
This change moves shared resource initialization to a common location and disables crash reporting initialization in chrome/ code via patch files. When using the Chrome runtime on macOS the Chrome application window will display, but web content is currently blank and the application does not exit cleanly. This will need to be debugged further in the future.
This commit is contained in:
@@ -22,6 +22,9 @@ bool IsAlloyRuntimeEnabled();
|
||||
// True if CEF was initialized with the Chrome runtime.
|
||||
bool IsChromeRuntimeEnabled();
|
||||
|
||||
// True if CEF crash reporting is enabled.
|
||||
bool IsCrashReportingEnabled();
|
||||
|
||||
#else
|
||||
|
||||
inline bool IsCefBuildEnabled() {
|
||||
@@ -33,6 +36,9 @@ inline bool IsAlloyRuntimeEnabled() {
|
||||
inline bool IsChromeRuntimeEnabled() {
|
||||
return false;
|
||||
}
|
||||
inline bool IsCrashReportingEnabled() {
|
||||
return false;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user