mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Delete Alloy bootstrap (fixes #3685)
This commit is contained in:
@@ -80,7 +80,6 @@ buildflag_header("features") {
|
||||
header = "features.h"
|
||||
|
||||
flags = [
|
||||
"ENABLE_ALLOY_BOOTSTRAP=$enable_alloy_bootstrap",
|
||||
"ENABLE_CEF=$enable_cef",
|
||||
"IS_CEF_SANDBOX_BUILD=$is_cef_sandbox_build",
|
||||
]
|
||||
|
@@ -12,9 +12,3 @@ declare_args() {
|
||||
# PERFORMANCE AND/OR SECURITY IMPLICATIONS.
|
||||
is_cef_sandbox_build = false
|
||||
}
|
||||
|
||||
declare_args() {
|
||||
# Enables the Alloy bootstrap. This will be disabled and removed in ~M127.
|
||||
# See issue #3685.
|
||||
enable_alloy_bootstrap = enable_cef
|
||||
}
|
@@ -16,12 +16,7 @@ inline bool IsCefBuildEnabled() {
|
||||
return true;
|
||||
}
|
||||
|
||||
#if BUILDFLAG(ENABLE_ALLOY_BOOTSTRAP)
|
||||
// True if CEF was initialized with the Alloy runtime.
|
||||
bool IsAlloyRuntimeEnabled();
|
||||
#endif
|
||||
|
||||
// True if CEF was initialized with the Chrome runtime.
|
||||
// True if running as CEF Chrome runtime.
|
||||
bool IsChromeRuntimeEnabled();
|
||||
|
||||
// True if CEF crash reporting is enabled.
|
||||
@@ -32,11 +27,6 @@ bool IsCrashReportingEnabled();
|
||||
inline bool IsCefBuildEnabled() {
|
||||
return false;
|
||||
}
|
||||
#if BUILDFLAG(ENABLE_ALLOY_BOOTSTRAP)
|
||||
inline bool IsAlloyRuntimeEnabled() {
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
inline bool IsChromeRuntimeEnabled() {
|
||||
return false;
|
||||
}
|
||||
|
@@ -1,23 +0,0 @@
|
||||
// Copyright 2020 The Chromium Embedded Framework Authors. All rights
|
||||
// reserved. Use of this source code is governed by a BSD-style license that
|
||||
// can be found in the LICENSE file.
|
||||
|
||||
#ifndef CEF_LIBCEF_FEATURES_RUNTIME_CHECKS_H_
|
||||
#define CEF_LIBCEF_FEATURES_RUNTIME_CHECKS_H_
|
||||
#pragma once
|
||||
|
||||
#include "cef/libcef/features/runtime.h"
|
||||
|
||||
#if BUILDFLAG(ENABLE_ALLOY_BOOTSTRAP)
|
||||
|
||||
#include "base/logging.h"
|
||||
|
||||
#define REQUIRE_ALLOY_RUNTIME() \
|
||||
CHECK(cef::IsAlloyRuntimeEnabled()) << "Alloy runtime is required"
|
||||
|
||||
#define REQUIRE_CHROME_RUNTIME() \
|
||||
CHECK(cef::IsChromeRuntimeEnabled()) << "Chrome runtime is required"
|
||||
|
||||
#endif // BUILDFLAG(ENABLE_ALLOY_BOOTSTRAP)
|
||||
|
||||
#endif // CEF_LIBCEF_FEATURES_RUNTIME_CHECKS_H_
|
||||
|
Reference in New Issue
Block a user