| OLD | NEW |
| 1 # Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2016, 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 config("internal_config") { | 5 config("internal_config") { |
| 6 visibility = [ ":*" ] # Only targets in this file can depend on this. | 6 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 7 cflags = [ | 7 cflags = [ |
| 8 "-Wall", | 8 "-Wall", |
| 9 "-Wextra", | 9 "-Wextra", |
| 10 "-Wno-missing-field-initializers", | 10 "-Wno-missing-field-initializers", |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 "-fno-builtin-calloc", | 25 "-fno-builtin-calloc", |
| 26 "-fno-builtin-cfree", | 26 "-fno-builtin-cfree", |
| 27 "-fno-builtin-memalign", | 27 "-fno-builtin-memalign", |
| 28 "-fno-builtin-posix_memalign", | 28 "-fno-builtin-posix_memalign", |
| 29 "-fno-builtin-valloc", | 29 "-fno-builtin-valloc", |
| 30 "-fno-builtin-pvalloc", | 30 "-fno-builtin-pvalloc", |
| 31 ] | 31 ] |
| 32 if (is_clang) { | 32 if (is_clang) { |
| 33 cflags += [ "-Wno-unused-const-variable" ] | 33 cflags += [ "-Wno-unused-const-variable" ] |
| 34 } | 34 } |
| 35 if (current_cpu == "arm" && !is_clang) { |
| 36 cflags += [ "-Wno-psabi" ] |
| 37 } |
| 35 } | 38 } |
| 36 | 39 |
| 37 config("link_config") { | 40 config("link_config") { |
| 38 visibility = [ ":*" ] # Only targets in this file can depend on this. | 41 visibility = [ ":*" ] # Only targets in this file can depend on this. |
| 39 ldflags = [ | 42 ldflags = [ |
| 40 # Don't let linker rip this symbol out, otherwise the heap&cpu | 43 # Don't let linker rip this symbol out, otherwise the heap&cpu |
| 41 # profilers will not initialize properly on startup. | 44 # profilers will not initialize properly on startup. |
| 42 "-Wl,-uIsHeapProfilerRunning,-uProfilerStart", | 45 "-Wl,-uIsHeapProfilerRunning,-uProfilerStart", |
| 43 ] | 46 ] |
| 44 } | 47 } |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 "gperftools/src/base/thread_lister.h", | 120 "gperftools/src/base/thread_lister.h", |
| 118 "gperftools/src/profile-handler.cc", | 121 "gperftools/src/profile-handler.cc", |
| 119 "gperftools/src/profile-handler.h", | 122 "gperftools/src/profile-handler.h", |
| 120 "gperftools/src/profiledata.cc", | 123 "gperftools/src/profiledata.cc", |
| 121 "gperftools/src/profiledata.h", | 124 "gperftools/src/profiledata.h", |
| 122 "gperftools/src/profiler.cc", | 125 "gperftools/src/profiler.cc", |
| 123 ]) | 126 ]) |
| 124 | 127 |
| 125 sources = tcmalloc_sources_list.sources | 128 sources = tcmalloc_sources_list.sources |
| 126 } | 129 } |
| OLD | NEW |