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

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

Issue 2643303003: Reintroducing MallocHooks changes with fix for infinite loop in MallocHooks on Platform::Exit. (Closed)
Patch Set: Reintroducing MallocHooks changes with fix for infinite loop in MallocHooks on Platform::Exit. Created 3 years, 11 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 | « runtime/BUILD.gn ('k') | runtime/bin/bin.gypi » ('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 (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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 # Very limited native resolver provided. 290 # Very limited native resolver provided.
291 "builtin_common.cc", 291 "builtin_common.cc",
292 "builtin_gen_snapshot.cc", 292 "builtin_gen_snapshot.cc",
293 "gen_snapshot.cc", 293 "gen_snapshot.cc",
294 "vmservice_impl.cc", 294 "vmservice_impl.cc",
295 "vmservice_impl.h", 295 "vmservice_impl.h",
296 ] 296 ]
297 297
298 include_dirs = [ ".." ] 298 include_dirs = [ ".." ]
299 299
300 if (dart_use_tcmalloc) {
301 deps += [ "//third_party/tcmalloc" ]
302 }
303
300 if (is_mac) { 304 if (is_mac) {
301 libs = [ 305 libs = [
302 "CoreFoundation.framework", 306 "CoreFoundation.framework",
303 "CoreServices.framework", 307 "CoreServices.framework",
304 ] 308 ]
305 } 309 }
306 310
307 if (is_win) { 311 if (is_win) {
308 libs = [ 312 libs = [
309 "iphlpapi.lib", 313 "iphlpapi.lib",
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
567 ":gen_resources_cc", 571 ":gen_resources_cc",
568 ":standalone_dart_io", 572 ":standalone_dart_io",
569 ":libdart_builtin", 573 ":libdart_builtin",
570 "$dart_zlib_path", 574 "$dart_zlib_path",
571 ] + extra_deps 575 ] + extra_deps
572 576
573 defines = extra_defines 577 defines = extra_defines
574 578
575 if (dart_use_tcmalloc) { 579 if (dart_use_tcmalloc) {
576 deps += [ "//third_party/tcmalloc" ] 580 deps += [ "//third_party/tcmalloc" ]
577 defines += [ "DART_USE_TCMALLOC" ]
578 } 581 }
579 582
580 sources = [ 583 sources = [
581 "main.cc", 584 "main.cc",
582 "vmservice_impl.cc", 585 "vmservice_impl.cc",
583 "vmservice_impl.h", 586 "vmservice_impl.h",
584 "$target_gen_dir/resources_gen.cc", 587 "$target_gen_dir/resources_gen.cc",
585 ] + extra_sources 588 ] + extra_sources
586 589
587 include_dirs = [ 590 include_dirs = [
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
840 defines = [ 843 defines = [
841 # The only effect of DART_SHARED_LIB is to export the Dart API. 844 # The only effect of DART_SHARED_LIB is to export the Dart API.
842 "DART_SHARED_LIB", 845 "DART_SHARED_LIB",
843 ] 846 ]
844 if (is_win) { 847 if (is_win) {
845 libs = [ "dart.lib" ] 848 libs = [ "dart.lib" ]
846 abs_root_out_dir = rebase_path(root_out_dir) 849 abs_root_out_dir = rebase_path(root_out_dir)
847 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] 850 ldflags = [ "/LIBPATH:$abs_root_out_dir" ]
848 } 851 }
849 } 852 }
OLDNEW
« no previous file with comments | « runtime/BUILD.gn ('k') | runtime/bin/bin.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698