Project

General

Profile

新建 #245 » 0015-fix-error-for-compile-assert.patch

余 顺, 01/15/2024 11:43 PM

View differences:

chromium/BUILD.gn
# 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-2/2)