mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
build: Remove GN arg is_cef_sandbox_build (see #3824)
This argument is no longer used after removing cef_sandbox patches.
This commit is contained in:
1
BUILD.gn
1
BUILD.gn
@ -1223,7 +1223,6 @@ if (is_win) {
|
|||||||
configs += [ ":libcef_includes_config" ]
|
configs += [ ":libcef_includes_config" ]
|
||||||
deps = [
|
deps = [
|
||||||
":make_config_header",
|
":make_config_header",
|
||||||
"libcef/features:buildflags",
|
|
||||||
"//sandbox",
|
"//sandbox",
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -84,7 +84,6 @@ buildflag_header("buildflags") {
|
|||||||
|
|
||||||
flags = [
|
flags = [
|
||||||
"ENABLE_CEF=$enable_cef",
|
"ENABLE_CEF=$enable_cef",
|
||||||
"IS_CEF_SANDBOX_BUILD=$is_cef_sandbox_build",
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -5,13 +5,6 @@
|
|||||||
declare_args() {
|
declare_args() {
|
||||||
enable_cef = true
|
enable_cef = true
|
||||||
|
|
||||||
# Enables base target customizations necessary for distribution of the
|
|
||||||
# cef_sandbox static library. This value will be set via gn_args.py for the
|
|
||||||
# official sandbox build configurations only. DO NOT SET THIS VALUE MANUALLY
|
|
||||||
# FOR OTHER CHROMIUM/CEF BUILD CONFIGURATIONS AS ITS USE MAY HAVE SIGNIFICANT
|
|
||||||
# PERFORMANCE AND/OR SECURITY IMPLICATIONS.
|
|
||||||
is_cef_sandbox_build = false
|
|
||||||
|
|
||||||
# Optionally configure the CEF API version. This impacts wrapper-side only.
|
# Optionally configure the CEF API version. This impacts wrapper-side only.
|
||||||
cef_api_version = ""
|
cef_api_version = ""
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,6 @@
|
|||||||
#include "sandbox/win/src/sandbox.h"
|
#include "sandbox/win/src/sandbox.h"
|
||||||
|
|
||||||
#include "base/notreached.h"
|
#include "base/notreached.h"
|
||||||
#include "cef/libcef/features/features.h"
|
|
||||||
#include "include/cef_sandbox_win.h"
|
#include "include/cef_sandbox_win.h"
|
||||||
#include "sandbox/win/src/sandbox_factory.h"
|
#include "sandbox/win/src/sandbox_factory.h"
|
||||||
|
|
||||||
@ -39,19 +38,3 @@ void* cef_sandbox_info_create() {
|
|||||||
void cef_sandbox_info_destroy(void* sandbox_info) {
|
void cef_sandbox_info_destroy(void* sandbox_info) {
|
||||||
delete static_cast<sandbox::SandboxInterfaceInfo*>(sandbox_info);
|
delete static_cast<sandbox::SandboxInterfaceInfo*>(sandbox_info);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if BUILDFLAG(IS_CEF_SANDBOX_BUILD)
|
|
||||||
|
|
||||||
// Avoid bringing in partition_alloc dependencies.
|
|
||||||
namespace partition_alloc {
|
|
||||||
bool ReleaseReservation() {
|
|
||||||
DCHECK(false);
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
void TerminateBecauseOutOfMemory(size_t size) {
|
|
||||||
DCHECK(false);
|
|
||||||
}
|
|
||||||
} // namespace partition_alloc
|
|
||||||
|
|
||||||
#endif // BUILDFLAG(IS_CEF_SANDBOX_BUILD)
|
|
||||||
|
@ -544,10 +544,6 @@ def GetConfigArgsSandbox(platform, args, is_debug, cpu):
|
|||||||
# generally incompatible with default platform ld/link versions and
|
# generally incompatible with default platform ld/link versions and
|
||||||
# shouldn't be distributed due to the external .o file dependencies.
|
# shouldn't be distributed due to the external .o file dependencies.
|
||||||
'use_thin_archives': False,
|
'use_thin_archives': False,
|
||||||
|
|
||||||
# Enable base target customizations necessary for distribution of the
|
|
||||||
# cef_sandbox static library.
|
|
||||||
'is_cef_sandbox_build': True,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if not is_debug:
|
if not is_debug:
|
||||||
|
Reference in New Issue
Block a user