OLD | NEW |
1 # Copyright 2009 the V8 project authors. All rights reserved. | 1 # Copyright 2009 the V8 project authors. All rights reserved. |
2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
4 # met: | 4 # met: |
5 # | 5 # |
6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 'type': 'none', | 189 'type': 'none', |
190 }], | 190 }], |
191 ], | 191 ], |
192 'direct_dependent_settings': { | 192 'direct_dependent_settings': { |
193 'include_dirs': [ | 193 'include_dirs': [ |
194 '../../include', | 194 '../../include', |
195 ], | 195 ], |
196 }, | 196 }, |
197 }, | 197 }, |
198 { | 198 { |
| 199 'target_name': 'v8_preparser', |
| 200 'include_dirs': [ |
| 201 '../../include', |
| 202 '../../src', |
| 203 ], |
| 204 'sources': [ |
| 205 '../../src/allocation.cc', |
| 206 '../../src/hashmap.cc', |
| 207 '../../src/preparse-data.cc', |
| 208 '../../src/preparser.cc', |
| 209 '../../src/preparser-api.cc', |
| 210 '../../src/scanner-base.cc', |
| 211 '../../src/token.cc', |
| 212 '../../src/unicode.cc', |
| 213 ], |
| 214 'conditions': [ |
| 215 ['OS=="win" and component=="shared_library"', { |
| 216 'sources': [ '../../src/v8preparserdll-main.cc' ], |
| 217 'defines': [ 'BUILDING_V8_SHARED' ], |
| 218 'direct_dependent_settings': { |
| 219 'defines': [ 'USING_V8_SHARED' ] |
| 220 }, |
| 221 'type': '<(component)', |
| 222 } , { |
| 223 'type': 'none' |
| 224 }], |
| 225 ['OS!="win"', { |
| 226 'type': '<(library)' |
| 227 }], |
| 228 ] |
| 229 }, |
| 230 { |
199 'target_name': 'v8_snapshot', | 231 'target_name': 'v8_snapshot', |
200 'type': '<(library)', | 232 'type': '<(library)', |
201 'conditions': [ | 233 'conditions': [ |
202 ['OS=="win" and component=="shared_library"', { | 234 ['OS=="win" and component=="shared_library"', { |
203 'defines': [ | 235 'defines': [ |
204 'BUILDING_V8_SHARED', | 236 'BUILDING_V8_SHARED', |
205 ], | 237 ], |
206 }], | 238 }], |
207 ], | 239 ], |
208 'dependencies': [ | 240 'dependencies': [ |
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
776 ], | 808 ], |
777 'conditions': [ | 809 'conditions': [ |
778 ['OS=="win"', { | 810 ['OS=="win"', { |
779 # This could be gotten by not setting chromium_code, if that's OK. | 811 # This could be gotten by not setting chromium_code, if that's OK. |
780 'defines': ['_CRT_SECURE_NO_WARNINGS'], | 812 'defines': ['_CRT_SECURE_NO_WARNINGS'], |
781 }], | 813 }], |
782 ], | 814 ], |
783 }, | 815 }, |
784 ], | 816 ], |
785 } | 817 } |
OLD | NEW |