33 lines
719 B
Diff
33 lines
719 B
Diff
description: use system zlib library instead of embedded lzma in courgette
|
|
author: Michael Gilbert <mgilbert@debian.org>
|
|
|
|
--- a/src/3rdparty/chromium/courgette/BUILD.gn
|
|
+++ b/src/3rdparty/chromium/courgette/BUILD.gn
|
|
@@ -58,7 +58,6 @@ static_library("courgette_lib") {
|
|
|
|
deps = [
|
|
"//base",
|
|
- "//third_party/lzma_sdk",
|
|
]
|
|
|
|
public_deps = [
|
|
@@ -79,7 +78,6 @@ source_set("courgette_common") {
|
|
]
|
|
deps = [
|
|
"//base",
|
|
- "//third_party/lzma_sdk",
|
|
]
|
|
}
|
|
|
|
--- a/src/3rdparty/chromium/courgette/crc.cc
|
|
+++ b/src/3rdparty/chromium/courgette/crc.cc
|
|
@@ -7,6 +7,8 @@
|
|
#include <stdint.h>
|
|
#include <stddef.h>
|
|
|
|
+#define COURGETTE_USE_CRC_LIB
|
|
+
|
|
#ifdef COURGETTE_USE_CRC_LIB
|
|
# include "zlib.h"
|
|
#else
|