summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'third_party')
-rw-r--r--third_party/BUILD.gn21
1 files changed, 2 insertions, 19 deletions
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn
index 17c9c22832..c270a1063a 100644
--- a/third_party/BUILD.gn
+++ b/third_party/BUILD.gn
@@ -288,8 +288,6 @@ if (!build_with_chromium) {
# Uses libjpeg_turbo as the jpeg implementation. Has no effect if
# use_system_libjpeg is set.
use_libjpeg_turbo = true
-
- use_system_zlib = false
}
config("system_libjpeg_config") {
@@ -318,21 +316,6 @@ if (!build_with_chromium) {
]
}
}
-
- config("system_zlib_config") {
- libs = [ "z" ]
- defines = [ "USE_SYSTEM_ZLIB" ]
- }
-
- group("zlib") {
- if (use_system_zlib) {
- public_configs = [ ":system_zlib_config" ]
- } else {
- public_deps = [
- "//third_party/zlib",
- ]
- }
- }
}
config("fx_libopenjpeg_warnings") {
@@ -412,7 +395,7 @@ static_library("fx_lpng") {
defines = []
cflags = []
deps = [
- "//third_party:zlib",
+ "//third_party/zlib",
]
if (current_cpu == "x86" || current_cpu == "x64") {
@@ -452,7 +435,7 @@ if (pdf_enable_xfa) {
}
deps = [
"//third_party:jpeg",
- "//third_party:zlib",
+ "//third_party/zlib",
]
sources = [
"libtiff/tif_aux.c",