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

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

Issue 7587003: Revert 95910 - Revert 95907 - Clean up SSL false start blacklist code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/third_party/dynamic_annotations/dynamic_annotations.gyp ('k') | build/util/build_util.gyp » ('j') | 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) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 'conditions': [ 6 'conditions': [
7 ['sysroot!=""', { 7 ['sysroot!=""', {
8 'variables': { 8 'variables': {
9 'pkg-config': './pkg-config-wrapper "<(sysroot)"', 9 'pkg-config': './pkg-config-wrapper "<(sysroot)"',
10 }, 10 },
(...skipping 13 matching lines...) Expand all
24 'use_system_ssl%': 1, 24 'use_system_ssl%': 1,
25 }, 25 },
26 }], 26 }],
27 ], 27 ],
28 28
29 29
30 'targets': [ 30 'targets': [
31 { 31 {
32 'target_name': 'gtk', 32 'target_name': 'gtk',
33 'type': 'settings', 33 'type': 'settings',
34 'toolsets': ['host', 'target'],
34 'conditions': [ 35 'conditions': [
35 ['_toolset=="target"', { 36 ['_toolset=="target"', {
36 'direct_dependent_settings': { 37 'direct_dependent_settings': {
37 'cflags': [ 38 'cflags': [
38 '<!@(<(pkg-config) --cflags gtk+-2.0 gthread-2.0)', 39 '<!@(<(pkg-config) --cflags gtk+-2.0 gthread-2.0)',
39 ], 40 ],
40 }, 41 },
41 'link_settings': { 42 'link_settings': {
42 'ldflags': [ 43 'ldflags': [
43 '<!@(<(pkg-config) --libs-only-L --libs-only-other gtk+-2.0 gthrea d-2.0)', 44 '<!@(<(pkg-config) --libs-only-L --libs-only-other gtk+-2.0 gthrea d-2.0)',
44 ], 45 ],
45 'libraries': [ 46 'libraries': [
46 '<!@(<(pkg-config) --libs-only-l gtk+-2.0 gthread-2.0)', 47 '<!@(<(pkg-config) --libs-only-l gtk+-2.0 gthread-2.0)',
47 ], 48 ],
48 }, 49 },
49 }], 50 }, {
50 [ 'chromeos==1', { 51 'direct_dependent_settings': {
51 'link_settings': { 52 'cflags': [
52 'libraries': [ '-lXtst' ] 53 '<!@(pkg-config --cflags gtk+-2.0 gthread-2.0)',
53 } 54 ],
54 }]] 55 },
56 'link_settings': {
57 'ldflags': [
58 '<!@(pkg-config --libs-only-L --libs-only-other gtk+-2.0 gthread-2 .0)',
59 ],
60 'libraries': [
61 '<!@(pkg-config --libs-only-l gtk+-2.0 gthread-2.0)',
62 ],
63 },
64 }],
65 ['chromeos==1', {
66 'link_settings': {
67 'libraries': [ '-lXtst' ]
68 }
69 }],
70 ],
55 }, 71 },
56 { 72 {
57 'target_name': 'gtkprint', 73 'target_name': 'gtkprint',
58 'type': 'settings', 74 'type': 'settings',
59 'conditions': [ 75 'conditions': [
60 ['_toolset=="target"', { 76 ['_toolset=="target"', {
61 'direct_dependent_settings': { 77 'direct_dependent_settings': {
62 'cflags': [ 78 'cflags': [
63 '<!@(<(pkg-config) --cflags gtk+-unix-print-2.0)', 79 '<!@(<(pkg-config) --cflags gtk+-unix-print-2.0)',
64 ], 80 ],
65 }, 81 },
66 'link_settings': { 82 'link_settings': {
67 'ldflags': [ 83 'ldflags': [
68 '<!@(<(pkg-config) --libs-only-L --libs-only-other gtk+-unix-print -2.0)', 84 '<!@(<(pkg-config) --libs-only-L --libs-only-other gtk+-unix-print -2.0)',
69 ], 85 ],
70 'libraries': [ 86 'libraries': [
71 '<!@(<(pkg-config) --libs-only-l gtk+-unix-print-2.0)', 87 '<!@(<(pkg-config) --libs-only-l gtk+-unix-print-2.0)',
72 ], 88 ],
73 }, 89 },
74 }]] 90 }],
91 ],
75 }, 92 },
76 { 93 {
77 'target_name': 'ssl', 94 'target_name': 'ssl',
78 'type': 'settings', 95 'type': 'settings',
79 'conditions': [ 96 'conditions': [
80 ['_toolset=="target"', { 97 ['_toolset=="target"', {
81 'conditions': [ 98 'conditions': [
82 ['use_openssl==1', { 99 ['use_openssl==1', {
83 'dependencies': [ 100 'dependencies': [
84 '../../third_party/openssl/openssl.gyp:openssl', 101 '../../third_party/openssl/openssl.gyp:openssl',
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 ], 162 ],
146 }, 163 },
147 'link_settings': { 164 'link_settings': {
148 'ldflags': [ 165 'ldflags': [
149 '<!@(<(pkg-config) --libs-only-L --libs-only-other freetype2)', 166 '<!@(<(pkg-config) --libs-only-L --libs-only-other freetype2)',
150 ], 167 ],
151 'libraries': [ 168 'libraries': [
152 '<!@(<(pkg-config) --libs-only-l freetype2)', 169 '<!@(<(pkg-config) --libs-only-l freetype2)',
153 ], 170 ],
154 }, 171 },
155 }]] 172 }],
173 ],
156 }, 174 },
157 { 175 {
158 'target_name': 'fontconfig', 176 'target_name': 'fontconfig',
159 'type': 'settings', 177 'type': 'settings',
160 'conditions': [ 178 'conditions': [
161 ['_toolset=="target"', { 179 ['_toolset=="target"', {
162 'direct_dependent_settings': { 180 'direct_dependent_settings': {
163 'cflags': [ 181 'cflags': [
164 '<!@(<(pkg-config) --cflags fontconfig)', 182 '<!@(<(pkg-config) --cflags fontconfig)',
165 ], 183 ],
166 }, 184 },
167 'link_settings': { 185 'link_settings': {
168 'ldflags': [ 186 'ldflags': [
169 '<!@(<(pkg-config) --libs-only-L --libs-only-other fontconfig)', 187 '<!@(<(pkg-config) --libs-only-L --libs-only-other fontconfig)',
170 ], 188 ],
171 'libraries': [ 189 'libraries': [
172 '<!@(<(pkg-config) --libs-only-l fontconfig)', 190 '<!@(<(pkg-config) --libs-only-l fontconfig)',
173 ], 191 ],
174 }, 192 },
175 }]] 193 }],
194 ],
176 }, 195 },
177 { 196 {
178 'target_name': 'gdk', 197 'target_name': 'gdk',
179 'type': 'settings', 198 'type': 'settings',
180 'conditions': [ 199 'conditions': [
181 ['_toolset=="target"', { 200 ['_toolset=="target"', {
182 'direct_dependent_settings': { 201 'direct_dependent_settings': {
183 'cflags': [ 202 'cflags': [
184 '<!@(<(pkg-config) --cflags gdk-2.0)', 203 '<!@(<(pkg-config) --cflags gdk-2.0)',
185 ], 204 ],
186 }, 205 },
187 'link_settings': { 206 'link_settings': {
188 'ldflags': [ 207 'ldflags': [
189 '<!@(<(pkg-config) --libs-only-L --libs-only-other gdk-2.0)', 208 '<!@(<(pkg-config) --libs-only-L --libs-only-other gdk-2.0)',
190 ], 209 ],
191 'libraries': [ 210 'libraries': [
192 '<!@(<(pkg-config) --libs-only-l gdk-2.0)', 211 '<!@(<(pkg-config) --libs-only-l gdk-2.0)',
193 ], 212 ],
194 }, 213 },
195 }]] 214 }],
215 ],
196 }, 216 },
197 { 217 {
198 'target_name': 'gconf', 218 'target_name': 'gconf',
199 'type': 'settings', 219 'type': 'settings',
200 'conditions': [ 220 'conditions': [
201 ['use_gconf==1 and _toolset=="target"', { 221 ['use_gconf==1 and _toolset=="target"', {
202 'direct_dependent_settings': { 222 'direct_dependent_settings': {
203 'cflags': [ 223 'cflags': [
204 '<!@(<(pkg-config) --cflags gconf-2.0)', 224 '<!@(<(pkg-config) --cflags gconf-2.0)',
205 ], 225 ],
206 'defines': [ 226 'defines': [
207 'USE_GCONF', 227 'USE_GCONF',
208 ], 228 ],
209 }, 229 },
210 'link_settings': { 230 'link_settings': {
211 'ldflags': [ 231 'ldflags': [
212 '<!@(<(pkg-config) --libs-only-L --libs-only-other gconf-2.0)', 232 '<!@(<(pkg-config) --libs-only-L --libs-only-other gconf-2.0)',
213 ], 233 ],
214 'libraries': [ 234 'libraries': [
215 '<!@(<(pkg-config) --libs-only-l gconf-2.0)', 235 '<!@(<(pkg-config) --libs-only-l gconf-2.0)',
216 ], 236 ],
217 }, 237 },
218 }]] 238 }],
239 ],
219 }, 240 },
220 { 241 {
221 'target_name': 'gio', 242 'target_name': 'gio',
222 'type': 'settings', 243 'type': 'settings',
223 'conditions': [ 244 'conditions': [
224 ['use_gio==1 and _toolset=="target"', { 245 ['use_gio==1 and _toolset=="target"', {
225 'direct_dependent_settings': { 246 'direct_dependent_settings': {
226 'cflags': [ 247 'cflags': [
227 '<!@(<(pkg-config) --cflags gio-2.0)', 248 '<!@(<(pkg-config) --cflags gio-2.0)',
228 ], 249 ],
(...skipping 14 matching lines...) Expand all
243 '<!@(<(pkg-config) --libs-only-l gio-2.0)', 264 '<!@(<(pkg-config) --libs-only-l gio-2.0)',
244 ], 265 ],
245 'conditions': [ 266 'conditions': [
246 ['linux_link_gsettings==0', { 267 ['linux_link_gsettings==0', {
247 'libraries': [ 268 'libraries': [
248 '-ldl', 269 '-ldl',
249 ], 270 ],
250 }], 271 }],
251 ], 272 ],
252 }, 273 },
253 }]] 274 }],
275 ],
254 }, 276 },
255 { 277 {
256 'target_name': 'x11', 278 'target_name': 'x11',
257 'type': 'settings', 279 'type': 'settings',
280 'toolsets': ['host', 'target'],
258 'conditions': [ 281 'conditions': [
259 ['_toolset=="target"', { 282 ['_toolset=="target"', {
260 'direct_dependent_settings': { 283 'direct_dependent_settings': {
261 'cflags': [ 284 'cflags': [
262 '<!@(<(pkg-config) --cflags x11)', 285 '<!@(<(pkg-config) --cflags x11)',
263 ], 286 ],
264 }, 287 },
265 'link_settings': { 288 'link_settings': {
266 'ldflags': [ 289 'ldflags': [
267 '<!@(<(pkg-config) --libs-only-L --libs-only-other x11 xi)', 290 '<!@(<(pkg-config) --libs-only-L --libs-only-other x11 xi)',
268 ], 291 ],
269 'libraries': [ 292 'libraries': [
270 '<!@(<(pkg-config) --libs-only-l x11 xi)', 293 '<!@(<(pkg-config) --libs-only-l x11 xi)',
271 ], 294 ],
272 }, 295 },
273 }], 296 }, {
297 'direct_dependent_settings': {
298 'cflags': [
299 '<!@(pkg-config --cflags x11)',
300 ],
301 },
302 'link_settings': {
303 'ldflags': [
304 '<!@(pkg-config --libs-only-L --libs-only-other x11 xi)',
305 ],
306 'libraries': [
307 '<!@(pkg-config --libs-only-l x11 xi)',
308 ],
309 },
310 }],
274 ], 311 ],
275 }, 312 },
276 { 313 {
277 'target_name': 'xext', 314 'target_name': 'xext',
278 'type': 'settings', 315 'type': 'settings',
279 'conditions': [ 316 'conditions': [
280 ['_toolset=="target"', { 317 ['_toolset=="target"', {
281 'direct_dependent_settings': { 318 'direct_dependent_settings': {
282 'cflags': [ 319 'cflags': [
283 '<!@(<(pkg-config) --cflags xext)', 320 '<!@(<(pkg-config) --cflags xext)',
284 ], 321 ],
285 }, 322 },
286 'link_settings': { 323 'link_settings': {
287 'ldflags': [ 324 'ldflags': [
288 '<!@(<(pkg-config) --libs-only-L --libs-only-other xext)', 325 '<!@(<(pkg-config) --libs-only-L --libs-only-other xext)',
289 ], 326 ],
290 'libraries': [ 327 'libraries': [
291 '<!@(<(pkg-config) --libs-only-l xext)', 328 '<!@(<(pkg-config) --libs-only-l xext)',
292 ], 329 ],
293 }, 330 },
294 }]] 331 }],
332 ],
295 }, 333 },
296 { 334 {
297 'target_name': 'libgcrypt', 335 'target_name': 'libgcrypt',
298 'type': 'settings', 336 'type': 'settings',
299 'conditions': [ 337 'conditions': [
300 ['_toolset=="target" and use_cups==1', { 338 ['_toolset=="target" and use_cups==1', {
301 'direct_dependent_settings': { 339 'direct_dependent_settings': {
302 'cflags': [ 340 'cflags': [
303 '<!@(libgcrypt-config --cflags)', 341 '<!@(libgcrypt-config --cflags)',
304 ], 342 ],
305 }, 343 },
306 'link_settings': { 344 'link_settings': {
307 'libraries': [ 345 'libraries': [
308 '<!@(libgcrypt-config --libs)', 346 '<!@(libgcrypt-config --libs)',
309 ], 347 ],
310 }, 348 },
311 }]] 349 }],
350 ],
312 }, 351 },
313 { 352 {
314 'target_name': 'selinux', 353 'target_name': 'selinux',
315 'type': 'settings', 354 'type': 'settings',
316 'conditions': [ 355 'conditions': [
317 ['_toolset=="target"', { 356 ['_toolset=="target"', {
318 'link_settings': { 357 'link_settings': {
319 'libraries': [ 358 'libraries': [
320 '-lselinux', 359 '-lselinux',
321 ], 360 ],
322 }, 361 },
323 }]] 362 }],
363 ],
324 }, 364 },
325 { 365 {
326 'target_name': 'gnome_keyring', 366 'target_name': 'gnome_keyring',
327 'type': 'settings', 367 'type': 'settings',
328 'conditions': [ 368 'conditions': [
329 ['use_gnome_keyring==1', { 369 ['use_gnome_keyring==1', {
330 'direct_dependent_settings': { 370 'direct_dependent_settings': {
331 'cflags': [ 371 'cflags': [
332 '<!@(<(pkg-config) --cflags gnome-keyring-1)', 372 '<!@(<(pkg-config) --cflags gnome-keyring-1)',
333 ], 373 ],
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 ], 522 ],
483 'libraries': [ 523 'libraries': [
484 '<!@(<(pkg-config) --libs-only-l wayland-client wayland-egl xkbcom mon)', 524 '<!@(<(pkg-config) --libs-only-l wayland-client wayland-egl xkbcom mon)',
485 ], 525 ],
486 }, 526 },
487 }], 527 }],
488 ], 528 ],
489 }, 529 },
490 ], 530 ],
491 } 531 }
OLDNEW
« no previous file with comments | « base/third_party/dynamic_annotations/dynamic_annotations.gyp ('k') | build/util/build_util.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698