From 61f2f4812e28caa0c62c2e6899ed490fc8ad9e19 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 19 Sep 2017 15:03:15 -0700 Subject: Isolate lcms2 usage to a few files. Then set up the right dependencies for them. BUG=chromium:765914 Change-Id: I036cd888c741927d5efe0d020c6676f169e7cbb1 Reviewed-on: https://pdfium-review.googlesource.com/14410 Commit-Queue: dsinclair Reviewed-by: dsinclair --- core/fxcodec/codec/fx_codec_jpx_opj.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'core/fxcodec') diff --git a/core/fxcodec/codec/fx_codec_jpx_opj.cpp b/core/fxcodec/codec/fx_codec_jpx_opj.cpp index b50c01227f..89c512390d 100644 --- a/core/fxcodec/codec/fx_codec_jpx_opj.cpp +++ b/core/fxcodec/codec/fx_codec_jpx_opj.cpp @@ -19,12 +19,6 @@ #include "third_party/libopenjpeg20/openjpeg.h" #include "third_party/libopenjpeg20/opj_malloc.h" -#if defined(USE_SYSTEM_LCMS2) -#include -#else -#include "third_party/lcms/include/lcms2.h" -#endif - namespace { void fx_ignore_callback(const char* msg, void* client_data) {} -- cgit v1.2.3