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

Side by Side Diff: gyp/expat.gyp

Issue 2142893006: Dust-off SkXMLParser (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: XML_STATIC for MSVC voodoo Created 4 years, 5 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 | gyp/xml.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 2016 Google Inc. 1 # Copyright 2016 Google Inc.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # Build expat from source. 6 # Build expat from source.
7 7
8 { 8 {
9 'targets': [{ 9 'targets': [{
10 'target_name': 'expat', 10 'target_name': 'expat',
11 'type': 'static_library', 11 'type': 'static_library',
12 'cflags': [ '-Wno-missing-field-initializers' ], 12 'cflags': [ '-Wno-missing-field-initializers' ],
13 'xcode_settings': { 'WARNING_CFLAGS': [ '-Wno-missing-field-initializers ', ], }, 13 'xcode_settings': { 'WARNING_CFLAGS': [ '-Wno-missing-field-initializers ', ], },
14 'msvs_disabled_warnings': [4244], 14 'msvs_disabled_warnings': [4244],
15 'defines': [ 'HAVE_EXPAT_CONFIG_H' ], 15 'defines': [
16 'HAVE_EXPAT_CONFIG_H',
17 'XML_STATIC', # Compile for static linkage.
18 ],
16 'include_dirs': [ 19 'include_dirs': [
17 '../third_party/externals/expat', 20 '../third_party/externals/expat',
18 ], 21 ],
19 'sources': [ 22 'sources': [
20 '../third_party/externals/expat/lib/xmlparse.c', 23 '../third_party/externals/expat/lib/xmlparse.c',
21 '../third_party/externals/expat/lib/xmlrole.c', 24 '../third_party/externals/expat/lib/xmlrole.c',
22 '../third_party/externals/expat/lib/xmltok.c', 25 '../third_party/externals/expat/lib/xmltok.c',
23 ], 26 ],
24 'direct_dependent_settings': { 27 'direct_dependent_settings': {
25 'include_dirs': [ '../third_party/externals/expat/lib' ], 28 'include_dirs': [
29 '../third_party/externals/expat/lib',
30 ],
31 'defines': [
32 'XML_STATIC', # Tell dependants to expect static linkage.
33 ],
26 }, 34 },
27 }] 35 }]
28 } 36 }
OLDNEW
« no previous file with comments | « no previous file | gyp/xml.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698