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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 'd8.cc', | 50 'd8.cc', |
51 ], | 51 ], |
52 'conditions': [ | 52 'conditions': [ |
53 [ 'want_separate_host_toolset==1', { | 53 [ 'want_separate_host_toolset==1', { |
54 'toolsets': [ '<(v8_toolset_for_d8)', ], | 54 'toolsets': [ '<(v8_toolset_for_d8)', ], |
55 }], | 55 }], |
56 [ 'console=="readline"', { | 56 [ 'console=="readline"', { |
57 'libraries': [ '-lreadline', ], | 57 'libraries': [ '-lreadline', ], |
58 'sources': [ 'd8-readline.cc' ], | 58 'sources': [ 'd8-readline.cc' ], |
59 }], | 59 }], |
| 60 ['(OS=="linux" or OS=="mac" or OS=="freebsd" or OS=="netbsd" \ |
| 61 or OS=="openbsd" or OS=="solaris" or OS=="android" \ |
| 62 or OS=="qnx")', { |
| 63 'sources': [ 'd8-posix.cc', ] |
| 64 }], |
| 65 [ 'OS=="win"', { |
| 66 'sources': [ 'd8-windows.cc', ] |
| 67 }], |
60 [ 'component!="shared_library"', { | 68 [ 'component!="shared_library"', { |
61 'sources': [ 'd8-debug.cc', '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', ], | 69 'sources': [ 'd8-debug.cc', '<(SHARED_INTERMEDIATE_DIR)/d8-js.cc', ], |
62 'conditions': [ | 70 'conditions': [ |
63 [ 'want_separate_host_toolset==1', { | 71 [ 'want_separate_host_toolset==1', { |
64 'dependencies': [ | 72 'dependencies': [ |
65 'd8_js2c#host', | 73 'd8_js2c#host', |
66 ], | 74 ], |
67 }, { | 75 }, { |
68 'dependencies': [ | 76 'dependencies': [ |
69 'd8_js2c', | 77 'd8_js2c', |
70 ], | 78 ], |
71 }], | 79 }], |
72 ['(OS=="linux" or OS=="mac" or OS=="freebsd" or OS=="netbsd" \ | |
73 or OS=="openbsd" or OS=="solaris" or OS=="android" \ | |
74 or OS=="qnx")', { | |
75 'sources': [ 'd8-posix.cc', ] | |
76 }], | |
77 [ 'OS=="win"', { | |
78 'sources': [ 'd8-windows.cc', ] | |
79 }], | |
80 ], | 80 ], |
81 }], | 81 }], |
82 ['v8_enable_vtunejit==1', { | 82 ['v8_enable_vtunejit==1', { |
83 'dependencies': [ | 83 'dependencies': [ |
84 '../src/third_party/vtune/v8vtune.gyp:v8_vtune', | 84 '../src/third_party/vtune/v8vtune.gyp:v8_vtune', |
85 ], | 85 ], |
86 }], | 86 }], |
87 ['v8_enable_i18n_support==1', { | 87 ['v8_enable_i18n_support==1', { |
88 'dependencies': [ | 88 'dependencies': [ |
89 '<(icu_gyp_path):icui18n', | 89 '<(icu_gyp_path):icui18n', |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 '<@(_outputs)', | 129 '<@(_outputs)', |
130 'D8', | 130 'D8', |
131 'off', # compress startup data | 131 'off', # compress startup data |
132 '<@(js_files)' | 132 '<@(js_files)' |
133 ], | 133 ], |
134 }, | 134 }, |
135 ], | 135 ], |
136 } | 136 } |
137 ], | 137 ], |
138 } | 138 } |
OLD | NEW |