Update BUILD.gn

This commit is contained in:
Alexander David Frick 2022-06-27 12:24:31 -05:00 committed by GitHub
parent 6a28885c43
commit 8b2db3a4f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1615,8 +1615,10 @@ if (!is_ios) {
is_valid_x86_target =
target_os != "ios" && target_os != "mac" &&
(target_os != "linux" || use_libfuzzer || !build_with_chromium)
# Note: v8_target_cpu == arm allows using the V8 arm simulator on x86 for fuzzing.
assert(
is_valid_x86_target || target_cpu != "x86",
is_valid_x86_target || target_cpu != "x86" || v8_target_cpu == "arm",
"'target_cpu=x86' is not supported for 'target_os=$target_os'. Consider omitting 'target_cpu' (default) or using 'target_cpu=x64' instead.")
group("chromium_builder_perf") {