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

Side by Side Diff: src/d8.gyp

Issue 7351017: Introduces a light version of D8 that links against shared library. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Added changes to gyp build files. Created 9 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 | « src/d8.cc ('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 2010 the V8 project authors. All rights reserved. 1 # Copyright 2010 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 13 matching lines...) Expand all
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 'targets': [ 29 'targets': [
30 { 30 {
31 'target_name': 'd8', 31 'target_name': 'd8',
32 'type': 'executable', 32 'type': 'executable',
33 'dependencies': [ 33 'dependencies': [
34 'd8_js2c#host',
35 '../tools/gyp/v8.gyp:v8', 34 '../tools/gyp/v8.gyp:v8',
36 ], 35 ],
37 'include_dirs+': [ 36 'include_dirs+': [
38 '../src', 37 '../src',
39 ], 38 ],
40 'defines': [ 39 'defines': [
41 'ENABLE_DEBUGGER_SUPPORT', 40 'ENABLE_DEBUGGER_SUPPORT',
42 ], 41 ],
43 'sources': [ 42 'sources': [
44 'd8.cc', 43 'd8.cc',
45 'd8-debug.cc',
46 '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc',
47 ], 44 ],
48 'conditions': [ 45 'conditions': [
49 [ 'OS=="linux" or OS=="mac" or OS=="freebsd" or OS=="openbsd" or OS=="so laris"', { 46 [ 'component!="shared_library"', {
50 'sources': [ 'd8-posix.cc', ] 47 'dependencies': [ 'd8_js2c#host', ],
51 }], 48 'sources': [ 'd8-debug.cc', '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', ],
52 [ 'OS=="win"', { 49 'conditions': [
53 'sources': [ 'd8-windows.cc', ] 50 [ 'console=="readline"', {
51 'libraries': [ '-lreadline', ],
52 'sources': [ 'd8-readline.cc' ],
53 }],
54 [ '(OS=="linux" or OS=="mac" or OS=="freebsd" \
55 or OS=="openbsd" or OS=="solaris")', {
56 'sources': [ 'd8-posix.cc', ]
57 }],
58 [ 'OS=="win"', {
59 'sources': [ 'd8-windows.cc', ]
60 }],
61 ],
54 }], 62 }],
55 ], 63 ],
56 }, 64 },
57 { 65 {
58 'target_name': 'd8_js2c', 66 'target_name': 'd8_js2c',
59 'type': 'none', 67 'type': 'none',
60 'toolsets': ['host'], 68 'toolsets': ['host'],
61 'variables': { 69 'variables': {
62 'js_files': [ 70 'js_files': [
63 'd8.js', 71 'd8.js',
(...skipping 15 matching lines...) Expand all
79 '../tools/js2c.py', 87 '../tools/js2c.py',
80 '<@(_outputs)', 88 '<@(_outputs)',
81 'D8', 89 'D8',
82 '<@(js_files)' 90 '<@(js_files)'
83 ], 91 ],
84 }, 92 },
85 ], 93 ],
86 } 94 }
87 ], 95 ],
88 } 96 }
OLDNEW
« no previous file with comments | « src/d8.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698