| 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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 deps = [ | 350 deps = [ |
| 351 ":js2c", | 351 ":js2c", |
| 352 ":js2c_experimental", | 352 ":js2c_experimental", |
| 353 ":v8_base", | 353 ":v8_base", |
| 354 ] | 354 ] |
| 355 | 355 |
| 356 sources = [ | 356 sources = [ |
| 357 "$target_gen_dir/libraries.cc", | 357 "$target_gen_dir/libraries.cc", |
| 358 "$target_gen_dir/experimental-libraries.cc", | 358 "$target_gen_dir/experimental-libraries.cc", |
| 359 "src/snapshot-empty.cc", | 359 "src/snapshot-empty.cc", |
| 360 "src/snapshot-common.cc", |
| 360 ] | 361 ] |
| 361 | 362 |
| 362 configs -= [ "//build/config/compiler:chromium_code" ] | 363 configs -= [ "//build/config/compiler:chromium_code" ] |
| 363 configs += [ "//build/config/compiler:no_chromium_code" ] | 364 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 364 configs += [ ":internal_config", ":features", ":toolchain" ] | 365 configs += [ ":internal_config", ":features", ":toolchain" ] |
| 365 } | 366 } |
| 366 | 367 |
| 367 source_set("v8_snapshot") { | 368 source_set("v8_snapshot") { |
| 368 visibility = [ ":*" ] # Only targets in this file can depend on this. | 369 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 369 | 370 |
| 370 deps = [ | 371 deps = [ |
| 371 ":js2c", | 372 ":js2c", |
| 372 ":js2c_experimental", | 373 ":js2c_experimental", |
| 373 ":run_mksnapshot", | 374 ":run_mksnapshot", |
| 374 ":v8_base", | 375 ":v8_base", |
| 375 ] | 376 ] |
| 376 | 377 |
| 377 sources = [ | 378 sources = [ |
| 378 "$target_gen_dir/libraries.cc", | 379 "$target_gen_dir/libraries.cc", |
| 379 "$target_gen_dir/experimental-libraries.cc", | 380 "$target_gen_dir/experimental-libraries.cc", |
| 380 "$target_gen_dir/snapshot.cc", | 381 "$target_gen_dir/snapshot.cc", |
| 382 "src/snapshot-common.cc", |
| 381 ] | 383 ] |
| 382 | 384 |
| 383 configs -= [ "//build/config/compiler:chromium_code" ] | 385 configs -= [ "//build/config/compiler:chromium_code" ] |
| 384 configs += [ "//build/config/compiler:no_chromium_code" ] | 386 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 385 configs += [ ":internal_config", ":features", ":toolchain" ] | 387 configs += [ ":internal_config", ":features", ":toolchain" ] |
| 386 } | 388 } |
| 387 | 389 |
| 388 if (v8_use_external_startup_data) { | 390 if (v8_use_external_startup_data) { |
| 389 source_set("v8_external_snapshot") { | 391 source_set("v8_external_snapshot") { |
| 390 visibility = [ ":*" ] # Only targets in this file can depend on this. | 392 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| (...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 885 "src/scanner.cc", | 887 "src/scanner.cc", |
| 886 "src/scanner.h", | 888 "src/scanner.h", |
| 887 "src/scopeinfo.cc", | 889 "src/scopeinfo.cc", |
| 888 "src/scopeinfo.h", | 890 "src/scopeinfo.h", |
| 889 "src/scopes.cc", | 891 "src/scopes.cc", |
| 890 "src/scopes.h", | 892 "src/scopes.h", |
| 891 "src/serialize.cc", | 893 "src/serialize.cc", |
| 892 "src/serialize.h", | 894 "src/serialize.h", |
| 893 "src/small-pointer-list.h", | 895 "src/small-pointer-list.h", |
| 894 "src/smart-pointers.h", | 896 "src/smart-pointers.h", |
| 895 "src/snapshot-common.cc", | |
| 896 "src/snapshot-source-sink.cc", | 897 "src/snapshot-source-sink.cc", |
| 897 "src/snapshot-source-sink.h", | 898 "src/snapshot-source-sink.h", |
| 898 "src/snapshot.h", | 899 "src/snapshot.h", |
| 899 "src/string-builder.cc", | 900 "src/string-builder.cc", |
| 900 "src/string-builder.h", | 901 "src/string-builder.h", |
| 901 "src/string-search.cc", | 902 "src/string-search.cc", |
| 902 "src/string-search.h", | 903 "src/string-search.h", |
| 903 "src/string-stream.cc", | 904 "src/string-stream.cc", |
| 904 "src/string-stream.h", | 905 "src/string-stream.h", |
| 905 "src/strtod.cc", | 906 "src/strtod.cc", |
| (...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1450 deps = [ | 1451 deps = [ |
| 1451 ":v8_base", | 1452 ":v8_base", |
| 1452 ":v8_nosnapshot", | 1453 ":v8_nosnapshot", |
| 1453 ] | 1454 ] |
| 1454 } | 1455 } |
| 1455 | 1456 |
| 1456 direct_dependent_configs = [ ":external_config" ] | 1457 direct_dependent_configs = [ ":external_config" ] |
| 1457 } | 1458 } |
| 1458 | 1459 |
| 1459 } | 1460 } |
| OLD | NEW |