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

Side by Side Diff: src/d8.gyp

Issue 7383006: Make GYP build usable for day-to-day work (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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
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")', {
67 'cflags!': [ '-pedantic' ],
59 'sources': [ 'd8-posix.cc', ] 68 'sources': [ 'd8-posix.cc', ]
60 }], 69 }],
61 [ 'OS=="win"', { 70 [ 'OS=="win"', {
62 'sources': [ 'd8-windows.cc', ] 71 'sources': [ 'd8-windows.cc', ]
63 }], 72 }],
64 ], 73 ],
65 }], 74 }],
66 ], 75 ],
67 }, 76 },
68 { 77 {
69 'target_name': 'd8_js2c', 78 'target_name': 'd8_js2c',
70 'type': 'none', 79 'type': 'none',
71 'toolsets': ['host'],
72 'variables': { 80 'variables': {
73 'js_files': [ 81 'js_files': [
74 'd8.js', 82 'd8.js',
75 'macros.py', 83 'macros.py',
76 ], 84 ],
77 }, 85 },
86 'conditions': [
87 [ 'want_separate_host_toolset==1', {
88 'toolsets': ['host'],
89 }, {
90 'toolsets': ['target'],
91 }]
92 ],
78 'actions': [ 93 'actions': [
79 { 94 {
80 'action_name': 'd8_js2c', 95 'action_name': 'd8_js2c',
81 'inputs': [ 96 'inputs': [
82 '../tools/js2c.py', 97 '../tools/js2c.py',
83 '<@(js_files)', 98 '<@(js_files)',
84 ], 99 ],
85 'outputs': [ 100 'outputs': [
86 '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', 101 '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc',
87 ], 102 ],
88 'action': [ 103 'action': [
89 'python', 104 'python',
90 '../tools/js2c.py', 105 '../tools/js2c.py',
91 '<@(_outputs)', 106 '<@(_outputs)',
92 'D8', 107 'D8',
93 '<@(js_files)' 108 '<@(js_files)'
94 ], 109 ],
95 }, 110 },
96 ], 111 ],
97 } 112 }
98 ], 113 ],
99 } 114 }
OLDNEW
« preparser/preparser.gyp ('K') | « samples/samples.gyp ('k') | test/cctest/cctest.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698