From fab2af887631670929693596932592efb822816c Mon Sep 17 00:00:00 2001 From: Marshall Greenblatt Date: Thu, 16 Jul 2020 12:26:53 -0400 Subject: [PATCH] Windows: Avoid cef_sandbox compile errors with perfetto (fixes issue #2984) --- tools/gn_args.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/gn_args.py b/tools/gn_args.py index cb2128805..be13a7513 100644 --- a/tools/gn_args.py +++ b/tools/gn_args.py @@ -477,6 +477,10 @@ def GetConfigArgsSandbox(platform, args, is_debug, cpu): # Avoid Debug build linker errors caused by custom libc++. add_args['use_custom_libcxx'] = False + # Avoid dependency on //third_party/perfetto:libperfetto which fails to + # build with MSVC libc++. + add_args['enable_base_tracing'] = False + result = MergeDicts(args, add_args, { 'is_debug': is_debug, 'target_cpu': cpu,