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

Unified Diff: BUILD.gn

Issue 2200833010: GN: build sfntly, icu, harfbuzz (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-08-03 (Wednesday) 17:32:27 EDT Created 4 years, 4 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 | « no previous file | gn/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 91c2b43ecedea5f87bb75572ae06d60c302d941f..0d15f3169c54d6730fe2750a30d2ca6411a37690 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -65,6 +65,9 @@ config("skia_private") {
"SK_HAS_PNG_LIBRARY",
"SK_HAS_WEBP_LIBRARY",
+ # TODO(halcanary): make this the default; this is the value Android uses.
+ "SK_SFNTLY_SUBSETTER=\"sample/chromium/font_subsetter.h\"",
+
"TURBO_HAS_565",
"TURBO_HAS_CROP",
"TURBO_HAS_SKIP",
@@ -171,6 +174,7 @@ component("skia") {
"//third_party/libjpeg_turbo",
"//third_party/libpng",
"//third_party/libwebp",
+ "//third_party/sfntly",
"//third_party/zlib",
]
@@ -364,8 +368,8 @@ test_lib("gpu_tool_utils") {
if (is_linux) {
sources += [
- "src/gpu/gl/glx/GrGLCreateNativeInterface_glx.cpp",
- "tools/gpu/gl/glx/CreatePlatformGLTestContext_glx.cpp",
+ "src/gpu/gl/glx/GrGLCreateNativeInterface_glx.cpp",
+ "tools/gpu/gl/glx/CreatePlatformGLTestContext_glx.cpp",
]
libs += [
"GL",
@@ -374,8 +378,8 @@ test_lib("gpu_tool_utils") {
]
} else if (is_mac) {
sources += [
- "src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp",
- "tools/gpu/gl/mac/CreatePlatformGLTestContext_mac.cpp",
+ "src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp",
+ "tools/gpu/gl/mac/CreatePlatformGLTestContext_mac.cpp",
]
libs += [ "OpenGL.framework" ]
}
@@ -458,8 +462,8 @@ test_lib("tests") {
rebase_path("tests/FontMgrAndroidParserTest.cpp"), # Android only
rebase_path("tests/PathOpsSkpClipTest.cpp"), # alternate main
rebase_path("tests/RTConfRegistryTest.cpp"), # TODO: delete
- rebase_path("tests/SkSLErrorTest.cpp"), # TODO: make work
- rebase_path("tests/SkSLGLSLTest.cpp"), # TODO: make work
+ rebase_path("tests/SkSLErrorTest.cpp"), # TODO: make work
+ rebase_path("tests/SkSLGLSLTest.cpp"), # TODO: make work
rebase_path("tests/SkpSkGrTest.cpp"), # doesn't compile
rebase_path("tests/skia_test.cpp"), # alternate main
]
@@ -544,4 +548,16 @@ if (!is_component_build) { # Our test tools use many non-SK_API APIs...
]
testonly = true
}
+
+ executable("sktexttopdf") {
+ sources = [
+ "tools/SkShaper_harfbuzz.cpp",
+ "tools/using_skia_and_harfbuzz.cpp",
+ ]
+ deps = [
+ ":skia",
+ "//third_party/harfbuzz",
+ ]
+ testonly = true
+ }
}
« no previous file with comments | « no previous file | gn/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698