| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # Because standalone V8 builds are not supported, assume this is part of a | 5 # Because standalone V8 builds are not supported, assume this is part of a |
| 6 # Chromium build. | 6 # Chromium build. |
| 7 import("//build/module_args/v8.gni") | 7 import("//build/module_args/v8.gni") |
| 8 | 8 |
| 9 # TODO(jochen): These will need to be user-settable to support standalone V8 | 9 # TODO(jochen): These will need to be user-settable to support standalone V8 |
| 10 # builds. | 10 # builds. |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 ":js2c", | 273 ":js2c", |
| 274 ":js2c_experimental" | 274 ":js2c_experimental" |
| 275 ] | 275 ] |
| 276 | 276 |
| 277 sources = [ | 277 sources = [ |
| 278 "$target_gen_dir/libraries.bin", | 278 "$target_gen_dir/libraries.bin", |
| 279 "$target_gen_dir/libraries_experimental.bin" | 279 "$target_gen_dir/libraries_experimental.bin" |
| 280 ] | 280 ] |
| 281 | 281 |
| 282 outputs = [ | 282 outputs = [ |
| 283 "$root_gen_dir/natives_blob.bin" | 283 "$root_out_dir/natives_blob.bin" |
| 284 ] | 284 ] |
| 285 | 285 |
| 286 script = "tools/concatenate-files.py" | 286 script = "tools/concatenate-files.py" |
| 287 | 287 |
| 288 args = rebase_path(sources + outputs, root_build_dir) | 288 args = rebase_path(sources + outputs, root_build_dir) |
| 289 } | 289 } |
| 290 } | 290 } |
| 291 | 291 |
| 292 action("postmortem-metadata") { | 292 action("postmortem-metadata") { |
| 293 visibility = [ ":*" ] # Only targets in this file can depend on this. | 293 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 "--log-snapshot-positions", | 326 "--log-snapshot-positions", |
| 327 "--logfile", rebase_path("$target_gen_dir/snapshot.log", root_build_dir), | 327 "--logfile", rebase_path("$target_gen_dir/snapshot.log", root_build_dir), |
| 328 rebase_path("$target_gen_dir/snapshot.cc", root_build_dir) | 328 rebase_path("$target_gen_dir/snapshot.cc", root_build_dir) |
| 329 ] | 329 ] |
| 330 | 330 |
| 331 if (v8_random_seed != "0") { | 331 if (v8_random_seed != "0") { |
| 332 args += [ "--random-seed", v8_random_seed ] | 332 args += [ "--random-seed", v8_random_seed ] |
| 333 } | 333 } |
| 334 | 334 |
| 335 if (v8_use_external_startup_data) { | 335 if (v8_use_external_startup_data) { |
| 336 outputs += [ "$root_gen_dir/snapshot_blob.bin" ] | 336 outputs += [ "$root_out_dir/snapshot_blob.bin" ] |
| 337 args += [ | 337 args += [ |
| 338 "--startup_blob", | 338 "--startup_blob", |
| 339 rebase_path("$root_gen_dir/snapshot_blob.bin", root_build_dir) | 339 rebase_path("$root_out_dir/snapshot_blob.bin", root_build_dir) |
| 340 ] | 340 ] |
| 341 } | 341 } |
| 342 } | 342 } |
| 343 | 343 |
| 344 | 344 |
| 345 ############################################################################### | 345 ############################################################################### |
| 346 # Source Sets (aka static libraries) | 346 # Source Sets (aka static libraries) |
| 347 # | 347 # |
| 348 | 348 |
| 349 source_set("v8_nosnapshot") { | 349 source_set("v8_nosnapshot") { |
| (...skipping 1102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1452 deps = [ | 1452 deps = [ |
| 1453 ":v8_base", | 1453 ":v8_base", |
| 1454 ":v8_nosnapshot", | 1454 ":v8_nosnapshot", |
| 1455 ] | 1455 ] |
| 1456 } | 1456 } |
| 1457 | 1457 |
| 1458 direct_dependent_configs = [ ":external_config" ] | 1458 direct_dependent_configs = [ ":external_config" ] |
| 1459 } | 1459 } |
| 1460 | 1460 |
| 1461 } | 1461 } |
| OLD | NEW |