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

Unified Diff: third_party/qcms/BUILD.gn

Issue 2815303003: [qcms] Disable advisory asserts when running in libfuzzer (Closed)
Patch Set: Created 3 years, 8 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 | third_party/qcms/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/qcms/BUILD.gn
diff --git a/third_party/qcms/BUILD.gn b/third_party/qcms/BUILD.gn
index 183ae43d6812500062c2c63d17fceab04b1979dc..3e7075f29927c105f8cb34ae88b8fe238506adac 100644
--- a/third_party/qcms/BUILD.gn
+++ b/third_party/qcms/BUILD.gn
@@ -31,10 +31,16 @@ static_library("qcms") {
"src/transform_util.h",
]
+ defines = []
+
if (current_cpu == "x86" || current_cpu == "x64") {
- defines = [ "SSE2_ENABLE" ]
+ defines += [ "SSE2_ENABLE" ]
sources += [ "src/transform-sse2.c" ]
}
+
+ if (use_libfuzzer) {
+ defines += [ "USE_LIBFUZZER" ]
+ }
}
configs -= [ "//build/config/compiler:chromium_code" ]
« no previous file with comments | « no previous file | third_party/qcms/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698