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