Index: build/linux/unbundle/libjpeg.gyp |
diff --git a/build/linux/unbundle/harfbuzz.gyp b/build/linux/unbundle/libjpeg.gyp |
similarity index 51% |
copy from build/linux/unbundle/harfbuzz.gyp |
copy to build/linux/unbundle/libjpeg.gyp |
index 456dd384df2d5c57d9857cfb775d46ef87add2bc..f56e7aa614109c70ec8cc009e91e4876b3eadc70 100644 |
--- a/build/linux/unbundle/harfbuzz.gyp |
+++ b/build/linux/unbundle/libjpeg.gyp |
@@ -5,24 +5,25 @@ |
{ |
'targets': [ |
{ |
- 'target_name': 'harfbuzz-ng', |
+ 'target_name': 'libjpeg', |
'type': 'none', |
- 'cflags': [ |
- '<!@(pkg-config --cflags harfbuzz)', |
- ], |
'direct_dependent_settings': { |
- 'cflags': [ |
- '<!@(pkg-config --cflags harfbuzz)', |
+ 'defines': [ |
+ 'USE_SYSTEM_LIBJPEG', |
+ ], |
+ 'conditions': [ |
+ ['os_bsd==1', { |
+ 'include_dirs': [ |
+ '/usr/local/include', |
+ ], |
+ }], |
], |
}, |
'link_settings': { |
- 'ldflags': [ |
- '<!@(pkg-config --libs-only-L --libs-only-other harfbuzz)', |
- ], |
'libraries': [ |
- '<!@(pkg-config --libs-only-l harfbuzz)', |
+ '-ljpeg', |
], |
}, |
- }, |
+ } |
], |
} |