OLD | NEW |
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 { | 10 { |
11 'target_name': 'expat', | 11 'target_name': 'expat', |
12 'type': 'none', | 12 'type': 'none', |
13 'conditions': [ | 13 'conditions': [ |
14 [ 'skia_android_framework', { | 14 [ 'skia_android_framework', { |
15 'dependencies': [ 'android_deps.gyp:expat' ], | 15 'dependencies': [ 'android_deps.gyp:expat_android' ], |
16 'export_dependent_settings': [ 'android_deps.gyp:expat' ], | 16 'export_dependent_settings': [ 'android_deps.gyp:expat_android' ], |
17 },{ | 17 },{ |
18 'dependencies': [ 'expat.gyp:expat_static' ], | 18 'dependencies': [ 'expat.gyp:expat_static' ], |
19 'export_dependent_settings': [ 'expat.gyp:expat_static' ], | 19 'export_dependent_settings': [ 'expat.gyp:expat_static' ], |
20 }] | 20 }] |
21 ] | 21 ] |
22 }, | 22 }, |
23 { | 23 { |
24 'target_name': 'expat_static', | 24 'target_name': 'expat_static', |
25 'type': 'static_library', | 25 'type': 'static_library', |
26 'cflags': [ '-Wno-missing-field-initializers' ], | 26 'cflags': [ '-Wno-missing-field-initializers' ], |
(...skipping 14 matching lines...) Expand all Loading... |
41 'direct_dependent_settings': { | 41 'direct_dependent_settings': { |
42 'include_dirs': [ | 42 'include_dirs': [ |
43 '../third_party/externals/expat/lib', | 43 '../third_party/externals/expat/lib', |
44 ], | 44 ], |
45 'defines': [ | 45 'defines': [ |
46 'XML_STATIC', # Tell dependants to expect static linkage. | 46 'XML_STATIC', # Tell dependants to expect static linkage. |
47 ], | 47 ], |
48 }, | 48 }, |
49 }] | 49 }] |
50 } | 50 } |
OLD | NEW |