| 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" ]
|
|
|