| 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 { | 5 { |
| 6 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'dynamic_annotations', | 8 'target_name': 'dynamic_annotations', |
| 9 'type': 'static_library', | 9 'type': 'static_library', |
| 10 'toolsets': ['host', 'target'], | 10 'toolsets': ['host', 'target'], |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 '-Wno-vla', | 58 '-Wno-vla', |
| 59 '-fno-builtin-malloc', | 59 '-fno-builtin-malloc', |
| 60 '-fno-builtin-free', | 60 '-fno-builtin-free', |
| 61 '-fno-builtin-realloc', | 61 '-fno-builtin-realloc', |
| 62 '-fno-builtin-calloc', | 62 '-fno-builtin-calloc', |
| 63 '-fno-builtin-cfree', | 63 '-fno-builtin-cfree', |
| 64 '-fno-builtin-memalign', | 64 '-fno-builtin-memalign', |
| 65 '-fno-builtin-posix_memalign', | 65 '-fno-builtin-posix_memalign', |
| 66 '-fno-builtin-valloc', | 66 '-fno-builtin-valloc', |
| 67 '-fno-builtin-pvalloc', | 67 '-fno-builtin-pvalloc', |
| 68 '-fpermissive', |
| 68 ], | 69 ], |
| 69 'cflags!': [ | 70 'cflags!': [ |
| 70 '-Werror', | 71 '-Werror', |
| 71 '-Wvla', | 72 '-Wvla', |
| 72 ], | 73 ], |
| 73 'link_settings': { | 74 'link_settings': { |
| 74 'ldflags': [ | 75 'configurations': { |
| 75 # Don't let linker rip this symbol out, otherwise the heap&cpu | 76 'Dart_Linux_Base': { |
| 76 # profilers will not initialize properly on startup. | 77 'ldflags': [ |
| 77 '-Wl,-uIsHeapProfilerRunning,-uProfilerStart', | 78 # Don't let linker rip this symbol out, otherwise the heap&cpu |
| 78 ], | 79 # profilers will not initialize properly on startup. |
| 80 '-Wl,-uIsHeapProfilerRunning,-uProfilerStart', |
| 81 ], |
| 82 }, |
| 83 }, |
| 79 }, | 84 }, |
| 80 'sources!': [ | 85 'sources!': [ |
| 81 # No debug allocator. | 86 # No debug allocator. |
| 82 'gperftools/src/debugallocation.cc', | 87 'gperftools/src/debugallocation.cc', |
| 83 # Not needed when using emergency malloc. | 88 # Not needed when using emergency malloc. |
| 84 'gperftools/src/fake_stacktrace_scope.cc', | 89 'gperftools/src/fake_stacktrace_scope.cc', |
| 85 # Not using the cpuprofiler | 90 # Not using the cpuprofiler |
| 86 'gperftools/src/base/thread_lister.c', | 91 'gperftools/src/base/thread_lister.c', |
| 87 'gperftools/src/base/thread_lister.h', | 92 'gperftools/src/base/thread_lister.h', |
| 88 'gperftools/src/profile-handler.cc', | 93 'gperftools/src/profile-handler.cc', |
| 89 'gperftools/src/profile-handler.h', | 94 'gperftools/src/profile-handler.h', |
| 90 'gperftools/src/profiledata.cc', | 95 'gperftools/src/profiledata.cc', |
| 91 'gperftools/src/profiledata.h', | 96 'gperftools/src/profiledata.h', |
| 92 'gperftools/src/profiler.cc', | 97 'gperftools/src/profiler.cc', |
| 93 ], | 98 ], |
| 94 # Disable sample collection in Release and Product builds. | 99 # Disable sample collection in Release and Product builds. |
| 95 'configurations': { | 100 'configurations': { |
| 96 'Dart_Product': { | 101 'Dart_Product': { |
| 97 'defines': [ | 102 'defines': [ |
| 98 'NO_TCMALLOC_SAMPLES', | 103 'NO_TCMALLOC_SAMPLES', |
| 99 ], | 104 ], |
| 100 }, | 105 }, |
| 101 }, | 106 }, |
| 102 }, | 107 }, |
| 103 ], | 108 ], |
| 104 } | 109 } |
| OLD | NEW |