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

Side by Side Diff: Source/build/features.gypi

Issue 1302183010: Oilpan: Add a compile-time flag: DETAILED_MEMORY_INFRA (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/platform/heap/GCInfo.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 1 #
2 # Copyright (C) 2009 Google Inc. All rights reserved. 2 # Copyright (C) 2009 Google Inc. All rights reserved.
3 # 3 #
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 'ENABLE_LAYOUT_UNIT_IN_INLINE_BOXES=0', 42 'ENABLE_LAYOUT_UNIT_IN_INLINE_BOXES=0',
43 # WTF_USE_DYNAMIC_ANNOTATIONS=1 may be defined in build/common.gypi 43 # WTF_USE_DYNAMIC_ANNOTATIONS=1 may be defined in build/common.gypi
44 # We can't define it here because it should be present only 44 # We can't define it here because it should be present only
45 # in Debug or release_valgrind_build=1 builds. 45 # in Debug or release_valgrind_build=1 builds.
46 ], 46 ],
47 # We have to nest variables inside variables so that they can be overridden 47 # We have to nest variables inside variables so that they can be overridden
48 # through GYP_DEFINES. 48 # through GYP_DEFINES.
49 'variables': { 49 'variables': {
50 # Enables the Oilpan garbage-collection infrastructure. 50 # Enables the Oilpan garbage-collection infrastructure.
51 'enable_oilpan%': 0, 51 'enable_oilpan%': 0,
52 # TODO(haraken): Remove blink_gc_profiling. It's replaced with
53 # detailed_memory_infra.
52 'blink_gc_profiling%': 0, 54 'blink_gc_profiling%': 0,
bashi 2015/09/08 03:52:27 why can't we remove this now?
55 'detailed_memory_infra%': 0,
53 'blink_logging_always_on%': 0, 56 'blink_logging_always_on%': 0,
54 'link_core_modules_separately%': 1, 57 'link_core_modules_separately%': 1,
55 }, 58 },
56 'conditions': [ 59 'conditions': [
57 ['use_concatenated_impulse_responses==1', { 60 ['use_concatenated_impulse_responses==1', {
58 # Use concatenated HRTF impulse responses 61 # Use concatenated HRTF impulse responses
59 'feature_defines': ['WTF_USE_CONCATENATED_IMPULSE_RESPONSES=1'], 62 'feature_defines': ['WTF_USE_CONCATENATED_IMPULSE_RESPONSES=1'],
60 }], 63 }],
61 ['OS!="android"', { 64 ['OS!="android"', {
62 'feature_defines': [ 65 'feature_defines': [
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 'feature_defines': [ 97 'feature_defines': [
95 'ENABLE_LAZY_SWEEPING=1', 98 'ENABLE_LAZY_SWEEPING=1',
96 'ENABLE_IDLE_GC=1', 99 'ENABLE_IDLE_GC=1',
97 ], 100 ],
98 }], 101 }],
99 ['blink_gc_profiling==1', { 102 ['blink_gc_profiling==1', {
100 'feature_defines': [ 103 'feature_defines': [
101 'ENABLE_GC_PROFILING=1', 104 'ENABLE_GC_PROFILING=1',
102 ], 105 ],
103 }], 106 }],
107 ['detailed_memory_infra==1', {
108 'feature_defines': [
109 'ENABLE_DETAILED_MEMORY_INFRA=1',
110 ],
111 }],
104 ['blink_logging_always_on==1', { 112 ['blink_logging_always_on==1', {
105 'feature_defines': [ 113 'feature_defines': [
106 'LOG_DISABLED=0', 114 'LOG_DISABLED=0',
107 ], 115 ],
108 }], 116 }],
109 ['link_core_modules_separately==1 and component=="shared_library"', { 117 ['link_core_modules_separately==1 and component=="shared_library"', {
110 'feature_defines': [ 118 'feature_defines': [
111 'LINK_CORE_MODULES_SEPARATELY', 119 'LINK_CORE_MODULES_SEPARATELY',
112 ], 120 ],
113 }], 121 }],
114 ], 122 ],
115 123
116 # shared build only. If set to 1, link web, core and modules separately. 124 # shared build only. If set to 1, link web, core and modules separately.
117 'link_core_modules_separately%': '<(link_core_modules_separately)', 125 'link_core_modules_separately%': '<(link_core_modules_separately)',
118 }, 126 },
119 } 127 }
OLDNEW
« no previous file with comments | « no previous file | Source/platform/heap/GCInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698