OLD | NEW |
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 }], | 54 }], |
55 ], | 55 ], |
56 }, | 56 }, |
57 { | 57 { |
58 'target_name': 'd8_js2c', | 58 'target_name': 'd8_js2c', |
59 'type': 'none', | 59 'type': 'none', |
60 'toolsets': ['host'], | 60 'toolsets': ['host'], |
61 'variables': { | 61 'variables': { |
62 'js_files': [ | 62 'js_files': [ |
63 'd8.js', | 63 'd8.js', |
| 64 'macros.py', |
64 ], | 65 ], |
65 }, | 66 }, |
66 'actions': [ | 67 'actions': [ |
67 { | 68 { |
68 'action_name': 'd8_js2c', | 69 'action_name': 'd8_js2c', |
69 'inputs': [ | 70 'inputs': [ |
70 '../tools/js2c.py', | 71 '../tools/js2c.py', |
71 '<@(js_files)', | 72 '<@(js_files)', |
72 ], | 73 ], |
73 'outputs': [ | 74 'outputs': [ |
74 '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', | 75 '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', |
75 '<(SHARED_INTERMEDIATE_DIR)/d8-js-empty.cc', | |
76 ], | 76 ], |
77 'action': [ | 77 'action': [ |
78 'python', | 78 'python', |
79 '../tools/js2c.py', | 79 '../tools/js2c.py', |
80 '<@(_outputs)', | 80 '<@(_outputs)', |
81 'D8', | 81 'D8', |
82 '<@(js_files)' | 82 '<@(js_files)' |
83 ], | 83 ], |
84 }, | 84 }, |
85 ], | 85 ], |
86 } | 86 } |
87 ], | 87 ], |
88 } | 88 } |
OLD | NEW |