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

Unified Diff: third_party/BUILD.gn

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/samples.gyp ('k') | third_party/third_party.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/BUILD.gn
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn
index 37e30ce06d5c0b95b6cf28b5334a922022fc8585..b1c8e262fc6f0ea0af119b1841b4e5603f90921e 100644
--- a/third_party/BUILD.gn
+++ b/third_party/BUILD.gn
@@ -5,7 +5,7 @@
group("third_party") {
deps = [
":bigint",
- ":freetype",
+ ":fx_freetype",
":pdfium_base",
]
}
@@ -30,7 +30,9 @@ source_set("bigint") {
]
}
-source_set("freetype") {
+# Tests may link against this even if the production library doesn't,
+# so it needs to be separate from it.
+static_library("fx_freetype") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [
"//build/config/compiler:no_chromium_code",
« no previous file with comments | « samples/samples.gyp ('k') | third_party/third_party.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698