OLD | NEW |
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 chromecast
!=1', { |
11 'use_system_expat%': 1, | 11 'use_system_expat%': 1, |
12 }, { | 12 }, { |
13 'use_system_expat%': 0, | 13 'use_system_expat%': 0, |
14 }], | 14 }], |
15 ], | 15 ], |
16 }, | 16 }, |
17 'target_defaults': { | 17 'target_defaults': { |
18 'defines': [ | 18 'defines': [ |
19 '_LIB', | 19 '_LIB', |
20 'XML_STATIC', # Compile for static linkage. | 20 'XML_STATIC', # Compile for static linkage. |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 'defines': [ | 59 'defines': [ |
60 'XML_STATIC', # Tell dependants to expect static linkage. | 60 'XML_STATIC', # Tell dependants to expect static linkage. |
61 ], | 61 ], |
62 }, | 62 }, |
63 'conditions': [ | 63 'conditions': [ |
64 ['OS=="win"', { | 64 ['OS=="win"', { |
65 'defines': [ | 65 'defines': [ |
66 'COMPILED_FROM_DSP', | 66 'COMPILED_FROM_DSP', |
67 ], | 67 ], |
68 }], | 68 }], |
69 ['OS=="mac" or OS=="ios" or OS=="android" or os_bsd==1', { | 69 ['OS=="mac" or OS=="ios" or OS=="android" or os_bsd==1 or chromecast
==1', { |
70 'defines': [ | 70 'defines': [ |
71 'HAVE_EXPAT_CONFIG_H', | 71 'HAVE_EXPAT_CONFIG_H', |
72 ], | 72 ], |
73 }], | 73 }], |
74 ], | 74 ], |
75 }, | 75 }, |
76 ], | 76 ], |
77 }], | 77 }], |
78 ], | 78 ], |
79 } | 79 } |
OLD | NEW |