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

Unified Diff: ui/gfx/BUILD.gn

Issue 2029343002: Link to DirectWrite directly, instead of calling LoadLibrary (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Link content_unittests to dwrite.dll Created 4 years, 6 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
Index: ui/gfx/BUILD.gn
diff --git a/ui/gfx/BUILD.gn b/ui/gfx/BUILD.gn
index d5977ba50cb1e379ea9aa60b200a98953581b550..aee4e8703a90c9445ae21133f007c70ded52fb73 100644
--- a/ui/gfx/BUILD.gn
+++ b/ui/gfx/BUILD.gn
@@ -348,7 +348,10 @@ component("gfx") {
cflags = [ "/wd4324" ] # Structure was padded due to __declspec(align()), which is
# uninteresting.
- libs = [ "setupapi.lib" ]
+ libs = [
+ "setupapi.lib",
+ "dwrite.lib",
+ ]
} else {
sources -= [
"gdi_util.cc",
@@ -871,6 +874,7 @@ test("gfx_unittests") {
libs = [
"d2d1.lib",
"d3d10_1.lib",
+ "dwrite.lib",
"imm32.lib",
"oleacc.lib",
]

Powered by Google App Engine
This is Rietveld 408576698