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 30 matching lines...) Expand all Loading... |
41 'dependencies': [ | 41 'dependencies': [ |
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 'target_conditions': [ |
| 52 [ '_toolset == "host"', { |
| 53 'product_dir': '<(PRODUCT_DIR)/host', |
| 54 }], |
| 55 ], |
51 'conditions': [ | 56 'conditions': [ |
| 57 [ 'want_separate_host_toolset==1', { |
| 58 'toolsets': ['host', 'target'], |
| 59 }, { |
| 60 'toolsets': ['target'], |
| 61 }], |
52 [ 'console=="readline"', { | 62 [ 'console=="readline"', { |
53 'libraries': [ '-lreadline', ], | 63 'libraries': [ '-lreadline', ], |
54 'sources': [ 'd8-readline.cc' ], | 64 'sources': [ 'd8-readline.cc' ], |
55 }], | 65 }], |
56 [ 'component!="shared_library"', { | 66 [ 'component!="shared_library"', { |
57 'sources': [ 'd8-debug.cc', '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', ], | 67 'sources': [ 'd8-debug.cc', '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', ], |
58 'conditions': [ | 68 'conditions': [ |
59 [ 'want_separate_host_toolset==1', { | 69 [ 'want_separate_host_toolset==1', { |
60 'dependencies': [ | 70 'dependencies': [ |
61 'd8_js2c#host', | 71 'd8_js2c#host', |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 '<@(_outputs)', | 135 '<@(_outputs)', |
126 'D8', | 136 'D8', |
127 'off', # compress startup data | 137 'off', # compress startup data |
128 '<@(js_files)' | 138 '<@(js_files)' |
129 ], | 139 ], |
130 }, | 140 }, |
131 ], | 141 ], |
132 } | 142 } |
133 ], | 143 ], |
134 } | 144 } |
OLD | NEW |