File tree 2 files changed +4
-1
lines changed
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -1256,7 +1256,7 @@ if (is_win) {
1256
1256
sources = [ " libcef_dll/sandbox/sandbox_win.cc" ]
1257
1257
# CEF sources use include paths relative to the CEF root directory.
1258
1258
include_dirs = [ " ." ]
1259
- deps = [ " //sandbox" ]
1259
+ deps = [ " libcef/features " , " //sandbox" ]
1260
1260
}
1261
1261
}
1262
1262
Original file line number Diff line number Diff line change 6
6
#include " sandbox/win/src/process_mitigations.h"
7
7
#include " sandbox/win/src/sandbox_factory.h"
8
8
9
+ #include " cef/libcef/features/features.h"
9
10
#include " include/cef_sandbox_win.h"
10
11
11
12
namespace {
@@ -39,6 +40,7 @@ void cef_sandbox_info_destroy(void* sandbox_info) {
39
40
delete static_cast <sandbox::SandboxInterfaceInfo*>(sandbox_info);
40
41
}
41
42
43
+ #if BUILDFLAG(IS_CEF_SANDBOX_BUILD)
42
44
// Implementation from third_party/abseil-cpp/absl/types/bad_variant_access.cc
43
45
// to avoid bringing in absl dependencies.
44
46
namespace absl {
@@ -48,3 +50,4 @@ void ThrowBadVariantAccess() {
48
50
}
49
51
} // namespace variant_internal
50
52
} // namespace absl
53
+ #endif // BUILDFLAG(IS_CEF_SANDBOX_BUILD)
You can’t perform that action at this time.
0 commit comments