OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'target_defaults': { | 6 'target_defaults': { |
7 'defines': [ | 7 'defines': [ |
8 '_LIB', | 8 '_LIB', |
9 'XML_STATIC', # Compile for static linkage. | 9 'XML_STATIC', # Compile for static linkage. |
10 ], | 10 ], |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 'defines': [ | 52 'defines': [ |
53 'XML_STATIC', # Tell dependants to expect static linkage. | 53 'XML_STATIC', # Tell dependants to expect static linkage. |
54 ], | 54 ], |
55 }, | 55 }, |
56 'conditions': [ | 56 'conditions': [ |
57 ['OS=="win"', { | 57 ['OS=="win"', { |
58 'defines': [ | 58 'defines': [ |
59 'COMPILED_FROM_DSP', | 59 'COMPILED_FROM_DSP', |
60 ], | 60 ], |
61 }], | 61 }], |
62 ['OS=="mac" or OS=="android" or OS=="freebsd" or OS=="openbsd"', { | 62 ['OS=="mac" or OS=="android" or os_bsd==1', { |
63 'defines': [ | 63 'defines': [ |
64 'HAVE_EXPAT_CONFIG_H', | 64 'HAVE_EXPAT_CONFIG_H', |
65 ], | 65 ], |
66 }], | 66 }], |
67 ], | 67 ], |
68 }, | 68 }, |
69 ], | 69 ], |
70 }], | 70 }], |
71 ], | 71 ], |
72 } | 72 } |
OLD | NEW |