| Index: build/config/sanitizers/BUILD.gn
|
| diff --git a/build/config/sanitizers/BUILD.gn b/build/config/sanitizers/BUILD.gn
|
| index 979138865a2985d2c4e6d276ba20f027a4315775..fb6731fb49385a5daf19cece797ef3e57fe3a803 100644
|
| --- a/build/config/sanitizers/BUILD.gn
|
| +++ b/build/config/sanitizers/BUILD.gn
|
| @@ -213,7 +213,7 @@ config("asan_flags") {
|
| ]
|
| # TODO(GYP): deal with mac_bundles.
|
| } else if (is_win) {
|
| - assert(target_cpu == "x86", "WinASan is 32-bit only currently")
|
| + assert(current_cpu == "x86", "WinASan is 32-bit only currently")
|
| if (is_component_build) {
|
| libs = [
|
| "clang_rt.asan_dynamic-i386.lib",
|
| @@ -264,7 +264,7 @@ config("coverage_flags") {
|
| "-mllvm",
|
| "-sanitizer-coverage-prune-blocks=1",
|
| ]
|
| - if (target_cpu == "arm") {
|
| + if (current_cpu == "arm") {
|
| # http://crbug.com/517105
|
| cflags += [
|
| "-mllvm",
|
|
|