Index: samples/BUILD.gn |
diff --git a/samples/BUILD.gn b/samples/BUILD.gn |
index 748a2af39936c84acf117ccffcee062d22877ee9..6f4518c17e1d6ce038520c499b608614264ebcde 100644 |
--- a/samples/BUILD.gn |
+++ b/samples/BUILD.gn |
@@ -24,6 +24,10 @@ executable("pdfium_test") { |
] |
deps = [ |
"//third_party/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/pdfium/third_party:fx_freetype", |
"//v8:v8_libplatform", |
":fx_lpng", |
] |