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

Side by Side Diff: third_party/libxslt/libxslt.gyp

Issue 1695019: linux: remove use_system_libxslt (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: retry Created 10 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 unified diff | Download patch
« no previous file with comments | « no previous file | 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) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { 8 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', {
9 'os_include': 'linux' 9 'os_include': 'linux'
10 }], 10 }],
11 ['OS=="mac"', {'os_include': 'mac'}], 11 ['OS=="mac"', {'os_include': 'mac'}],
12 ['OS=="win"', {'os_include': 'win32'}], 12 ['OS=="win"', {'os_include': 'win32'}],
13 ], 13 ],
14 'use_system_libxslt%': 0, 14 # We used to have a separate flag for using the system
15 # libxslt, but it seems mixing Chrome libxml and system
16 # libxslt causes crashes that nobody has had time to diagnose.
17 # So just put them both behind the same flag for now.
18 'use_system_libxml%': 0,
15 }, 19 },
16 'targets': [ 20 'targets': [
17 { 21 {
18 'target_name': 'libxslt', 22 'target_name': 'libxslt',
19 'conditions': [ 23 'conditions': [
20 ['OS=="linux" and use_system_libxslt', { 24 ['OS=="linux" and use_system_libxml', {
21 'type': 'settings', 25 'type': 'settings',
22 'direct_dependent_settings': { 26 'direct_dependent_settings': {
23 'cflags': [ 27 'cflags': [
24 '<!@(pkg-config --cflags libxslt)', 28 '<!@(pkg-config --cflags libxslt)',
25 ], 29 ],
26 }, 30 },
27 'link_settings': { 31 'link_settings': {
28 'ldflags': [ 32 'ldflags': [
29 '<!@(pkg-config --libs-only-L --libs-only-other libxslt)', 33 '<!@(pkg-config --libs-only-L --libs-only-other libxslt)',
30 ], 34 ],
31 'libraries': [ 35 'libraries': [
32 '<!@(pkg-config --libs-only-l libxslt)', 36 '<!@(pkg-config --libs-only-l libxslt)',
33 ], 37 ],
34 }, 38 },
35 }, { # else: OS != "linux" or ! use_system_libxslt 39 }, { # else: OS != "linux" or ! use_system_libxml
36 'type': '<(library)', 40 'type': '<(library)',
37 'msvs_guid': 'FC0E1FD0-5DD7-4041-A1C9-CD3C376E4EED', 41 'msvs_guid': 'FC0E1FD0-5DD7-4041-A1C9-CD3C376E4EED',
38 'sources': [ 42 'sources': [
39 'libxslt/attributes.c', 43 'libxslt/attributes.c',
40 'libxslt/attributes.h', 44 'libxslt/attributes.h',
41 'libxslt/attrvt.c', 45 'libxslt/attrvt.c',
42 'libxslt/documents.c', 46 'libxslt/documents.c',
43 'libxslt/documents.h', 47 'libxslt/documents.h',
44 'libxslt/extensions.c', 48 'libxslt/extensions.c',
45 'libxslt/extensions.h', 49 'libxslt/extensions.h',
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 ], 114 ],
111 }, 115 },
112 ], 116 ],
113 } 117 }
114 118
115 # Local Variables: 119 # Local Variables:
116 # tab-width:2 120 # tab-width:2
117 # indent-tabs-mode:nil 121 # indent-tabs-mode:nil
118 # End: 122 # End:
119 # vim: set expandtab tabstop=2 shiftwidth=2: 123 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698