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

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

Issue 2647793005: Revert "Reintroducing MallocHooks changes with fix for infinite loop in MallocHooks on Platform::Ex… (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/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
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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
849 ] 846 ]
850 if (is_linux || is_android) { 847 if (is_linux || is_android) {
851 cflags = [ "-fPIC" ] 848 cflags = [ "-fPIC" ]
852 } 849 }
853 if (is_win) { 850 if (is_win) {
854 libs = [ "dart.lib" ] 851 libs = [ "dart.lib" ]
855 abs_root_out_dir = rebase_path(root_out_dir) 852 abs_root_out_dir = rebase_path(root_out_dir)
856 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] 853 ldflags = [ "/LIBPATH:$abs_root_out_dir" ]
857 } 854 }
858 } 855 }
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