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

Side by Side Diff: src/d8.gyp

Issue 7550030: Make GYP build usable for day-to-day work (second attempt) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 4 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 | « samples/samples.gyp ('k') | src/deoptimizer.cc » ('j') | 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 29 matching lines...) Expand all
40 '../src', 40 '../src',
41 ], 41 ],
42 'defines': [ 42 'defines': [
43 'ENABLE_DEBUGGER_SUPPORT', 43 'ENABLE_DEBUGGER_SUPPORT',
44 ], 44 ],
45 'sources': [ 45 'sources': [
46 'd8.cc', 46 'd8.cc',
47 ], 47 ],
48 'conditions': [ 48 'conditions': [
49 [ 'component!="shared_library"', { 49 [ 'component!="shared_library"', {
50 'dependencies': [ 'd8_js2c#host', ],
51 'sources': [ 'd8-debug.cc', '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', ], 50 'sources': [ 'd8-debug.cc', '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', ],
52 'conditions': [ 51 'conditions': [
52 [ 'want_separate_host_toolset==1', {
53 'dependencies': [
54 'd8_js2c#host',
55 ],
56 }, {
57 'dependencies': [
58 'd8_js2c',
59 ],
60 }],
53 [ 'console=="readline"', { 61 [ 'console=="readline"', {
54 'libraries': [ '-lreadline', ], 62 'libraries': [ '-lreadline', ],
55 'sources': [ 'd8-readline.cc' ], 63 'sources': [ 'd8-readline.cc' ],
56 }], 64 }],
57 [ '(OS=="linux" or OS=="mac" or OS=="freebsd" \ 65 [ '(OS=="linux" or OS=="mac" or OS=="freebsd" \
58 or OS=="openbsd" or OS=="solaris")', { 66 or OS=="openbsd" or OS=="solaris")', {
59 'sources': [ 'd8-posix.cc', ] 67 'sources': [ 'd8-posix.cc', ]
60 }], 68 }],
61 [ 'OS=="win"', { 69 [ 'OS=="win"', {
62 'sources': [ 'd8-windows.cc', ] 70 'sources': [ 'd8-windows.cc', ]
63 }], 71 }],
64 ], 72 ],
65 }], 73 }],
66 ], 74 ],
67 }, 75 },
68 { 76 {
69 'target_name': 'd8_js2c', 77 'target_name': 'd8_js2c',
70 'type': 'none', 78 'type': 'none',
71 'toolsets': ['host'],
72 'variables': { 79 'variables': {
73 'js_files': [ 80 'js_files': [
74 'd8.js', 81 'd8.js',
75 'macros.py', 82 'macros.py',
76 ], 83 ],
77 }, 84 },
85 'conditions': [
86 [ 'want_separate_host_toolset==1', {
87 'toolsets': ['host'],
88 }, {
89 'toolsets': ['target'],
90 }]
91 ],
78 'actions': [ 92 'actions': [
79 { 93 {
80 'action_name': 'd8_js2c', 94 'action_name': 'd8_js2c',
81 'inputs': [ 95 'inputs': [
82 '../tools/js2c.py', 96 '../tools/js2c.py',
83 '<@(js_files)', 97 '<@(js_files)',
84 ], 98 ],
85 'outputs': [ 99 'outputs': [
86 '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', 100 '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc',
87 ], 101 ],
88 'action': [ 102 'action': [
89 'python', 103 'python',
90 '../tools/js2c.py', 104 '../tools/js2c.py',
91 '<@(_outputs)', 105 '<@(_outputs)',
92 'D8', 106 'D8',
107 'off', # compress startup data
93 '<@(js_files)' 108 '<@(js_files)'
94 ], 109 ],
95 }, 110 },
96 ], 111 ],
97 } 112 }
98 ], 113 ],
99 } 114 }
OLDNEW
« no previous file with comments | « samples/samples.gyp ('k') | src/deoptimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698