| 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"', { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 ['use_system_expat == 1', { | 27 ['use_system_expat == 1', { |
| 28 'targets': [ | 28 'targets': [ |
| 29 { | 29 { |
| 30 'target_name': 'expat', | 30 'target_name': 'expat', |
| 31 'type': 'none', | 31 'type': 'none', |
| 32 'link_settings': { | 32 'link_settings': { |
| 33 'libraries': [ | 33 'libraries': [ |
| 34 '-lexpat', | 34 '-lexpat', |
| 35 ], | 35 ], |
| 36 }, | 36 }, |
| 37 'conditions': [ | |
| 38 ['OS=="android"', { | |
| 39 'direct_dependent_settings': { | |
| 40 'include_dirs': [ | |
| 41 '<(android_src)/external/expat/lib', | |
| 42 ], | |
| 43 }, | |
| 44 }], | |
| 45 ], | |
| 46 }, | 37 }, |
| 47 ], | 38 ], |
| 48 }, { # else: use_system_expat != 1 | 39 }, { # else: use_system_expat != 1 |
| 49 'targets': [ | 40 'targets': [ |
| 50 { | 41 { |
| 51 'target_name': 'expat', | 42 'target_name': 'expat', |
| 52 'type': 'static_library', | 43 'type': 'static_library', |
| 53 'sources': [ | 44 'sources': [ |
| 54 'files/lib/expat.h', | 45 'files/lib/expat.h', |
| 55 'files/lib/xmlparse.c', | 46 'files/lib/xmlparse.c', |
| (...skipping 23 matching lines...) Expand all Loading... |
| 79 'defines': [ | 70 'defines': [ |
| 80 'HAVE_EXPAT_CONFIG_H', | 71 'HAVE_EXPAT_CONFIG_H', |
| 81 ], | 72 ], |
| 82 }], | 73 }], |
| 83 ], | 74 ], |
| 84 }, | 75 }, |
| 85 ], | 76 ], |
| 86 }], | 77 }], |
| 87 ], | 78 ], |
| 88 } | 79 } |
| OLD | NEW |