新建 #245 » 0015-fix-error-for-compile-assert.patch
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 ]
|
- « Previous
- 1
- 2
- Next »