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

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

Issue 2647763003: Revert "Implemented basic heap memory allocation tracking in MallocHooks using hooks registered wit… (Closed)
Patch Set: Revert "Implemented basic heap memory allocation tracking in MallocHooks using hooks registered wit… 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/gen_snapshot.cc » ('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
304 if (is_mac) { 300 if (is_mac) {
305 libs = [ 301 libs = [
306 "CoreFoundation.framework", 302 "CoreFoundation.framework",
307 "CoreServices.framework", 303 "CoreServices.framework",
308 ] 304 ]
309 } 305 }
310 306
311 if (is_win) { 307 if (is_win) {
312 libs = [ 308 libs = [
313 "iphlpapi.lib", 309 "iphlpapi.lib",
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 ":gen_resources_cc", 567 ":gen_resources_cc",
572 ":standalone_dart_io", 568 ":standalone_dart_io",
573 ":libdart_builtin", 569 ":libdart_builtin",
574 "$dart_zlib_path", 570 "$dart_zlib_path",
575 ] + extra_deps 571 ] + extra_deps
576 572
577 defines = extra_defines 573 defines = extra_defines
578 574
579 if (dart_use_tcmalloc) { 575 if (dart_use_tcmalloc) {
580 deps += [ "//third_party/tcmalloc" ] 576 deps += [ "//third_party/tcmalloc" ]
577 defines += [ "DART_USE_TCMALLOC" ]
581 } 578 }
582 579
583 sources = [ 580 sources = [
584 "main.cc", 581 "main.cc",
585 "vmservice_impl.cc", 582 "vmservice_impl.cc",
586 "vmservice_impl.h", 583 "vmservice_impl.h",
587 "$target_gen_dir/resources_gen.cc", 584 "$target_gen_dir/resources_gen.cc",
588 ] + extra_sources 585 ] + extra_sources
589 586
590 include_dirs = [ 587 include_dirs = [
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
843 defines = [ 840 defines = [
844 # The only effect of DART_SHARED_LIB is to export the Dart API. 841 # The only effect of DART_SHARED_LIB is to export the Dart API.
845 "DART_SHARED_LIB", 842 "DART_SHARED_LIB",
846 ] 843 ]
847 if (is_win) { 844 if (is_win) {
848 libs = [ "dart.lib" ] 845 libs = [ "dart.lib" ]
849 abs_root_out_dir = rebase_path(root_out_dir) 846 abs_root_out_dir = rebase_path(root_out_dir)
850 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] 847 ldflags = [ "/LIBPATH:$abs_root_out_dir" ]
851 } 848 }
852 } 849 }
OLDNEW
« no previous file with comments | « runtime/BUILD.gn ('k') | runtime/bin/gen_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698