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

Side by Side Diff: third_party/harfbuzz-ng/harfbuzz.gyp

Issue 11555026: Linux: add option to use system harfbuzz. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': {
7 'use_system_harfbuzz%': 0,
8 },
6 'includes': [ 9 'includes': [
7 '../../build/win_precompile.gypi', 10 '../../build/win_precompile.gypi',
8 ], 11 ],
9 'targets': [ 12 'conditions': [
10 { 13 ['use_system_harfbuzz==0', {
11 'target_name': 'harfbuzz-ng', 14 'targets': [
12 'type': 'static_library', 15 {
13 'defines': [ 16 'target_name': 'harfbuzz-ng',
14 'HAVE_OT', 17 'type': 'static_library',
15 'HAVE_ICU', 18 'defines': [
16 'HB_NO_MT', 19 'HAVE_OT',
17 ], 20 'HAVE_ICU',
18 'sources': [ 21 'HB_NO_MT',
19 'src/hb-atomic-private.hh', 22 ],
20 'src/hb-blob.cc', 23 'sources': [
21 'src/hb-blob.h', 24 'src/hb-atomic-private.hh',
22 'src/hb-buffer-private.hh', 25 'src/hb-blob.cc',
23 'src/hb-buffer.cc', 26 'src/hb-blob.h',
24 'src/hb-buffer.h', 27 'src/hb-buffer-private.hh',
25 'src/hb-cache-private.hh', 28 'src/hb-buffer.cc',
26 'src/hb-common.cc', 29 'src/hb-buffer.h',
27 'src/hb-common.h', 30 'src/hb-cache-private.hh',
28 'src/hb-fallback-shape.cc', 31 'src/hb-common.cc',
29 'src/hb-font-private.hh', 32 'src/hb-common.h',
30 'src/hb-font.cc', 33 'src/hb-fallback-shape.cc',
31 'src/hb-font.h', 34 'src/hb-font-private.hh',
32 'src/hb-icu.cc', 35 'src/hb-font.cc',
33 'src/hb-icu.h', 36 'src/hb-font.h',
34 'src/hb-mutex-private.hh', 37 'src/hb-icu.cc',
35 'src/hb-object-private.hh', 38 'src/hb-icu.h',
36 'src/hb-open-file-private.hh', 39 'src/hb-mutex-private.hh',
37 'src/hb-open-type-private.hh', 40 'src/hb-object-private.hh',
38 'src/hb-ot-head-table.hh', 41 'src/hb-open-file-private.hh',
39 'src/hb-ot-hhea-table.hh', 42 'src/hb-open-type-private.hh',
40 'src/hb-ot-hmtx-table.hh', 43 'src/hb-ot-head-table.hh',
41 'src/hb-ot-layout-common-private.hh', 44 'src/hb-ot-hhea-table.hh',
42 'src/hb-ot-layout-gdef-table.hh', 45 'src/hb-ot-hmtx-table.hh',
43 'src/hb-ot-layout-gpos-table.hh', 46 'src/hb-ot-layout-common-private.hh',
44 'src/hb-ot-layout-gsub-table.hh', 47 'src/hb-ot-layout-gdef-table.hh',
45 'src/hb-ot-layout-gsubgpos-private.hh', 48 'src/hb-ot-layout-gpos-table.hh',
46 'src/hb-ot-layout-private.hh', 49 'src/hb-ot-layout-gsub-table.hh',
47 'src/hb-ot-layout.cc', 50 'src/hb-ot-layout-gsubgpos-private.hh',
48 'src/hb-ot-layout.h', 51 'src/hb-ot-layout-private.hh',
49 'src/hb-ot-map-private.hh', 52 'src/hb-ot-layout.cc',
50 'src/hb-ot-map.cc', 53 'src/hb-ot-layout.h',
51 'src/hb-ot-maxp-table.hh', 54 'src/hb-ot-map-private.hh',
52 'src/hb-ot-name-table.hh', 55 'src/hb-ot-map.cc',
53 'src/hb-ot-shape-complex-arabic-fallback.hh', 56 'src/hb-ot-maxp-table.hh',
54 'src/hb-ot-shape-complex-arabic-table.hh', 57 'src/hb-ot-name-table.hh',
55 'src/hb-ot-shape-complex-arabic.cc', 58 'src/hb-ot-shape-complex-arabic-fallback.hh',
56 'src/hb-ot-shape-complex-indic-machine.hh', 59 'src/hb-ot-shape-complex-arabic-table.hh',
57 'src/hb-ot-shape-complex-indic-private.hh', 60 'src/hb-ot-shape-complex-arabic.cc',
58 'src/hb-ot-shape-complex-indic-table.hh', 61 'src/hb-ot-shape-complex-indic-machine.hh',
59 'src/hb-ot-shape-complex-indic.cc', 62 'src/hb-ot-shape-complex-indic-private.hh',
60 'src/hb-ot-shape-complex-misc.cc', 63 'src/hb-ot-shape-complex-indic-table.hh',
61 'src/hb-ot-shape-complex-private.hh', 64 'src/hb-ot-shape-complex-indic.cc',
62 'src/hb-ot-shape-fallback-private.hh', 65 'src/hb-ot-shape-complex-misc.cc',
63 'src/hb-ot-shape-fallback.cc', 66 'src/hb-ot-shape-complex-private.hh',
64 'src/hb-ot-shape-normalize-private.hh', 67 'src/hb-ot-shape-fallback-private.hh',
65 'src/hb-ot-shape-normalize.cc', 68 'src/hb-ot-shape-fallback.cc',
66 'src/hb-ot-shape-private.hh', 69 'src/hb-ot-shape-normalize-private.hh',
67 'src/hb-ot-shape.cc', 70 'src/hb-ot-shape-normalize.cc',
68 'src/hb-ot-tag.cc', 71 'src/hb-ot-shape-private.hh',
69 'src/hb-ot-tag.h', 72 'src/hb-ot-shape.cc',
70 'src/hb-ot.h', 73 'src/hb-ot-tag.cc',
71 'src/hb-private.hh', 74 'src/hb-ot-tag.h',
72 'src/hb-set-private.hh', 75 'src/hb-ot.h',
73 'src/hb-set.cc', 76 'src/hb-private.hh',
74 'src/hb-set.h', 77 'src/hb-set-private.hh',
75 'src/hb-shape-plan-private.hh', 78 'src/hb-set.cc',
76 'src/hb-shape-plan.cc', 79 'src/hb-set.h',
77 'src/hb-shape-plan.h', 80 'src/hb-shape-plan-private.hh',
78 'src/hb-shape.cc', 81 'src/hb-shape-plan.cc',
79 'src/hb-shape.h', 82 'src/hb-shape-plan.h',
80 'src/hb-shaper-impl-private.hh', 83 'src/hb-shape.cc',
81 'src/hb-shaper-list.hh', 84 'src/hb-shape.h',
82 'src/hb-shaper-private.hh', 85 'src/hb-shaper-impl-private.hh',
83 'src/hb-shaper.cc', 86 'src/hb-shaper-list.hh',
84 'src/hb-tt-font.cc', 87 'src/hb-shaper-private.hh',
85 'src/hb-unicode-private.hh', 88 'src/hb-shaper.cc',
86 'src/hb-unicode.cc', 89 'src/hb-tt-font.cc',
87 'src/hb-unicode.h', 90 'src/hb-unicode-private.hh',
88 'src/hb-utf-private.hh', 91 'src/hb-unicode.cc',
89 'src/hb-version.h', 92 'src/hb-unicode.h',
90 'src/hb-warning.cc', 93 'src/hb-utf-private.hh',
91 'src/hb.h', 94 'src/hb-version.h',
92 ], 95 'src/hb-warning.cc',
93 'include_dirs': [ 96 'src/hb.h',
94 'src', 97 ],
95 ], 98 'include_dirs': [
96 'direct_dependent_settings': { 99 'src',
97 'include_dirs': [ 100 ],
98 'src', 101 'direct_dependent_settings': {
99 ], 102 'include_dirs': [
100 }, 103 'src',
101 'dependencies': [
102 '../../third_party/icu/icu.gyp:icuuc',
103 ],
104 'conditions': [
105 ['clang==1', {
106 'xcode_settings': {
107 'WARNING_CFLAGS': [
108 '-Wno-unused-value',
109 ], 104 ],
110 }, 105 },
106 'dependencies': [
107 '../../third_party/icu/icu.gyp:icuuc',
108 ],
109 'conditions': [
110 ['clang==1', {
111 'xcode_settings': {
112 'WARNING_CFLAGS': [
113 '-Wno-unused-value',
114 ],
115 },
116 'cflags': [
117 '-Wno-unused-value',
118 ]
119 }],
120 ],
121 },
122 ],
123 }, { # use_system_harfbuzz == 1
124 'targets': [
125 {
126 'target_name': 'harfbuzz-ng',
127 'type': 'none',
111 'cflags': [ 128 'cflags': [
112 '-Wno-unused-value', 129 '<!@(pkg-config --cflags harfbuzz)',
113 ] 130 ],
114 }], 131 'direct_dependent_settings': {
132 'cflags': [
133 '<!@(pkg-config --cflags harfbuzz)',
134 ],
135 },
136 'link_settings': {
137 'ldflags': [
138 '<!@(pkg-config --libs-only-L --libs-only-other harfbuzz)',
139 ],
140 'libraries': [
141 '<!@(pkg-config --libs-only-l harfbuzz)',
142 ],
143 },
144 },
115 ], 145 ],
116 }, 146 }],
117 ], 147 ],
118 } 148 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698