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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 ], | 133 ], |
134 'dependencies': [ | 134 'dependencies': [ |
135 'v8_base.<(v8_target_arch)', | 135 'v8_base.<(v8_target_arch)', |
136 ], | 136 ], |
137 'include_dirs+': [ | 137 'include_dirs+': [ |
138 '../../src', | 138 '../../src', |
139 ], | 139 ], |
140 'sources': [ | 140 'sources': [ |
141 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 141 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
142 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | 142 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
143 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', | |
144 '<(INTERMEDIATE_DIR)/snapshot.cc', | 143 '<(INTERMEDIATE_DIR)/snapshot.cc', |
145 ], | 144 ], |
146 'actions': [ | 145 'actions': [ |
147 { | 146 { |
148 'action_name': 'run_mksnapshot', | 147 'action_name': 'run_mksnapshot', |
149 'inputs': [ | 148 'inputs': [ |
150 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot.<(v8_target_arch)<(EX
ECUTABLE_SUFFIX)', | 149 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot.<(v8_target_arch)<(EX
ECUTABLE_SUFFIX)', |
151 ], | 150 ], |
152 'outputs': [ | 151 'outputs': [ |
153 '<(INTERMEDIATE_DIR)/snapshot.cc', | 152 '<(INTERMEDIATE_DIR)/snapshot.cc', |
(...skipping 22 matching lines...) Expand all Loading... |
176 'type': 'static_library', | 175 'type': 'static_library', |
177 'dependencies': [ | 176 'dependencies': [ |
178 'v8_base.<(v8_target_arch)', | 177 'v8_base.<(v8_target_arch)', |
179 ], | 178 ], |
180 'include_dirs+': [ | 179 'include_dirs+': [ |
181 '../../src', | 180 '../../src', |
182 ], | 181 ], |
183 'sources': [ | 182 'sources': [ |
184 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 183 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
185 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | 184 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
186 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', | |
187 '../../src/snapshot-empty.cc', | 185 '../../src/snapshot-empty.cc', |
188 ], | 186 ], |
189 'conditions': [ | 187 'conditions': [ |
190 ['want_separate_host_toolset==1', { | 188 ['want_separate_host_toolset==1', { |
191 'toolsets': ['host', 'target'], | 189 'toolsets': ['host', 'target'], |
192 'dependencies': ['js2c#host'], | 190 'dependencies': ['js2c#host'], |
193 }, { | 191 }, { |
194 'toolsets': ['target'], | 192 'toolsets': ['target'], |
195 'dependencies': ['js2c'], | 193 'dependencies': ['js2c'], |
196 }], | 194 }], |
197 ['component=="shared_library"', { | 195 ['component=="shared_library"', { |
198 'defines': [ | 196 'defines': [ |
199 'BUILDING_V8_SHARED', | 197 'BUILDING_V8_SHARED', |
200 'V8_SHARED', | 198 'V8_SHARED', |
201 ], | 199 ], |
202 }], | 200 }], |
203 ] | 201 ] |
204 }, | 202 }, |
205 { 'target_name': 'generate_trig_table', | |
206 'type': 'none', | |
207 'conditions': [ | |
208 ['want_separate_host_toolset==1', { | |
209 'toolsets': ['host', 'target'], | |
210 }, { | |
211 'toolsets': ['target'], | |
212 }], | |
213 ], | |
214 'actions': [ | |
215 { | |
216 'action_name': 'generate', | |
217 'inputs': [ | |
218 '../../tools/generate-trig-table.py', | |
219 ], | |
220 'outputs': [ | |
221 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', | |
222 ], | |
223 'action': [ | |
224 'python', | |
225 '../../tools/generate-trig-table.py', | |
226 '<@(_outputs)', | |
227 ], | |
228 }, | |
229 ] | |
230 }, | |
231 { | 203 { |
232 'target_name': 'v8_base.<(v8_target_arch)', | 204 'target_name': 'v8_base.<(v8_target_arch)', |
233 'type': 'static_library', | 205 'type': 'static_library', |
234 'dependencies': [ | |
235 'generate_trig_table', | |
236 ], | |
237 'variables': { | 206 'variables': { |
238 'optimize': 'max', | 207 'optimize': 'max', |
239 }, | 208 }, |
240 'include_dirs+': [ | 209 'include_dirs+': [ |
241 '../../src', | 210 '../../src', |
242 ], | 211 ], |
243 'sources': [ ### gcmole(all) ### | 212 'sources': [ ### gcmole(all) ### |
244 '../../src/accessors.cc', | 213 '../../src/accessors.cc', |
245 '../../src/accessors.h', | 214 '../../src/accessors.h', |
246 '../../src/allocation.cc', | 215 '../../src/allocation.cc', |
(...skipping 850 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1097 }], | 1066 }], |
1098 ['v8_compress_startup_data=="bz2"', { | 1067 ['v8_compress_startup_data=="bz2"', { |
1099 'libraries': [ | 1068 'libraries': [ |
1100 '-lbz2', | 1069 '-lbz2', |
1101 ] | 1070 ] |
1102 }], | 1071 }], |
1103 ], | 1072 ], |
1104 }, | 1073 }, |
1105 ], | 1074 ], |
1106 } | 1075 } |
OLD | NEW |