| 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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 ], | 279 ], |
| 280 }, | 280 }, |
| 281 }, | 281 }, |
| 282 { | 282 { |
| 283 'target_name': 'v8_snapshot', | 283 'target_name': 'v8_snapshot', |
| 284 'type': '<(library)', | 284 'type': '<(library)', |
| 285 'toolsets': ['host', 'target'], | 285 'toolsets': ['host', 'target'], |
| 286 'conditions': [ | 286 'conditions': [ |
| 287 ['component=="shared_library"', { | 287 ['component=="shared_library"', { |
| 288 'conditions': [ | 288 'conditions': [ |
| 289 # The ARM assembler assumes the host is 32 bits, so force buildi
ng |
| 290 # 32-bit host tools. |
| 291 ['v8_target_arch=="arm" and host_arch=="x64" and _toolset=="host
"', { |
| 292 'cflags': ['-m32'], |
| 293 'ldflags': ['-m32'], |
| 294 }], |
| 289 ['OS=="win"', { | 295 ['OS=="win"', { |
| 290 'defines': [ | 296 'defines': [ |
| 291 'BUILDING_V8_SHARED', | 297 'BUILDING_V8_SHARED', |
| 292 ], | 298 ], |
| 293 'direct_dependent_settings': { | 299 'direct_dependent_settings': { |
| 294 'defines': [ | 300 'defines': [ |
| 295 'USING_V8_SHARED', | 301 'USING_V8_SHARED', |
| 296 ], | 302 ], |
| 297 }, | 303 }, |
| 298 }, { | 304 }, { |
| (...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 964 'v8' | 970 'v8' |
| 965 ], | 971 ], |
| 966 'sources': [ | 972 'sources': [ |
| 967 '../../samples/shell.cc', | 973 '../../samples/shell.cc', |
| 968 ], | 974 ], |
| 969 'conditions': [ | 975 'conditions': [ |
| 970 ['OS=="win"', { | 976 ['OS=="win"', { |
| 971 # This could be gotten by not setting chromium_code, if that's OK. | 977 # This could be gotten by not setting chromium_code, if that's OK. |
| 972 'defines': ['_CRT_SECURE_NO_WARNINGS'], | 978 'defines': ['_CRT_SECURE_NO_WARNINGS'], |
| 973 }], | 979 }], |
| 980 # The ARM assembler assumes the host is 32 bits, so force building |
| 981 # 32-bit host tools. |
| 982 ['v8_target_arch=="arm" and host_arch=="x64" and _toolset=="host"',
{ |
| 983 'cflags': ['-m32'], |
| 984 'ldflags': ['-m32'], |
| 985 }], |
| 974 ['v8_compress_startup_data=="bz2"', { | 986 ['v8_compress_startup_data=="bz2"', { |
| 975 'libraries': [ | 987 'libraries': [ |
| 976 '-lbz2', | 988 '-lbz2', |
| 977 ]}], | 989 ]}], |
| 978 ], | 990 ], |
| 979 }, | 991 }, |
| 980 ], | 992 ], |
| 981 }, { # use_system_v8 != 0 | 993 }, { # use_system_v8 != 0 |
| 982 'targets': [ | 994 'targets': [ |
| 983 { | 995 { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 995 'type': 'none', | 1007 'type': 'none', |
| 996 'toolsets': ['host'], | 1008 'toolsets': ['host'], |
| 997 'dependencies': [ | 1009 'dependencies': [ |
| 998 'v8' | 1010 'v8' |
| 999 ], | 1011 ], |
| 1000 }, | 1012 }, |
| 1001 ], | 1013 ], |
| 1002 }], | 1014 }], |
| 1003 ], | 1015 ], |
| 1004 } | 1016 } |
| OLD | NEW |