diff options
author | Michal Klocek <michal.klocek@qt.io> | 2022-05-25 08:35:57 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2022-11-09 11:48:09 +0100 |
commit | 7729e8211b8b72255ed33e44b683a341a85ab637 (patch) | |
tree | 369cda864a15fd28deeab2aaba99e50a08acc186 | |
parent | 2276b59890d820ce5343697ca2f6b250a720d9f5 (diff) | |
download | qtwebengine-chromium-7729e8211b8b72255ed33e44b683a341a85ab637.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 6e2f9961de4..a83d9eead60 100644 --- a/chromium/BUILD.gn +++ b/chromium/BUILD.gn @@ -433,7 +433,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 = [ |