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 19 matching lines...) Expand all Loading... |
30 'targets': [ | 30 'targets': [ |
31 { | 31 { |
32 'target_name': 'preparser', | 32 'target_name': 'preparser', |
33 'type': 'executable', | 33 'type': 'executable', |
34 'conditions': [ | 34 'conditions': [ |
35 # preparser can't link against a shared library, so link against | 35 # preparser can't link against a shared library, so link against |
36 # the underlying static targets. | 36 # the underlying static targets. |
37 ['v8_use_snapshot=="true"', { | 37 ['v8_use_snapshot=="true"', { |
38 'dependencies': ['../tools/gyp/v8.gyp:v8_snapshot'], | 38 'dependencies': ['../tools/gyp/v8.gyp:v8_snapshot'], |
39 }, { | 39 }, { |
40 'dependencies': ['../tools/gyp/v8.gyp:v8_nosnapshot'], | 40 'dependencies': [ |
| 41 '../tools/gyp/v8.gyp:v8_nosnapshot.<(v8_target_arch)', |
| 42 ], |
41 }], | 43 }], |
42 ], | 44 ], |
43 'include_dirs+': [ | 45 'include_dirs+': [ |
44 '../src', | 46 '../src', |
45 ], | 47 ], |
46 'sources': [ | 48 'sources': [ |
47 'preparser-process.cc', | 49 'preparser-process.cc', |
48 '../include/v8-preparser.h', | 50 '../include/v8-preparser.h', |
49 '../src/preparser-api.cc', | 51 '../src/preparser-api.cc', |
50 ], | 52 ], |
51 }, | 53 }, |
52 ], | 54 ], |
53 } | 55 } |
OLD | NEW |