blob: bd7aa5048dd39196dedd984acead6fd492f58916 [file] [log] [blame]
# Copyright 2019 The Cobalt Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
{
'target_defaults': {
'default_configuration': 'linux-x64x11-dlmalloc_debug',
'configurations': {
'linux-x64x11-dlmalloc_debug': {
'inherit_from': ['debug_base'],
},
'linux-x64x11-dlmalloc_devel': {
'inherit_from': ['devel_base'],
},
'linux-x64x11-dlmalloc_qa': {
'inherit_from': ['qa_base'],
},
'linux-x64x11-dlmalloc_gold': {
'inherit_from': ['gold_base'],
},
}, # end of configurations
},
'includes': [
'../gyp_configuration.gypi',
],
'variables': {
'use_dlmalloc_allocator': 1,
'linker_flags': [
# We want to see all the places using malloc(), free(), etc.
'-Wl,-error-limit=0',
],
},
}