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

Side by Side Diff: runtime/bin/BUILD.gn

Issue 2681193002: Factor out snapshot helpers from main.cc. (Closed)
Patch Set: . Created 3 years, 10 months 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 | runtime/bin/bin.gypi » ('j') | runtime/bin/exit.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2014, 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 import("gypi_contents.gni") 5 import("gypi_contents.gni")
6 import("../runtime_args.gni") 6 import("../runtime_args.gni")
7 7
8 # Generate a resources.cc file for the service isolate without Observatory. 8 # Generate a resources.cc file for the service isolate without Observatory.
9 action("gen_resources_cc") { 9 action("gen_resources_cc") {
10 visibility = [ ":*" ] # Only targets in this file can see this. 10 visibility = [ ":*" ] # Only targets in this file can see this.
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 "$dart_zlib_path", 574 "$dart_zlib_path",
575 ] + extra_deps 575 ] + extra_deps
576 576
577 defines = extra_defines 577 defines = extra_defines
578 578
579 if (dart_use_tcmalloc) { 579 if (dart_use_tcmalloc) {
580 deps += [ "//third_party/tcmalloc" ] 580 deps += [ "//third_party/tcmalloc" ]
581 } 581 }
582 582
583 sources = [ 583 sources = [
584 "exit.h",
584 "main.cc", 585 "main.cc",
586 "snapshot.cc",
587 "snapshot.h",
585 "vmservice_impl.cc", 588 "vmservice_impl.cc",
586 "vmservice_impl.h", 589 "vmservice_impl.h",
587 "$target_gen_dir/resources_gen.cc", 590 "$target_gen_dir/resources_gen.cc",
588 ] + extra_sources 591 ] + extra_sources
589 592
590 include_dirs = [ 593 include_dirs = [
591 "..", 594 "..",
592 "//third_party", 595 "//third_party",
593 ] 596 ]
594 597
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
849 ] 852 ]
850 if (is_linux || is_android) { 853 if (is_linux || is_android) {
851 cflags = [ "-fPIC" ] 854 cflags = [ "-fPIC" ]
852 } 855 }
853 if (is_win) { 856 if (is_win) {
854 libs = [ "dart.lib" ] 857 libs = [ "dart.lib" ]
855 abs_root_out_dir = rebase_path(root_out_dir) 858 abs_root_out_dir = rebase_path(root_out_dir)
856 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] 859 ldflags = [ "/LIBPATH:$abs_root_out_dir" ]
857 } 860 }
858 } 861 }
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/bin.gypi » ('j') | runtime/bin/exit.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698