OLD | NEW |
1 # Copyright 2008, Google Inc. | 1 # Copyright 2008, Google Inc. |
2 # All rights reserved. | 2 # All rights reserved. |
3 # | 3 # |
4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
6 # met: | 6 # met: |
7 # | 7 # |
8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 'xmlschemastypes.c', | 108 'xmlschemastypes.c', |
109 'xmlstring.c', | 109 'xmlstring.c', |
110 'xmlunicode.c', | 110 'xmlunicode.c', |
111 'xmlwriter.c', | 111 'xmlwriter.c', |
112 'xpath.c', | 112 'xpath.c', |
113 'xpointer.c', | 113 'xpointer.c', |
114 ] | 114 ] |
115 | 115 |
116 env.ChromeStaticLibrary('libxml', input_files) | 116 env.ChromeStaticLibrary('libxml', input_files) |
117 | 117 |
| 118 env.ChromeMSVSProject('$LIBXML_DIR/build/libxml.vcproj', |
| 119 dependencies = [ |
| 120 '$LIBXML_DIR/build/libxml_config.vcproj', |
| 121 ], |
| 122 guid='{F9810DE8-CBC3-4605-A7B1-ECA2D5292FD7}') |
| 123 |
| 124 env.ChromeMSVSProject('$LIBXML_DIR/build/libxml_config.vcproj', |
| 125 guid='{31D88CBF-DC28-47A8-8838-BF81D528EE74}') |
| 126 |
118 | 127 |
119 if env.Bit('windows'): | 128 if env.Bit('windows'): |
120 config_files = [ | 129 config_files = [ |
121 # The configure.js script must be first in this list; the | 130 # The configure.js script must be first in this list; the |
122 # env.Command() call below executes the first list element. | 131 # env.Command() call below executes the first list element. |
123 | 132 |
124 'win32/configure.js', | 133 'win32/configure.js', |
125 'win32/Makefile.msvc', | 134 'win32/Makefile.msvc', |
126 | 135 |
127 'config.h.in', | 136 'config.h.in', |
(...skipping 20 matching lines...) Expand all Loading... |
148 CONFIG_OPTIONS='compiler=msvc iconv=no icu=yes') | 157 CONFIG_OPTIONS='compiler=msvc iconv=no icu=yes') |
149 elif env.Bit('linux'): | 158 elif env.Bit('linux'): |
150 config_files = [ | 159 config_files = [ |
151 'config.h', | 160 'config.h', |
152 'include/libxml/xmlversion.h', | 161 'include/libxml/xmlversion.h', |
153 'xml2-config', | 162 'xml2-config', |
154 ] | 163 ] |
155 for cf in config_files: | 164 for cf in config_files: |
156 result = env.Command('DerivedSources/' + cf, 'linux/' + cf, | 165 result = env.Command('DerivedSources/' + cf, 'linux/' + cf, |
157 Copy('$TARGET', '$SOURCE')) | 166 Copy('$TARGET', '$SOURCE')) |
OLD | NEW |