From cc30088b72d8aafb22c791dcdc7eb6ab39baa964 Mon Sep 17 00:00:00 2001 From: rpdzkj Date: Wed, 16 Aug 2023 14:58:17 +0800 Subject: [PATCH] fix error for compile assert --- chromium/BUILD.gn | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/chromium/BUILD.gn b/chromium/BUILD.gn index 8d9657d54..82de5a850 100644 --- a/chromium/BUILD.gn +++ b/chromium/BUILD.gn @@ -1408,20 +1408,20 @@ if (enable_js_type_check) { # Because of the source assignment filter, many targets end up over-filtering # their sources if the output directory contains a platform name. Assert that # this doesn't happen. http://crbug.com/548283 -assert( - filter_exclude([ "$root_build_dir/foo" ], - # List copied from //build/config/BUILDCONFIG.gn. - [ - "*\bandroid/*", - "*\bchromeos/*", - "*\bcocoa/*", - "*\bios/*", - "*\blinux/*", - "*\bmac/*", - "*\bposix/*", - "*\bwin/*", - ]) != [], - "Do not use a platform name in your output directory (found \"$root_build_dir\"). http://crbug.com/548283") +#assert( +# filter_exclude([ "$root_build_dir/foo" ], +# # List copied from //build/config/BUILDCONFIG.gn. +# [ +# "*\bandroid/*", +# "*\bchromeos/*", +# "*\bcocoa/*", +# "*\bios/*", +# "*\blinux/*", +# "*\bmac/*", +# "*\bposix/*", +# "*\bwin/*", +# ]) != [], +# "Do not use a platform name in your output directory (found \"$root_build_dir\"). http://crbug.com/548283") group("qtwebengine") { deps = [ qtwebengine_target ] -- 2.17.1