diff options
author | Michal Klocek <michal.klocek@qt.io> | 2022-05-25 08:35:57 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2022-06-02 17:52:44 +0000 |
commit | 0547533a515c4a1641f51800fd771c65b255e04b (patch) | |
tree | e5e4c6fed80f418a4b8ae1a7b84d57cdfb95a431 | |
parent | cdcaf52a046858b60a6d19c77f7ebf0f3d35cbd9 (diff) | |
download | qtwebengine-chromium-0547533a515c4a1641f51800fd771c65b255e04b.tar.gz |
Make sure we do not compile minizip from 3rdparty
There are two minizips in chromium src tree, minizip from
third_party/zlib and separate third_party/minizip.
Remove minizip used for fuzzers.
Sources could be removed with next adaptation.
Task-number: QTBUG-103149
Pick-to: 94-based 90-based
Change-Id: I30a9828dece43bf82e0be8d20ab8f2ccb2baab1d
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r-- | chromium/BUILD.gn | 2 | ||||
-rw-r--r-- | chromium/third_party/minizip/BUILD.gn | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/chromium/BUILD.gn b/chromium/BUILD.gn index 9762ceec292..c319aa5df4f 100644 --- a/chromium/BUILD.gn +++ b/chromium/BUILD.gn @@ -446,7 +446,7 @@ group("gn_all") { [ "//third_party/android_crazy_linker:android_crazy_linker_zip_fuzzer" ] } - if (is_linux || is_chromeos) { + if ((is_linux || is_chromeos) && !use_qt) { # This is only used by ChromeOS, but we want maximal fuzzer coverage, so # run it under linux too. deps += [ diff --git a/chromium/third_party/minizip/BUILD.gn b/chromium/third_party/minizip/BUILD.gn index 00fbcf4c7e1..30b6a0f5f80 100644 --- a/chromium/third_party/minizip/BUILD.gn +++ b/chromium/third_party/minizip/BUILD.gn @@ -2,8 +2,11 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. +import("//build/config/features.gni") import("//testing/libfuzzer/fuzzer_test.gni") +assert(!use_qt) + config("minizip_compiler_flags") { if (is_clang) { cflags = [ |