Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(388)

Side by Side Diff: BUILD.gn

Issue 787033002: Use same blob format for internal and external snapshots. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: addressed comments Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | Makefile » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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",
361 ] 360 ]
362 361
363 configs -= [ "//build/config/compiler:chromium_code" ] 362 configs -= [ "//build/config/compiler:chromium_code" ]
364 configs += [ "//build/config/compiler:no_chromium_code" ] 363 configs += [ "//build/config/compiler:no_chromium_code" ]
365 configs += [ ":internal_config", ":features", ":toolchain" ] 364 configs += [ ":internal_config", ":features", ":toolchain" ]
366 } 365 }
367 366
368 source_set("v8_snapshot") { 367 source_set("v8_snapshot") {
369 visibility = [ ":*" ] # Only targets in this file can depend on this. 368 visibility = [ ":*" ] # Only targets in this file can depend on this.
370 369
371 deps = [ 370 deps = [
372 ":js2c", 371 ":js2c",
373 ":js2c_experimental", 372 ":js2c_experimental",
374 ":run_mksnapshot", 373 ":run_mksnapshot",
375 ":v8_base", 374 ":v8_base",
376 ] 375 ]
377 376
378 sources = [ 377 sources = [
379 "$target_gen_dir/libraries.cc", 378 "$target_gen_dir/libraries.cc",
380 "$target_gen_dir/experimental-libraries.cc", 379 "$target_gen_dir/experimental-libraries.cc",
381 "$target_gen_dir/snapshot.cc", 380 "$target_gen_dir/snapshot.cc",
382 "src/snapshot-common.cc",
383 ] 381 ]
384 382
385 configs -= [ "//build/config/compiler:chromium_code" ] 383 configs -= [ "//build/config/compiler:chromium_code" ]
386 configs += [ "//build/config/compiler:no_chromium_code" ] 384 configs += [ "//build/config/compiler:no_chromium_code" ]
387 configs += [ ":internal_config", ":features", ":toolchain" ] 385 configs += [ ":internal_config", ":features", ":toolchain" ]
388 } 386 }
389 387
390 if (v8_use_external_startup_data) { 388 if (v8_use_external_startup_data) {
391 source_set("v8_external_snapshot") { 389 source_set("v8_external_snapshot") {
392 visibility = [ ":*" ] # Only targets in this file can depend on this. 390 visibility = [ ":*" ] # Only targets in this file can depend on this.
(...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after
887 "src/scanner.cc", 885 "src/scanner.cc",
888 "src/scanner.h", 886 "src/scanner.h",
889 "src/scopeinfo.cc", 887 "src/scopeinfo.cc",
890 "src/scopeinfo.h", 888 "src/scopeinfo.h",
891 "src/scopes.cc", 889 "src/scopes.cc",
892 "src/scopes.h", 890 "src/scopes.h",
893 "src/serialize.cc", 891 "src/serialize.cc",
894 "src/serialize.h", 892 "src/serialize.h",
895 "src/small-pointer-list.h", 893 "src/small-pointer-list.h",
896 "src/smart-pointers.h", 894 "src/smart-pointers.h",
895 "src/snapshot-common.cc",
897 "src/snapshot-source-sink.cc", 896 "src/snapshot-source-sink.cc",
898 "src/snapshot-source-sink.h", 897 "src/snapshot-source-sink.h",
899 "src/snapshot.h", 898 "src/snapshot.h",
900 "src/string-builder.cc", 899 "src/string-builder.cc",
901 "src/string-builder.h", 900 "src/string-builder.h",
902 "src/string-search.cc", 901 "src/string-search.cc",
903 "src/string-search.h", 902 "src/string-search.h",
904 "src/string-stream.cc", 903 "src/string-stream.cc",
905 "src/string-stream.h", 904 "src/string-stream.h",
906 "src/strtod.cc", 905 "src/strtod.cc",
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
1451 deps = [ 1450 deps = [
1452 ":v8_base", 1451 ":v8_base",
1453 ":v8_nosnapshot", 1452 ":v8_nosnapshot",
1454 ] 1453 ]
1455 } 1454 }
1456 1455
1457 direct_dependent_configs = [ ":external_config" ] 1456 direct_dependent_configs = [ ":external_config" ]
1458 } 1457 }
1459 1458
1460 } 1459 }
OLDNEW
« no previous file with comments | « no previous file | Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698