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

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

Issue 2647283004: Reintroducing MallocHooks changes with fix for hooks being called when in execvpe after a fork whil… (Closed)
Patch Set: Reintroducing MallocHooks changes with fix for hooks being called when in execvpe after a fork whil… 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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
846 ] 849 ]
847 if (is_linux || is_android) { 850 if (is_linux || is_android) {
848 cflags = [ "-fPIC" ] 851 cflags = [ "-fPIC" ]
849 } 852 }
850 if (is_win) { 853 if (is_win) {
851 libs = [ "dart.lib" ] 854 libs = [ "dart.lib" ]
852 abs_root_out_dir = rebase_path(root_out_dir) 855 abs_root_out_dir = rebase_path(root_out_dir)
853 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] 856 ldflags = [ "/LIBPATH:$abs_root_out_dir" ]
854 } 857 }
855 } 858 }
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