Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(277)

Side by Side Diff: tools/gyp/v8.gyp

Issue 78873006: Embed trigonometric lookup table. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: tiny fixes Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« src/trig-table.h ('K') | « tools/generate-trig-table.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 ], 125 ],
126 'direct_dependent_settings': { 126 'direct_dependent_settings': {
127 'defines': [ 127 'defines': [
128 'V8_SHARED', 128 'V8_SHARED',
129 'USING_V8_SHARED', 129 'USING_V8_SHARED',
130 ], 130 ],
131 }, 131 },
132 }], 132 }],
133 ], 133 ],
134 'dependencies': [ 134 'dependencies': [
135 'generate_trig_table',
135 'v8_base.<(v8_target_arch)', 136 'v8_base.<(v8_target_arch)',
136 ], 137 ],
137 'include_dirs+': [ 138 'include_dirs+': [
138 '../../src', 139 '../../src',
139 ], 140 ],
140 'sources': [ 141 'sources': [
141 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', 142 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
142 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', 143 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
144 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc',
143 '<(INTERMEDIATE_DIR)/snapshot.cc', 145 '<(INTERMEDIATE_DIR)/snapshot.cc',
144 ], 146 ],
145 'actions': [ 147 'actions': [
146 { 148 {
147 'action_name': 'run_mksnapshot', 149 'action_name': 'run_mksnapshot',
148 'inputs': [ 150 'inputs': [
149 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot.<(v8_target_arch)<(EX ECUTABLE_SUFFIX)', 151 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot.<(v8_target_arch)<(EX ECUTABLE_SUFFIX)',
150 ], 152 ],
151 'outputs': [ 153 'outputs': [
152 '<(INTERMEDIATE_DIR)/snapshot.cc', 154 '<(INTERMEDIATE_DIR)/snapshot.cc',
(...skipping 14 matching lines...) Expand all
167 '<@(mksnapshot_flags)', 169 '<@(mksnapshot_flags)',
168 '<@(_outputs)' 170 '<@(_outputs)'
169 ], 171 ],
170 }, 172 },
171 ], 173 ],
172 }, 174 },
173 { 175 {
174 'target_name': 'v8_nosnapshot.<(v8_target_arch)', 176 'target_name': 'v8_nosnapshot.<(v8_target_arch)',
175 'type': 'static_library', 177 'type': 'static_library',
176 'dependencies': [ 178 'dependencies': [
179 'generate_trig_table',
177 'v8_base.<(v8_target_arch)', 180 'v8_base.<(v8_target_arch)',
178 ], 181 ],
179 'include_dirs+': [ 182 'include_dirs+': [
180 '../../src', 183 '../../src',
181 ], 184 ],
182 'sources': [ 185 'sources': [
183 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', 186 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
184 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', 187 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
188 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc',
185 '../../src/snapshot-empty.cc', 189 '../../src/snapshot-empty.cc',
186 ], 190 ],
187 'conditions': [ 191 'conditions': [
188 ['want_separate_host_toolset==1', { 192 ['want_separate_host_toolset==1', {
189 'toolsets': ['host', 'target'], 193 'toolsets': ['host', 'target'],
190 'dependencies': ['js2c#host'], 194 'dependencies': ['js2c#host'],
191 }, { 195 }, {
192 'toolsets': ['target'], 196 'toolsets': ['target'],
193 'dependencies': ['js2c'], 197 'dependencies': ['js2c'],
194 }], 198 }],
195 ['component=="shared_library"', { 199 ['component=="shared_library"', {
196 'defines': [ 200 'defines': [
197 'BUILDING_V8_SHARED', 201 'BUILDING_V8_SHARED',
198 'V8_SHARED', 202 'V8_SHARED',
199 ], 203 ],
200 }], 204 }],
201 ] 205 ]
202 }, 206 },
207 { 'target_name': 'generate_trig_table',
208 'type': 'none',
209 'actions': [
210 {
211 'action_name': 'generate',
212 'inputs': [
213 '../../tools/generate-trig-table.py',
214 ],
215 'outputs': [
216 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc',
217 ],
218 'action': [
219 'python',
220 '../../tools/generate-trig-table.py',
221 '<@(_outputs)',
222 ],
223 },
224 ]
225 },
203 { 226 {
204 'target_name': 'v8_base.<(v8_target_arch)', 227 'target_name': 'v8_base.<(v8_target_arch)',
205 'type': 'static_library', 228 'type': 'static_library',
206 'variables': { 229 'variables': {
207 'optimize': 'max', 230 'optimize': 'max',
208 }, 231 },
209 'include_dirs+': [ 232 'include_dirs+': [
210 '../../src', 233 '../../src',
211 ], 234 ],
212 'sources': [ ### gcmole(all) ### 235 'sources': [ ### gcmole(all) ###
(...skipping 845 matching lines...) Expand 10 before | Expand all | Expand 10 after
1058 }], 1081 }],
1059 ['v8_compress_startup_data=="bz2"', { 1082 ['v8_compress_startup_data=="bz2"', {
1060 'libraries': [ 1083 'libraries': [
1061 '-lbz2', 1084 '-lbz2',
1062 ] 1085 ]
1063 }], 1086 }],
1064 ], 1087 ],
1065 }, 1088 },
1066 ], 1089 ],
1067 } 1090 }
OLDNEW
« src/trig-table.h ('K') | « tools/generate-trig-table.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698