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

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

Issue 1573323002: [Chromecast] Don't use system libexpat. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 4 years, 11 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) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 # On Linux, we implicitly already depend on expat via fontconfig; 8 # On Linux, we implicitly already depend on expat via fontconfig;
9 # let's not pull it in twice. 9 # let's not pull it in twice.
10 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', { 10 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android" and \
wzhong 2016/01/11 21:53:34 Is '\' commonly used on gyp file?
bcf 2016/01/11 23:02:07 I just let the line be longer that 80c because tha
11 chromecast!=1', {
wzhong 2016/01/11 21:53:34 Spaces around !=.
bcf 2016/01/11 23:02:07 I removed the spaces because that seems to be more
11 'use_system_expat%': 1, 12 'use_system_expat%': 1,
12 }, { 13 }, {
13 'use_system_expat%': 0, 14 'use_system_expat%': 0,
14 }], 15 }],
15 ], 16 ],
16 }, 17 },
17 'target_defaults': { 18 'target_defaults': {
18 'defines': [ 19 'defines': [
19 '_LIB', 20 '_LIB',
20 'XML_STATIC', # Compile for static linkage. 21 'XML_STATIC', # Compile for static linkage.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 'defines': [ 60 'defines': [
60 'XML_STATIC', # Tell dependants to expect static linkage. 61 'XML_STATIC', # Tell dependants to expect static linkage.
61 ], 62 ],
62 }, 63 },
63 'conditions': [ 64 'conditions': [
64 ['OS=="win"', { 65 ['OS=="win"', {
65 'defines': [ 66 'defines': [
66 'COMPILED_FROM_DSP', 67 'COMPILED_FROM_DSP',
67 ], 68 ],
68 }], 69 }],
69 ['OS=="mac" or OS=="ios" or OS=="android" or os_bsd==1', { 70 ['OS=="mac" or OS=="ios" or OS=="android" or os_bsd==1 or chromecast ==1', {
wzhong 2016/01/11 21:53:34 Ditto.
70 'defines': [ 71 'defines': [
71 'HAVE_EXPAT_CONFIG_H', 72 'HAVE_EXPAT_CONFIG_H',
72 ], 73 ],
73 }], 74 }],
74 ], 75 ],
75 }, 76 },
76 ], 77 ],
77 }], 78 }],
78 ], 79 ],
79 } 80 }
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