Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2011 the V8 project authors. All rights reserved. | 1 # Copyright 2011 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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 180 'targets': [ | 180 'targets': [ |
| 181 { | 181 { |
| 182 'target_name': 'v8', | 182 'target_name': 'v8', |
| 183 'conditions': [ | 183 'conditions': [ |
| 184 ['v8_use_snapshot=="true"', { | 184 ['v8_use_snapshot=="true"', { |
| 185 'dependencies': ['v8_snapshot'], | 185 'dependencies': ['v8_snapshot'], |
| 186 }, | 186 }, |
| 187 { | 187 { |
| 188 'dependencies': ['v8_nosnapshot'], | 188 'dependencies': ['v8_nosnapshot'], |
| 189 }], | 189 }], |
| 190 ['OS=="win" and component=="shared_library"', { | 190 ['component=="shared_library"', { |
| 191 'type': '<(component)', | 191 'type': '<(component)', |
| 192 'sources': [ | 192 'sources': [ |
|
Søren Thygesen Gjesse
2011/04/29 06:21:42
So the GYP issue is that you cannot just exclude t
Evan Martin
2011/04/29 21:17:09
OK.
| |
| 193 '../../src/v8dll-main.cc', | 193 '../../src/v8dll-main.cc', |
| 194 ], | 194 ], |
| 195 'defines': [ | 195 'conditions': [ |
| 196 'BUILDING_V8_SHARED' | 196 ['OS=="win"', { |
| 197 'defines': [ | |
| 198 'BUILDING_V8_SHARED', | |
| 199 ], | |
| 200 'direct_dependent_settings': { | |
| 201 'defines': [ | |
| 202 'USING_V8_SHARED', | |
| 203 ], | |
| 204 }, | |
| 205 }, { | |
| 206 'defines': [ | |
| 207 'V8_SHARED', | |
| 208 ], | |
| 209 'direct_dependent_settings': { | |
| 210 'defines': [ | |
| 211 'V8_SHARED', | |
| 212 ], | |
| 213 }, | |
| 214 }], | |
| 197 ], | 215 ], |
| 198 'direct_dependent_settings': { | |
| 199 'defines': [ | |
| 200 'USING_V8_SHARED', | |
| 201 ], | |
| 202 }, | |
| 203 }, | 216 }, |
| 204 { | 217 { |
| 205 'type': 'none', | 218 'type': 'none', |
| 206 }], | 219 }], |
| 207 ], | 220 ], |
| 208 'direct_dependent_settings': { | 221 'direct_dependent_settings': { |
| 209 'include_dirs': [ | 222 'include_dirs': [ |
| 210 '../../include', | 223 '../../include', |
| 211 ], | 224 ], |
| 212 }, | 225 }, |
| 213 }, | 226 }, |
| 214 { | 227 { |
| 215 'target_name': 'v8_snapshot', | 228 'target_name': 'v8_snapshot', |
| 216 'type': '<(library)', | 229 'type': '<(library)', |
| 217 'conditions': [ | 230 'conditions': [ |
| 218 ['OS=="win" and component=="shared_library"', { | 231 ['component=="shared_library"', { |
| 219 'defines': [ | 232 'conditions': [ |
| 220 'BUILDING_V8_SHARED', | 233 ['OS=="win"', { |
| 234 'defines': [ | |
| 235 'BUILDING_V8_SHARED', | |
| 236 ], | |
| 237 'direct_dependent_settings': { | |
| 238 'defines': [ | |
| 239 'USING_V8_SHARED', | |
| 240 ], | |
| 241 }, | |
| 242 }, { | |
| 243 'defines': [ | |
| 244 'V8_SHARED', | |
| 245 ], | |
| 246 'direct_dependent_settings': { | |
| 247 'defines': [ | |
| 248 'V8_SHARED', | |
| 249 ], | |
| 250 }, | |
| 251 }], | |
| 221 ], | 252 ], |
| 222 }], | 253 }], |
| 223 ], | 254 ], |
| 224 'dependencies': [ | 255 'dependencies': [ |
| 225 'mksnapshot#host', | 256 'mksnapshot#host', |
| 226 'js2c#host', | 257 'js2c#host', |
| 227 'v8_base', | 258 'v8_base', |
| 228 ], | 259 ], |
| 229 'include_dirs+': [ | 260 'include_dirs+': [ |
| 230 '../../src', | 261 '../../src', |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 263 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | 294 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
| 264 '../../src/snapshot-empty.cc', | 295 '../../src/snapshot-empty.cc', |
| 265 ], | 296 ], |
| 266 'conditions': [ | 297 'conditions': [ |
| 267 # The ARM assembler assumes the host is 32 bits, so force building | 298 # The ARM assembler assumes the host is 32 bits, so force building |
| 268 # 32-bit host tools. | 299 # 32-bit host tools. |
| 269 ['v8_target_arch=="arm" and host_arch=="x64" and _toolset=="host"', { | 300 ['v8_target_arch=="arm" and host_arch=="x64" and _toolset=="host"', { |
| 270 'cflags': ['-m32'], | 301 'cflags': ['-m32'], |
| 271 'ldflags': ['-m32'], | 302 'ldflags': ['-m32'], |
| 272 }], | 303 }], |
| 273 ['OS=="win" and component=="shared_library"', { | 304 ['component=="shared_library"', { |
| 274 'defines': [ | 305 'defines': [ |
| 275 'BUILDING_V8_SHARED', | 306 'BUILDING_V8_SHARED', |
| 307 'V8_SHARED', | |
| 276 ], | 308 ], |
| 277 }], | 309 }], |
| 278 ] | 310 ] |
| 279 }, | 311 }, |
| 280 { | 312 { |
| 281 'target_name': 'v8_base', | 313 'target_name': 'v8_base', |
| 282 'type': '<(library)', | 314 'type': '<(library)', |
| 283 'toolsets': ['host', 'target'], | 315 'toolsets': ['host', 'target'], |
| 284 'include_dirs+': [ | 316 'include_dirs+': [ |
| 285 '../../src', | 317 '../../src', |
| (...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 688 ], | 720 ], |
| 689 ['OS=="win"', { | 721 ['OS=="win"', { |
| 690 'sources': [ | 722 'sources': [ |
| 691 '../../src/platform-win32.cc', | 723 '../../src/platform-win32.cc', |
| 692 ], | 724 ], |
| 693 'msvs_disabled_warnings': [4351, 4355, 4800], | 725 'msvs_disabled_warnings': [4351, 4355, 4800], |
| 694 'link_settings': { | 726 'link_settings': { |
| 695 'libraries': [ '-lwinmm.lib' ], | 727 'libraries': [ '-lwinmm.lib' ], |
| 696 }, | 728 }, |
| 697 }], | 729 }], |
| 698 ['OS=="win" and component=="shared_library"', { | 730 ['component=="shared_library"', { |
| 699 'defines': [ | 731 'defines': [ |
| 700 'BUILDING_V8_SHARED' | 732 'BUILDING_V8_SHARED', |
| 733 'V8_SHARED', | |
| 701 ], | 734 ], |
| 702 }], | 735 }], |
| 703 ], | 736 ], |
| 704 }, | 737 }, |
| 705 { | 738 { |
| 706 'target_name': 'js2c', | 739 'target_name': 'js2c', |
| 707 'type': 'none', | 740 'type': 'none', |
| 708 'toolsets': ['host'], | 741 'toolsets': ['host'], |
| 709 'variables': { | 742 'variables': { |
| 710 'library_files': [ | 743 'library_files': [ |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 820 'target_name': 'v8_shell', | 853 'target_name': 'v8_shell', |
| 821 'type': 'none', | 854 'type': 'none', |
| 822 'dependencies': [ | 855 'dependencies': [ |
| 823 'v8' | 856 'v8' |
| 824 ], | 857 ], |
| 825 }, | 858 }, |
| 826 ], | 859 ], |
| 827 }], | 860 }], |
| 828 ], | 861 ], |
| 829 } | 862 } |
| OLD | NEW |