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

Side by Side Diff: gyp/expat.gyp

Issue 2153953002: Fix broken Android framework build. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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/ports.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 {
11 'target_name': 'expat',
12 'type': 'none',
13 'conditions': [
14 [ 'skia_android_framework', {
15 'dependencies': [ 'android_deps.gyp:expat' ],
16 'export_dependent_settings': [ 'android_deps.gyp:expat' ],
17 },{
18 'dependencies': [ 'expat.gyp:expat_static' ],
19 'export_dependent_settings': [ 'expat.gyp:expat_static' ],
20 }]
21 ]
22 },
23 {
24 'target_name': 'expat_static',
11 'type': 'static_library', 25 'type': 'static_library',
12 'cflags': [ '-Wno-missing-field-initializers' ], 26 'cflags': [ '-Wno-missing-field-initializers' ],
13 'xcode_settings': { 'WARNING_CFLAGS': [ '-Wno-missing-field-initializers ', ], }, 27 'xcode_settings': { 'WARNING_CFLAGS': [ '-Wno-missing-field-initializers ', ], },
14 'msvs_disabled_warnings': [4244], 28 'msvs_disabled_warnings': [4244],
15 'defines': [ 29 'defines': [
16 'HAVE_EXPAT_CONFIG_H', 30 'HAVE_EXPAT_CONFIG_H',
17 'XML_STATIC', # Compile for static linkage. 31 'XML_STATIC', # Compile for static linkage.
18 ], 32 ],
19 'include_dirs': [ 33 'include_dirs': [
20 '../third_party/externals/expat', 34 '../third_party/externals/expat',
21 ], 35 ],
22 'sources': [ 36 'sources': [
23 '../third_party/externals/expat/lib/xmlparse.c', 37 '../third_party/externals/expat/lib/xmlparse.c',
24 '../third_party/externals/expat/lib/xmlrole.c', 38 '../third_party/externals/expat/lib/xmlrole.c',
25 '../third_party/externals/expat/lib/xmltok.c', 39 '../third_party/externals/expat/lib/xmltok.c',
26 ], 40 ],
27 'direct_dependent_settings': { 41 'direct_dependent_settings': {
28 'include_dirs': [ 42 'include_dirs': [
29 '../third_party/externals/expat/lib', 43 '../third_party/externals/expat/lib',
30 ], 44 ],
31 'defines': [ 45 'defines': [
32 'XML_STATIC', # Tell dependants to expect static linkage. 46 'XML_STATIC', # Tell dependants to expect static linkage.
33 ], 47 ],
34 }, 48 },
35 }] 49 }]
36 } 50 }
OLDNEW
« no previous file with comments | « no previous file | gyp/ports.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698