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

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

Issue 7889051: Remove 'settings' type from gyp files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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 | « third_party/libxml/libxml.gyp ('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) 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_posix == 1 and OS != "mac"', { 8 ['os_posix == 1 and OS != "mac"', {
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 # We used to have a separate flag for using the system 14 # We used to have a separate flag for using the system
15 # libxslt, but it seems mixing Chrome libxml and system 15 # libxslt, but it seems mixing Chrome libxml and system
16 # libxslt causes crashes that nobody has had time to diagnose. 16 # libxslt causes crashes that nobody has had time to diagnose.
17 # So just put them both behind the same flag for now. 17 # So just put them both behind the same flag for now.
18 'use_system_libxml%': 0, 18 'use_system_libxml%': 0,
19 }, 19 },
20 'targets': [ 20 'targets': [
21 { 21 {
22 'target_name': 'libxslt', 22 'target_name': 'libxslt',
23 'conditions': [ 23 'conditions': [
24 ['os_posix == 1 and OS != "mac" and use_system_libxml', { 24 ['os_posix == 1 and OS != "mac" and use_system_libxml', {
25 'type': 'settings', 25 'type': 'none',
26 'direct_dependent_settings': { 26 'direct_dependent_settings': {
27 'cflags': [ 27 'cflags': [
28 '<!@(pkg-config --cflags libxslt)', 28 '<!@(pkg-config --cflags libxslt)',
29 ], 29 ],
30 }, 30 },
31 'link_settings': { 31 'link_settings': {
32 'ldflags': [ 32 'ldflags': [
33 '<!@(pkg-config --libs-only-L --libs-only-other libxslt)', 33 '<!@(pkg-config --libs-only-L --libs-only-other libxslt)',
34 ], 34 ],
35 'libraries': [ 35 'libraries': [
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 ], 107 ],
108 }, 108 },
109 'conditions': [ 109 'conditions': [
110 ['OS!="win"', {'product_name': 'xslt'}], 110 ['OS!="win"', {'product_name': 'xslt'}],
111 ], 111 ],
112 }], 112 }],
113 ], 113 ],
114 }, 114 },
115 ], 115 ],
116 } 116 }
OLDNEW
« no previous file with comments | « third_party/libxml/libxml.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698