Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(943)

Unified Diff: samples/samples.gyp

Issue 1267493005: Use bundled freetype for tests. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: DEPS picks up corresponding expected results. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « samples/BUILD.gn ('k') | third_party/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/samples.gyp
diff --git a/samples/samples.gyp b/samples/samples.gyp
index 4938ecb9550966067bdb0e1cdef8c4086453a37e..4b6c16bf2e4827ab7c4a2e578ffb58fe460a11b9 100644
--- a/samples/samples.gyp
+++ b/samples/samples.gyp
@@ -22,12 +22,21 @@
'dependencies': [
'fx_lpng',
'../pdfium.gyp:pdfium',
+ # Regardless of whether the library ships against system freetype,
+ # always link this binary against the bundled one for consistency
+ # of results across platforms.
+ '../third_party/third_party.gyp:fx_freetype',
'<(DEPTH)/v8/tools/gyp/v8.gyp:v8_libplatform',
],
'sources': [
'pdfium_test.cc',
'image_diff_png.cc',
],
+ 'link_settings': {
+ 'libraries!': [
+ '-lfreetype',
+ ],
+ },
},
{
'target_name': 'pdfium_diff',
« no previous file with comments | « samples/BUILD.gn ('k') | third_party/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698