| OLD | NEW |
| 1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
| 3 # BSD-style license that can be found in the LICENSE file. | 3 # BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'builtin_in_cc_file': 'builtin_in.cc', | 7 'builtin_in_cc_file': 'builtin_in.cc', |
| 8 'builtin_cc_file': '<(SHARED_INTERMEDIATE_DIR)/builtin_gen.cc', | 8 'builtin_cc_file': '<(SHARED_INTERMEDIATE_DIR)/builtin_gen.cc', |
| 9 'snapshot_in_cc_file': 'snapshot_in.cc', | 9 'snapshot_in_cc_file': 'snapshot_in.cc', |
| 10 'snapshot_bin_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.bin', | 10 'snapshot_bin_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_gen.bin', |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 'type': 'executable', | 128 'type': 'executable', |
| 129 'dependencies': [ | 129 'dependencies': [ |
| 130 'libdart', | 130 'libdart', |
| 131 'libdart_builtin', | 131 'libdart_builtin', |
| 132 ], | 132 ], |
| 133 'include_dirs': [ | 133 'include_dirs': [ |
| 134 '..', | 134 '..', |
| 135 ], | 135 ], |
| 136 'sources': [ | 136 'sources': [ |
| 137 'main.cc', | 137 'main.cc', |
| 138 'process_script.cc', | |
| 139 'process_script.h', | |
| 140 'snapshot_empty.cc', | 138 'snapshot_empty.cc', |
| 141 ], | 139 ], |
| 142 'conditions': [ | 140 'conditions': [ |
| 143 ['OS=="win"', { | 141 ['OS=="win"', { |
| 144 'link_settings': { | 142 'link_settings': { |
| 145 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], | 143 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], |
| 146 }, | 144 }, |
| 147 }]], | 145 }]], |
| 148 }, | 146 }, |
| 149 { | 147 { |
| 150 # Completely statically linked dart binary. | 148 # Completely statically linked dart binary. |
| 151 'target_name': 'dart_no_snapshot_bin', | 149 'target_name': 'dart_no_snapshot_bin', |
| 152 'type': 'executable', | 150 'type': 'executable', |
| 153 'dependencies': [ | 151 'dependencies': [ |
| 154 'libdart_lib', | 152 'libdart_lib', |
| 155 'libdart_vm', | 153 'libdart_vm', |
| 156 'libjscre', | 154 'libjscre', |
| 157 'libdart_api', | 155 'libdart_api', |
| 158 'libdart_builtin', | 156 'libdart_builtin', |
| 159 ], | 157 ], |
| 160 'include_dirs': [ | 158 'include_dirs': [ |
| 161 '..', | 159 '..', |
| 162 ], | 160 ], |
| 163 'sources': [ | 161 'sources': [ |
| 164 'main.cc', | 162 'main.cc', |
| 165 'process_script.cc', | |
| 166 'process_script.h', | |
| 167 'snapshot_empty.cc', | 163 'snapshot_empty.cc', |
| 168 ], | 164 ], |
| 169 'conditions': [ | 165 'conditions': [ |
| 170 ['OS=="win"', { | 166 ['OS=="win"', { |
| 171 'link_settings': { | 167 'link_settings': { |
| 172 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], | 168 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], |
| 173 }, | 169 }, |
| 174 }]], | 170 }]], |
| 175 }, | 171 }, |
| 176 { | 172 { |
| 177 # Completely statically linked binary for generating snapshots. | 173 # Completely statically linked binary for generating snapshots. |
| 178 'target_name': 'gen_snapshot_bin', | 174 'target_name': 'gen_snapshot_bin', |
| 179 'type': 'executable', | 175 'type': 'executable', |
| 180 'dependencies': [ | 176 'dependencies': [ |
| 181 'libdart_lib', | 177 'libdart_lib', |
| 182 'libdart_vm', | 178 'libdart_vm', |
| 183 'libjscre', | 179 'libjscre', |
| 184 'libdart_api', | 180 'libdart_api', |
| 185 'libdart_builtin', | 181 'libdart_builtin', |
| 186 ], | 182 ], |
| 187 'include_dirs': [ | 183 'include_dirs': [ |
| 188 '..', | 184 '..', |
| 189 ], | 185 ], |
| 190 'sources': [ | 186 'sources': [ |
| 191 'gen_snapshot.cc', | 187 'gen_snapshot.cc', |
| 192 'process_script.cc', | |
| 193 'process_script.h', | |
| 194 ], | 188 ], |
| 195 'conditions': [ | 189 'conditions': [ |
| 196 ['OS=="win"', { | 190 ['OS=="win"', { |
| 197 'link_settings': { | 191 'link_settings': { |
| 198 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], | 192 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], |
| 199 }, | 193 }, |
| 200 }]], | 194 }]], |
| 201 }, | 195 }, |
| 202 { | 196 { |
| 203 # Generate snapshot file. | 197 # Generate snapshot file. |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 'dependencies': [ | 236 'dependencies': [ |
| 243 'libdart', | 237 'libdart', |
| 244 'libdart_builtin', | 238 'libdart_builtin', |
| 245 'generate_snapshot_file', | 239 'generate_snapshot_file', |
| 246 ], | 240 ], |
| 247 'include_dirs': [ | 241 'include_dirs': [ |
| 248 '..', | 242 '..', |
| 249 ], | 243 ], |
| 250 'sources': [ | 244 'sources': [ |
| 251 'main.cc', | 245 'main.cc', |
| 252 'process_script.cc', | |
| 253 'process_script.h', | |
| 254 '<(snapshot_cc_file)', | 246 '<(snapshot_cc_file)', |
| 255 ], | 247 ], |
| 256 'conditions': [ | 248 'conditions': [ |
| 257 ['OS=="win"', { | 249 ['OS=="win"', { |
| 258 'link_settings': { | 250 'link_settings': { |
| 259 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], | 251 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], |
| 260 }, | 252 }, |
| 261 }]], | 253 }]], |
| 262 }, | 254 }, |
| 263 { | 255 { |
| 264 # Completely statically linked dart binary with a snapshot of the core | 256 # Completely statically linked dart binary with a snapshot of the core |
| 265 # and builtin libraries linked in. | 257 # and builtin libraries linked in. |
| 266 'target_name': 'dart_bin', | 258 'target_name': 'dart_bin', |
| 267 'type': 'executable', | 259 'type': 'executable', |
| 268 'dependencies': [ | 260 'dependencies': [ |
| 269 'libdart_lib', | 261 'libdart_lib', |
| 270 'libdart_vm', | 262 'libdart_vm', |
| 271 'libjscre', | 263 'libjscre', |
| 272 'libdart_api', | 264 'libdart_api', |
| 273 'libdart_builtin', | 265 'libdart_builtin', |
| 274 'generate_snapshot_file', | 266 'generate_snapshot_file', |
| 275 ], | 267 ], |
| 276 'include_dirs': [ | 268 'include_dirs': [ |
| 277 '..', | 269 '..', |
| 278 ], | 270 ], |
| 279 'sources': [ | 271 'sources': [ |
| 280 'main.cc', | 272 'main.cc', |
| 281 'process_script.cc', | |
| 282 'process_script.h', | |
| 283 '<(snapshot_cc_file)', | 273 '<(snapshot_cc_file)', |
| 284 ], | 274 ], |
| 285 'conditions': [ | 275 'conditions': [ |
| 286 ['OS=="win"', { | 276 ['OS=="win"', { |
| 287 'link_settings': { | 277 'link_settings': { |
| 288 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], | 278 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], |
| 289 }, | 279 }, |
| 290 }]], | 280 }]], |
| 291 }, | 281 }, |
| 292 { | 282 { |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 419 ]}], | 409 ]}], |
| 420 ['OS=="win"', { | 410 ['OS=="win"', { |
| 421 'link_settings': { | 411 'link_settings': { |
| 422 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], | 412 'libraries': [ '-lws2_32.lib', '-lRpcrt4.lib' ], |
| 423 }, | 413 }, |
| 424 }], | 414 }], |
| 425 ], | 415 ], |
| 426 }, | 416 }, |
| 427 ], | 417 ], |
| 428 } | 418 } |
| OLD | NEW |