OLD | NEW |
1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 'v8.gyp:v8_libplatform', | 42 'v8.gyp:v8_libplatform', |
43 ], | 43 ], |
44 # Generated source files need this explicitly: | 44 # Generated source files need this explicitly: |
45 'include_dirs+': [ | 45 'include_dirs+': [ |
46 '..', | 46 '..', |
47 '<(DEPTH)', | 47 '<(DEPTH)', |
48 ], | 48 ], |
49 'sources': [ | 49 'sources': [ |
50 'd8.h', | 50 'd8.h', |
51 'd8.cc', | 51 'd8.cc', |
| 52 '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', |
52 ], | 53 ], |
53 'conditions': [ | 54 'conditions': [ |
54 [ 'want_separate_host_toolset==1', { | 55 [ 'want_separate_host_toolset==1', { |
55 'toolsets': [ 'target', ], | 56 'toolsets': [ 'target', ], |
| 57 'dependencies': [ |
| 58 'd8_js2c#host', |
| 59 ], |
| 60 }, { |
| 61 'dependencies': [ |
| 62 'd8_js2c', |
| 63 ], |
56 }], | 64 }], |
57 ['(OS=="linux" or OS=="mac" or OS=="freebsd" or OS=="netbsd" \ | 65 ['(OS=="linux" or OS=="mac" or OS=="freebsd" or OS=="netbsd" \ |
58 or OS=="openbsd" or OS=="solaris" or OS=="android" \ | 66 or OS=="openbsd" or OS=="solaris" or OS=="android" \ |
59 or OS=="qnx" or OS=="aix")', { | 67 or OS=="qnx" or OS=="aix")', { |
60 'sources': [ 'd8-posix.cc', ] | 68 'sources': [ 'd8-posix.cc', ] |
61 }], | 69 }], |
62 [ 'OS=="win"', { | 70 [ 'OS=="win"', { |
63 'sources': [ 'd8-windows.cc', ] | 71 'sources': [ 'd8-windows.cc', ] |
64 }], | 72 }], |
65 [ 'component!="shared_library"', { | 73 [ 'component!="shared_library"', { |
66 'sources': [ | |
67 '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', | |
68 ], | |
69 'conditions': [ | 74 'conditions': [ |
70 [ 'want_separate_host_toolset==1', { | |
71 'dependencies': [ | |
72 'd8_js2c#host', | |
73 ], | |
74 }, { | |
75 'dependencies': [ | |
76 'd8_js2c', | |
77 ], | |
78 }], | |
79 [ 'v8_postmortem_support=="true"', { | 75 [ 'v8_postmortem_support=="true"', { |
80 'xcode_settings': { | 76 'xcode_settings': { |
81 'OTHER_LDFLAGS': [ | 77 'OTHER_LDFLAGS': [ |
82 '-Wl,-force_load,<(PRODUCT_DIR)/libv8_base.a' | 78 '-Wl,-force_load,<(PRODUCT_DIR)/libv8_base.a' |
83 ], | 79 ], |
84 }, | 80 }, |
85 }], | 81 }], |
86 ], | 82 ], |
87 }], | 83 }], |
88 ['v8_enable_vtunejit==1', { | 84 ['v8_enable_vtunejit==1', { |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 '../gypfiles/isolate.gypi', | 149 '../gypfiles/isolate.gypi', |
154 ], | 150 ], |
155 'sources': [ | 151 'sources': [ |
156 'd8.isolate', | 152 'd8.isolate', |
157 ], | 153 ], |
158 }, | 154 }, |
159 ], | 155 ], |
160 }], | 156 }], |
161 ], | 157 ], |
162 } | 158 } |
OLD | NEW |