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

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

Issue 64093003: Use a fixed random seed per default. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Nit Created 7 years, 1 month 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
« no previous file with comments | « Makefile ('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 10 matching lines...) Expand all
21 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 21 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 22 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 27
28 { 28 {
29 'variables': { 29 'variables': {
30 'v8_code': 1, 30 'v8_code': 1,
31 'v8_random_seed%': 314159265,
31 }, 32 },
32 'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'], 33 'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'],
33 'targets': [ 34 'targets': [
34 { 35 {
35 'target_name': 'v8', 36 'target_name': 'v8',
36 'dependencies_traverse': 1, 37 'dependencies_traverse': 1,
37 'conditions': [ 38 'conditions': [
38 ['want_separate_host_toolset==1', { 39 ['want_separate_host_toolset==1', {
39 'toolsets': ['host', 'target'], 40 'toolsets': ['host', 'target'],
40 }, { 41 }, {
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot.<(v8_target_arch)<(EX ECUTABLE_SUFFIX)', 150 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot.<(v8_target_arch)<(EX ECUTABLE_SUFFIX)',
150 ], 151 ],
151 'outputs': [ 152 'outputs': [
152 '<(INTERMEDIATE_DIR)/snapshot.cc', 153 '<(INTERMEDIATE_DIR)/snapshot.cc',
153 ], 154 ],
154 'variables': { 155 'variables': {
155 'mksnapshot_flags': [ 156 'mksnapshot_flags': [
156 '--log-snapshot-positions', 157 '--log-snapshot-positions',
157 '--logfile', '<(INTERMEDIATE_DIR)/snapshot.log', 158 '--logfile', '<(INTERMEDIATE_DIR)/snapshot.log',
158 ], 159 ],
160 'conditions': [
161 ['v8_random_seed!=0', {
162 'mksnapshot_flags': ['--random-seed', '<(v8_random_seed)'],
163 }],
164 ],
159 }, 165 },
160 'action': [ 166 'action': [
161 '<@(_inputs)', 167 '<@(_inputs)',
162 '<@(mksnapshot_flags)', 168 '<@(mksnapshot_flags)',
163 '<@(_outputs)' 169 '<@(_outputs)'
164 ], 170 ],
165 }, 171 },
166 ], 172 ],
167 }, 173 },
168 { 174 {
(...skipping 886 matching lines...) Expand 10 before | Expand all | Expand 10 after
1055 }], 1061 }],
1056 ['v8_compress_startup_data=="bz2"', { 1062 ['v8_compress_startup_data=="bz2"', {
1057 'libraries': [ 1063 'libraries': [
1058 '-lbz2', 1064 '-lbz2',
1059 ] 1065 ]
1060 }], 1066 }],
1061 ], 1067 ],
1062 }, 1068 },
1063 ], 1069 ],
1064 } 1070 }
OLDNEW
« no previous file with comments | « Makefile ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698