OLD | NEW |
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 '../tools/gyp/v8.gyp:v8', | 42 '../tools/gyp/v8.gyp:v8', |
43 ], | 43 ], |
44 # Generated source files need this explicitly: | 44 # Generated source files need this explicitly: |
45 'include_dirs+': [ | 45 'include_dirs+': [ |
46 '../src', | 46 '../src', |
47 ], | 47 ], |
48 'sources': [ | 48 'sources': [ |
49 'd8.cc', | 49 'd8.cc', |
50 ], | 50 ], |
51 'conditions': [ | 51 'conditions': [ |
| 52 [ 'want_separate_host_toolset==1', { |
| 53 'toolsets': ['host', 'target'], |
| 54 }, { |
| 55 'toolsets': ['target'], |
| 56 }], |
52 [ 'console=="readline"', { | 57 [ 'console=="readline"', { |
53 'libraries': [ '-lreadline', ], | 58 'libraries': [ '-lreadline', ], |
54 'sources': [ 'd8-readline.cc' ], | 59 'sources': [ 'd8-readline.cc' ], |
55 }], | 60 }], |
56 [ 'component!="shared_library"', { | 61 [ 'component!="shared_library"', { |
57 'sources': [ 'd8-debug.cc', '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', ], | 62 'sources': [ 'd8-debug.cc', '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', ], |
58 'conditions': [ | 63 'conditions': [ |
59 [ 'want_separate_host_toolset==1', { | 64 [ 'want_separate_host_toolset==1', { |
60 'dependencies': [ | 65 'dependencies': [ |
61 'd8_js2c#host', | 66 'd8_js2c#host', |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 '<@(_outputs)', | 130 '<@(_outputs)', |
126 'D8', | 131 'D8', |
127 'off', # compress startup data | 132 'off', # compress startup data |
128 '<@(js_files)' | 133 '<@(js_files)' |
129 ], | 134 ], |
130 }, | 135 }, |
131 ], | 136 ], |
132 } | 137 } |
133 ], | 138 ], |
134 } | 139 } |
OLD | NEW |