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

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

Issue 353143002: Build "snapshot_blob.bin" only for the host when using separate toolsets. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 months 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 | « no previous file | 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 # dependency however the Android toolchain requires libv8_base.a 48 # dependency however the Android toolchain requires libv8_base.a
49 # to appear before libv8_snapshot.a so it's listed explicitly. 49 # to appear before libv8_snapshot.a so it's listed explicitly.
50 'dependencies': ['v8_base', 'v8_snapshot'], 50 'dependencies': ['v8_base', 'v8_snapshot'],
51 }], 51 }],
52 ['v8_use_snapshot!="true" and v8_use_external_startup_data==0', { 52 ['v8_use_snapshot!="true" and v8_use_external_startup_data==0', {
53 # The dependency on v8_base should come from a transitive 53 # The dependency on v8_base should come from a transitive
54 # dependency however the Android toolchain requires libv8_base.a 54 # dependency however the Android toolchain requires libv8_base.a
55 # to appear before libv8_snapshot.a so it's listed explicitly. 55 # to appear before libv8_snapshot.a so it's listed explicitly.
56 'dependencies': ['v8_base', 'v8_nosnapshot'], 56 'dependencies': ['v8_base', 'v8_nosnapshot'],
57 }], 57 }],
58 ['v8_use_external_startup_data==1', { 58 ['v8_use_external_startup_data==1 and want_separate_host_toolset==0', {
59 'dependencies': ['v8_base', 'v8_external_snapshot'], 59 'dependencies': ['v8_base', 'v8_external_snapshot'],
60 }], 60 }],
61 ['v8_use_external_startup_data==1 and want_separate_host_toolset==1', {
62 'dependencies': ['v8_base', 'v8_external_snapshot#host'],
63 }],
61 ['component=="shared_library"', { 64 ['component=="shared_library"', {
62 'type': '<(component)', 65 'type': '<(component)',
63 'sources': [ 66 'sources': [
64 # Note: on non-Windows we still build this file so that gyp 67 # Note: on non-Windows we still build this file so that gyp
65 # has some sources to link into the component. 68 # has some sources to link into the component.
66 '../../src/v8dll-main.cc', 69 '../../src/v8dll-main.cc',
67 ], 70 ],
68 'include_dirs': [ 71 'include_dirs': [
69 '../..', 72 '../..',
70 ], 73 ],
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 'V8_SHARED', 215 'V8_SHARED',
213 ], 216 ],
214 }], 217 }],
215 ] 218 ]
216 }, 219 },
217 { 220 {
218 'target_name': 'v8_external_snapshot', 221 'target_name': 'v8_external_snapshot',
219 'type': 'static_library', 222 'type': 'static_library',
220 'conditions': [ 223 'conditions': [
221 ['want_separate_host_toolset==1', { 224 ['want_separate_host_toolset==1', {
222 'toolsets': ['host', 'target'], 225 'toolsets': ['host'],
223 'dependencies': [ 226 'dependencies': [
224 'mksnapshot#host', 227 'mksnapshot#host',
225 'js2c#host', 228 'js2c#host',
226 'generate_trig_table#host', 229 'generate_trig_table#host',
227 'natives_blob#host', 230 'natives_blob#host',
228 ]}, { 231 ]}, {
229 'toolsets': ['target'], 232 'toolsets': ['target'],
230 'dependencies': [ 233 'dependencies': [
231 'mksnapshot', 234 'mksnapshot',
232 'js2c', 235 'js2c',
(...skipping 1141 matching lines...) Expand 10 before | Expand all | Expand 10 after
1374 }], 1377 }],
1375 ['v8_compress_startup_data=="bz2"', { 1378 ['v8_compress_startup_data=="bz2"', {
1376 'libraries': [ 1379 'libraries': [
1377 '-lbz2', 1380 '-lbz2',
1378 ] 1381 ]
1379 }], 1382 }],
1380 ], 1383 ],
1381 }, 1384 },
1382 ], 1385 ],
1383 } 1386 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698