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', | |
53 ], | 52 ], |
54 'conditions': [ | 53 'conditions': [ |
55 [ 'want_separate_host_toolset==1', { | 54 [ 'want_separate_host_toolset==1', { |
56 'toolsets': [ 'target', ], | 55 'toolsets': [ 'target', ], |
57 'dependencies': [ | |
58 'd8_js2c#host', | |
59 ], | |
60 }, { | |
61 'dependencies': [ | |
62 'd8_js2c', | |
63 ], | |
64 }], | 56 }], |
65 ['(OS=="linux" or OS=="mac" or OS=="freebsd" or OS=="netbsd" \ | 57 ['(OS=="linux" or OS=="mac" or OS=="freebsd" or OS=="netbsd" \ |
66 or OS=="openbsd" or OS=="solaris" or OS=="android" \ | 58 or OS=="openbsd" or OS=="solaris" or OS=="android" \ |
67 or OS=="qnx" or OS=="aix")', { | 59 or OS=="qnx" or OS=="aix")', { |
68 'sources': [ 'd8-posix.cc', ] | 60 'sources': [ 'd8-posix.cc', ] |
69 }], | 61 }], |
70 [ 'OS=="win"', { | 62 [ 'OS=="win"', { |
71 'sources': [ 'd8-windows.cc', ] | 63 'sources': [ 'd8-windows.cc', ] |
72 }], | 64 }], |
73 [ 'component!="shared_library"', { | 65 [ 'component!="shared_library"', { |
| 66 'sources': [ |
| 67 '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', |
| 68 ], |
74 'conditions': [ | 69 'conditions': [ |
| 70 [ 'want_separate_host_toolset==1', { |
| 71 'dependencies': [ |
| 72 'd8_js2c#host', |
| 73 ], |
| 74 }, { |
| 75 'dependencies': [ |
| 76 'd8_js2c', |
| 77 ], |
| 78 }], |
75 [ 'v8_postmortem_support=="true"', { | 79 [ 'v8_postmortem_support=="true"', { |
76 'xcode_settings': { | 80 'xcode_settings': { |
77 'OTHER_LDFLAGS': [ | 81 'OTHER_LDFLAGS': [ |
78 '-Wl,-force_load,<(PRODUCT_DIR)/libv8_base.a' | 82 '-Wl,-force_load,<(PRODUCT_DIR)/libv8_base.a' |
79 ], | 83 ], |
80 }, | 84 }, |
81 }], | 85 }], |
82 ], | 86 ], |
83 }], | 87 }], |
84 ['v8_enable_vtunejit==1', { | 88 ['v8_enable_vtunejit==1', { |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 '../gypfiles/isolate.gypi', | 153 '../gypfiles/isolate.gypi', |
150 ], | 154 ], |
151 'sources': [ | 155 'sources': [ |
152 'd8.isolate', | 156 'd8.isolate', |
153 ], | 157 ], |
154 }, | 158 }, |
155 ], | 159 ], |
156 }], | 160 }], |
157 ], | 161 ], |
158 } | 162 } |
OLD | NEW |