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

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

Issue 2625613002: Implemented basic heap memory allocation tracking in MallocHooks using hooks registered with tcmall… (Closed)
Patch Set: 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 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 "builtin.h", 288 "builtin.h",
289 289
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 defines = []
298 include_dirs = [ ".." ] 299 include_dirs = [ ".." ]
299 300
301 if (dart_use_tcmalloc) {
302 deps += [ "//third_party/tcmalloc" ]
303 defines += [ "DART_USE_TCMALLOC" ]
304 include_dirs += [ "../third_party/tcmalloc/gperftools/src" ]
305 include_dirs += [ "../third_party/tcmalloc/include" ]
306 }
307
300 if (is_mac) { 308 if (is_mac) {
301 libs = [ 309 libs = [
302 "CoreFoundation.framework", 310 "CoreFoundation.framework",
303 "CoreServices.framework", 311 "CoreServices.framework",
304 ] 312 ]
305 } 313 }
306 314
307 if (is_win) { 315 if (is_win) {
308 libs = [ 316 libs = [
309 "iphlpapi.lib", 317 "iphlpapi.lib",
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
850 defines = [ 858 defines = [
851 # The only effect of DART_SHARED_LIB is to export the Dart API. 859 # The only effect of DART_SHARED_LIB is to export the Dart API.
852 "DART_SHARED_LIB", 860 "DART_SHARED_LIB",
853 ] 861 ]
854 if (is_win) { 862 if (is_win) {
855 libs = [ "dart.lib" ] 863 libs = [ "dart.lib" ]
856 abs_root_out_dir = rebase_path(root_out_dir) 864 abs_root_out_dir = rebase_path(root_out_dir)
857 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] 865 ldflags = [ "/LIBPATH:$abs_root_out_dir" ]
858 } 866 }
859 } 867 }
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