summaryrefslogtreecommitdiffstats
path: root/gfx
diff options
context:
space:
mode:
Diffstat (limited to 'gfx')
-rw-r--r--gfx/codec/jpeg_codec.cc2
-rw-r--r--gfx/gfx.gyp2
2 files changed, 2 insertions, 2 deletions
diff --git a/gfx/codec/jpeg_codec.cc b/gfx/codec/jpeg_codec.cc
index 940eb74..ad499e5 100644
--- a/gfx/codec/jpeg_codec.cc
+++ b/gfx/codec/jpeg_codec.cc
@@ -15,7 +15,7 @@ extern "C" {
#if defined(USE_SYSTEM_LIBJPEG)
#include <jpeglib.h>
#else
-#include "third_party/libjpeg/jpeglib.h"
+#include "jpeglib.h"
#endif
}
diff --git a/gfx/gfx.gyp b/gfx/gfx.gyp
index dc8c378..c180f3e 100644
--- a/gfx/gfx.gyp
+++ b/gfx/gfx.gyp
@@ -79,10 +79,10 @@
'../skia/skia.gyp:skia',
'../third_party/icu/icu.gyp:icui18n',
'../third_party/icu/icu.gyp:icuuc',
- '../third_party/libjpeg/libjpeg.gyp:libjpeg',
'../third_party/libpng/libpng.gyp:libpng',
'../third_party/zlib/zlib.gyp:zlib',
'gfx_resources',
+ '<(libjpeg_gyp_path):libjpeg',
],
'sources': [
'blit.cc',