Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1139)

Unified Diff: build/config/sanitizers/BUILD.gn

Issue 2041433002: 💱 target_cpu -> current_cpu in build/config/sanitizers/BUILD.gn (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@monochrome
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698