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

Side by Side Diff: third_party/libxml/libxml.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/libwebp/libwebp.gyp ('k') | third_party/libxslt/libxslt.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 # Define an "os_include" variable that points at the OS-specific generated 8 # Define an "os_include" variable that points at the OS-specific generated
9 # headers. These were generated by running the configure script offline. 9 # headers. These were generated by running the configure script offline.
10 ['os_posix == 1 and OS != "mac"', { 10 ['os_posix == 1 and OS != "mac"', {
11 'os_include': 'linux' 11 'os_include': 'linux'
12 }], 12 }],
13 ['OS=="mac"', {'os_include': 'mac'}], 13 ['OS=="mac"', {'os_include': 'mac'}],
14 ['OS=="win"', {'os_include': 'win32'}], 14 ['OS=="win"', {'os_include': 'win32'}],
15 ], 15 ],
16 'use_system_libxml%': 0, 16 'use_system_libxml%': 0,
17 }, 17 },
18 'targets': [ 18 'targets': [
19 { 19 {
20 'target_name': 'libxml', 20 'target_name': 'libxml',
21 'conditions': [ 21 'conditions': [
22 ['os_posix == 1 and OS != "mac" and use_system_libxml', { 22 ['os_posix == 1 and OS != "mac" and use_system_libxml', {
23 'type': 'settings', 23 'type': 'none',
24 'direct_dependent_settings': { 24 'direct_dependent_settings': {
25 'cflags': [ 25 'cflags': [
26 '<!@(pkg-config --cflags libxml-2.0)', 26 '<!@(pkg-config --cflags libxml-2.0)',
27 ], 27 ],
28 'defines': [ 28 'defines': [
29 'USE_SYSTEM_LIBXML', 29 'USE_SYSTEM_LIBXML',
30 ], 30 ],
31 }, 31 },
32 'link_settings': { 32 'link_settings': {
33 'ldflags': [ 33 'ldflags': [
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 'product_name': 'libxml2', 191 'product_name': 'libxml2',
192 }, { # else: OS!="win" 192 }, { # else: OS!="win"
193 'product_name': 'xml2', 193 'product_name': 'xml2',
194 }], 194 }],
195 ], 195 ],
196 }], 196 }],
197 ], 197 ],
198 }, 198 },
199 ], 199 ],
200 } 200 }
OLDNEW
« no previous file with comments | « third_party/libwebp/libwebp.gyp ('k') | third_party/libxslt/libxslt.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698