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

Unified Diff: gyp/harfbuzz.gyp

Issue 1940393002: Start building Harfbuzz+Skia example (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2016-05-03 (Tuesday) 17:58:47 EDT Created 4 years, 8 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 | « DEPS ('k') | gyp/tools.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/harfbuzz.gyp
diff --git a/gyp/harfbuzz.gyp b/gyp/harfbuzz.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..ce7b42f27b707c179ca91ba63eb11f9ef75f333b
--- /dev/null
+++ b/gyp/harfbuzz.gyp
@@ -0,0 +1,61 @@
+# Copyright (c) 2012 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'variables': {
+ 'hb_directory': '../third_party/externals/harfbuzz',
+ },
+ 'targets': [
+ {
+ 'target_name': 'harfbuzz',
+ 'type': 'static_library',
+ 'defines': [
+ 'HAVE_OT',
+ 'HAVE_ICU',
+ 'HAVE_ICU_BUILTIN',
+ 'HB_NO_MT',
+ ],
+ 'sources': [
+ '<!@(python find.py <(hb_directory)/src "*.c*")',
+ ],
+ 'sources!': [
+ '<(hb_directory)/src/hb-directwrite.cc',
+ '<(hb_directory)/src/hb-ft.cc',
+ '<(hb_directory)/src/hb-glib.cc',
+ '<(hb_directory)/src/hb-gobject-structs.cc',
+ '<(hb_directory)/src/hb-graphite2.cc',
+ '<(hb_directory)/src/hb-ucdn.cc',
+ '<(hb_directory)/src/hb-uniscribe.cc',
+ ],
+ 'include_dirs': [
+ '<(hb_directory)/src',
+ '../third_party/harfbuzz',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '<(hb_directory)/src',
+ '../third_party/harfbuzz',
+ ],
+ },
+ 'dependencies': [ 'icu.gyp:icuuc', ],
+ 'cflags': [ '-w', ],
+ 'msvs_settings': {
+ 'VCCLCompilerTool': {
+ 'WarningLevel': '0',
+ 'AdditionalOptions': [ '/wd4189', ],
+ },
+ },
+ 'xcode_settings': { 'WARNING_CFLAGS': [ '-w', ], },
+ 'conditions': [
+ [ 'skia_os == "mac"',
+ {
+ 'defines': [ 'HAVE_CORETEXT', ],
+ }, {
+ 'sources!': [ '<(hb_directory)/src/hb-coretext.cc', ],
+ }
+ ],
+ ],
+ },
+ ],
+}
« no previous file with comments | « DEPS ('k') | gyp/tools.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698