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

Side by Side Diff: build/linux/system.gyp

Issue 126753003: Use third_party/fontconfig for embedded builds (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 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': { 6 'variables': {
7 'conditions': [ 7 'conditions': [
8 ['sysroot!=""', { 8 ['sysroot!=""', {
9 'pkg-config': './pkg-config-wrapper "<(sysroot)" "<(target_arch)"', 9 'pkg-config': './pkg-config-wrapper "<(sysroot)" "<(target_arch)"',
10 }, { 10 }, {
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 'libraries': [ 149 'libraries': [
150 '<!@(<(pkg-config) --libs-only-l libdrm)', 150 '<!@(<(pkg-config) --libs-only-l libdrm)',
151 ], 151 ],
152 }, 152 },
153 }, 153 },
154 { 154 {
155 'target_name': 'fontconfig', 155 'target_name': 'fontconfig',
156 'type': 'none', 156 'type': 'none',
157 'conditions': [ 157 'conditions': [
158 ['_toolset=="target"', { 158 ['_toolset=="target"', {
159 'direct_dependent_settings': { 159 'conditions': [
160 'cflags': [ 160 ['use_system_fontconfig==1', {
161 '<!@(<(pkg-config) --cflags fontconfig)', 161 'direct_dependent_settings': {
162 ], 162 'cflags': [
163 }, 163 '<!@(<(pkg-config) --cflags fontconfig)',
164 'link_settings': { 164 ],
165 'ldflags': [ 165 },
166 '<!@(<(pkg-config) --libs-only-L --libs-only-other fontconfig)', 166 'link_settings': {
167 ], 167 'ldflags': [
168 'libraries': [ 168 '<!@(<(pkg-config) --libs-only-L --libs-only-other fontconfig) ',
169 '<!@(<(pkg-config) --libs-only-l fontconfig)', 169 ],
170 ], 170 'libraries': [
171 }, 171 '<!@(<(pkg-config) --libs-only-l fontconfig)',
172 ],
173 },
174 }, { # use_system_fontconfig==0
175 'dependencies': [
176 '../../third_party/fontconfig/fontconfig.gyp:fontconfig',
177 ],
178 'export_dependent_settings' : [
179 '../../third_party/fontconfig/fontconfig.gyp:fontconfig',
180 ],
181 }],
182 ],
172 }], 183 }],
173 ], 184 ],
174 }, 185 },
175 { 186 {
176 'target_name': 'freetype2', 187 'target_name': 'freetype2',
177 'type': 'none', 188 'type': 'none',
178 'conditions': [ 189 'conditions': [
179 ['_toolset=="target"', { 190 ['_toolset=="target"', {
180 'direct_dependent_settings': { 191 'direct_dependent_settings': {
181 'cflags': [ 192 'cflags': [
(...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after
887 ], 898 ],
888 'libraries': [ 899 'libraries': [
889 '<!@(pkg-config --libs-only-l xrandr)', 900 '<!@(pkg-config --libs-only-l xrandr)',
890 ], 901 ],
891 }, 902 },
892 }], 903 }],
893 ], 904 ],
894 }, 905 },
895 ], 906 ],
896 } 907 }
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