mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Set enable_alloy_bootstrap=false to build with Alloy bootstrap code removed. Extension API is documented as deprecated in comments but not compiled out with this arg.
This commit is contained in:
@@ -58,6 +58,7 @@ int main(int argc, char* argv[]) {
|
||||
// Specify CEF global settings here.
|
||||
CefSettings settings;
|
||||
|
||||
#if !defined(DISABLE_ALLOY_BOOTSTRAP)
|
||||
// Use the CEF Chrome runtime if "--enable-chrome-runtime" is specified via
|
||||
// the command-line. Otherwise, use the CEF Alloy runtime. For more
|
||||
// information about CEF runtimes see
|
||||
@@ -65,6 +66,7 @@ int main(int argc, char* argv[]) {
|
||||
if (command_line->HasSwitch("enable-chrome-runtime")) {
|
||||
settings.chrome_runtime = true;
|
||||
}
|
||||
#endif
|
||||
|
||||
// When generating projects with CMake the CEF_USE_SANDBOX value will be defined
|
||||
// automatically. Pass -DUSE_SANDBOX=OFF to the CMake command-line to disable
|
||||
|
Reference in New Issue
Block a user