Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 'includes': [ | 6 'includes': [ |
| 7 '../../build/common.gypi', | 7 '../../build/common.gypi', |
| 8 ], | 8 ], |
| 9 'target_defaults': { | 9 'target_defaults': { |
| 10 'defines': [ | 10 'defines': [ |
| 11 '_LIB', | 11 '_LIB', |
| 12 'COMPILED_FROM_DSP', | |
| 13 'XML_STATIC', # Compile for static linkage. | 12 'XML_STATIC', # Compile for static linkage. |
| 14 ], | 13 ], |
| 15 'include_dirs': [ | 14 'include_dirs': [ |
| 16 'files/lib', | 15 'files/lib', |
| 17 ], | 16 ], |
| 18 'dependencies': [ | 17 'dependencies': [ |
| 19 ] | 18 ] |
| 20 }, | 19 }, |
| 21 'targets': [ | 20 'targets': [ |
| 22 { | 21 { |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 33 # direct_dependent_settings rule over manually adding the include | 32 # direct_dependent_settings rule over manually adding the include |
| 34 # path. This is because you'll want any translation units that | 33 # path. This is because you'll want any translation units that |
| 35 # #include these files to pick up the #defines as well. | 34 # #include these files to pick up the #defines as well. |
| 36 'direct_dependent_settings': { | 35 'direct_dependent_settings': { |
| 37 'include_dirs': [ | 36 'include_dirs': [ |
| 38 'files/lib' | 37 'files/lib' |
| 39 ], | 38 ], |
| 40 'defines': [ | 39 'defines': [ |
| 41 'XML_STATIC', # Tell dependants to expect static linkage. | 40 'XML_STATIC', # Tell dependants to expect static linkage. |
| 42 ], | 41 ], |
| 43 } | 42 }, |
| 43 'conditions': [ | |
| 44 ['OS=="win"', { | |
| 45 'defines' : [ | |
|
ncarter (slow)
2009/09/18 14:19:08
no space before the colon.
| |
| 46 'COMPILED_FROM_DSP', | |
| 47 ], | |
| 48 }], | |
| 49 ['OS=="linux"', { | |
| 50 'defines': [ | |
| 51 'HAVE_EXPAT_CONFIG_H', | |
| 52 ], | |
| 53 }], | |
| 54 ], | |
| 44 }, | 55 }, |
| 45 ], | 56 ], |
| 46 } | 57 } |
| OLD | NEW |