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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 }, | 106 }, |
107 { | 107 { |
108 'target_name': 'v8_snapshot', | 108 'target_name': 'v8_snapshot', |
109 'type': 'static_library', | 109 'type': 'static_library', |
110 'conditions': [ | 110 'conditions': [ |
111 ['want_separate_host_toolset==1', { | 111 ['want_separate_host_toolset==1', { |
112 'toolsets': ['host', 'target'], | 112 'toolsets': ['host', 'target'], |
113 'dependencies': [ | 113 'dependencies': [ |
114 'mksnapshot.<(v8_target_arch)#host', | 114 'mksnapshot.<(v8_target_arch)#host', |
115 'js2c#host', | 115 'js2c#host', |
| 116 'generate_trig_table#host', |
116 ], | 117 ], |
117 }, { | 118 }, { |
118 'toolsets': ['target'], | 119 'toolsets': ['target'], |
119 'dependencies': ['mksnapshot.<(v8_target_arch)', 'js2c'], | 120 'dependencies': [ |
| 121 'mksnapshot.<(v8_target_arch)', |
| 122 'js2c', |
| 123 'generate_trig_table', |
| 124 ], |
120 }], | 125 }], |
121 ['component=="shared_library"', { | 126 ['component=="shared_library"', { |
122 'defines': [ | 127 'defines': [ |
123 'V8_SHARED', | 128 'V8_SHARED', |
124 'BUILDING_V8_SHARED', | 129 'BUILDING_V8_SHARED', |
125 ], | 130 ], |
126 'direct_dependent_settings': { | 131 'direct_dependent_settings': { |
127 'defines': [ | 132 'defines': [ |
128 'V8_SHARED', | 133 'V8_SHARED', |
129 'USING_V8_SHARED', | 134 'USING_V8_SHARED', |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 ], | 187 ], |
183 'sources': [ | 188 'sources': [ |
184 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 189 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
185 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | 190 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
186 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', | 191 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', |
187 '../../src/snapshot-empty.cc', | 192 '../../src/snapshot-empty.cc', |
188 ], | 193 ], |
189 'conditions': [ | 194 'conditions': [ |
190 ['want_separate_host_toolset==1', { | 195 ['want_separate_host_toolset==1', { |
191 'toolsets': ['host', 'target'], | 196 'toolsets': ['host', 'target'], |
192 'dependencies': ['js2c#host'], | 197 'dependencies': ['js2c#host', 'generate_trig_table#host'], |
193 }, { | 198 }, { |
194 'toolsets': ['target'], | 199 'toolsets': ['target'], |
195 'dependencies': ['js2c'], | 200 'dependencies': ['js2c', 'generate_trig_table'], |
196 }], | 201 }], |
197 ['component=="shared_library"', { | 202 ['component=="shared_library"', { |
198 'defines': [ | 203 'defines': [ |
199 'BUILDING_V8_SHARED', | 204 'BUILDING_V8_SHARED', |
200 'V8_SHARED', | 205 'V8_SHARED', |
201 ], | 206 ], |
202 }], | 207 }], |
203 ] | 208 ] |
204 }, | 209 }, |
205 { 'target_name': 'generate_trig_table', | 210 { 'target_name': 'generate_trig_table', |
206 'type': 'none', | 211 'type': 'none', |
207 'conditions': [ | 212 'conditions': [ |
208 ['want_separate_host_toolset==1', { | 213 ['want_separate_host_toolset==1', { |
209 'toolsets': ['host', 'target'], | 214 'toolsets': ['host'], |
210 }, { | 215 }, { |
211 'toolsets': ['target'], | 216 'toolsets': ['target'], |
212 }], | 217 }], |
213 ], | 218 ], |
214 'actions': [ | 219 'actions': [ |
215 { | 220 { |
216 'action_name': 'generate', | 221 'action_name': 'generate', |
217 'inputs': [ | 222 'inputs': [ |
218 '../../tools/generate-trig-table.py', | 223 '../../tools/generate-trig-table.py', |
219 ], | 224 ], |
220 'outputs': [ | 225 'outputs': [ |
221 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', | 226 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', |
222 ], | 227 ], |
223 'action': [ | 228 'action': [ |
224 'python', | 229 'python', |
225 '../../tools/generate-trig-table.py', | 230 '../../tools/generate-trig-table.py', |
226 '<@(_outputs)', | 231 '<@(_outputs)', |
227 ], | 232 ], |
228 }, | 233 }, |
229 ] | 234 ] |
230 }, | 235 }, |
231 { | 236 { |
232 'target_name': 'v8_base.<(v8_target_arch)', | 237 'target_name': 'v8_base.<(v8_target_arch)', |
233 'type': 'static_library', | 238 'type': 'static_library', |
234 'dependencies': [ | |
235 'generate_trig_table', | |
236 ], | |
237 'variables': { | 239 'variables': { |
238 'optimize': 'max', | 240 'optimize': 'max', |
239 }, | 241 }, |
240 'include_dirs+': [ | 242 'include_dirs+': [ |
241 '../../src', | 243 '../../src', |
242 ], | 244 ], |
243 'sources': [ ### gcmole(all) ### | 245 'sources': [ ### gcmole(all) ### |
244 '../../src/accessors.cc', | 246 '../../src/accessors.cc', |
245 '../../src/accessors.h', | 247 '../../src/accessors.h', |
246 '../../src/allocation.cc', | 248 '../../src/allocation.cc', |
(...skipping 850 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1097 }], | 1099 }], |
1098 ['v8_compress_startup_data=="bz2"', { | 1100 ['v8_compress_startup_data=="bz2"', { |
1099 'libraries': [ | 1101 'libraries': [ |
1100 '-lbz2', | 1102 '-lbz2', |
1101 ] | 1103 ] |
1102 }], | 1104 }], |
1103 ], | 1105 ], |
1104 }, | 1106 }, |
1105 ], | 1107 ], |
1106 } | 1108 } |
OLD | NEW |