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

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

Issue 479005: Make sure the 'use_system_*' variables are actually visible in the relevant gyp files. (Closed)
Patch Set: Created 11 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
« no previous file with comments | « third_party/libpng/libpng.gyp ('k') | third_party/zlib/zlib.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) 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"', {'os_include': 'linux'}], 8 ['OS=="linux" or OS=="freebsd"', {'os_include': 'linux'}],
9 ['OS=="mac"', {'os_include': 'mac'}], 9 ['OS=="mac"', {'os_include': 'mac'}],
10 ['OS=="win"', {'os_include': 'win32'}], 10 ['OS=="win"', {'os_include': 'win32'}],
11 [ 'OS=="linux"', {
12 # Link to system .so since we already use it due to GTK.
13 'use_system_libxslt%': 1,
14 }, { # OS!="linux"
15 'use_system_libxslt%': 0,
16 }],
11 ], 17 ],
12 'use_system_libxslt%': 0,
13 }, 18 },
14 'targets': [ 19 'targets': [
15 { 20 {
16 'target_name': 'libxslt', 21 'target_name': 'libxslt',
17 'conditions': [ 22 'conditions': [
18 ['OS=="linux" and use_system_libxslt', { 23 ['OS=="linux" and use_system_libxslt', {
19 'type': 'settings', 24 'type': 'settings',
20 'direct_dependent_settings': { 25 'direct_dependent_settings': {
21 'cflags': [ 26 'cflags': [
22 '<!@(pkg-config --cflags libxslt)', 27 '<!@(pkg-config --cflags libxslt)',
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 ], 111 ],
107 }, 112 },
108 ], 113 ],
109 } 114 }
110 115
111 # Local Variables: 116 # Local Variables:
112 # tab-width:2 117 # tab-width:2
113 # indent-tabs-mode:nil 118 # indent-tabs-mode:nil
114 # End: 119 # End:
115 # vim: set expandtab tabstop=2 shiftwidth=2: 120 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « third_party/libpng/libpng.gyp ('k') | third_party/zlib/zlib.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698