blob: 0bd1f09004fcf12c082db9f882706dee0fc31949 [file] [log] [blame]
# Copyright 2016 Google Inc. 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': {
# By default, <EGL/eglplatform.h> pulls in some X11 headers that have some
# nasty macros (|Status|, for example) that conflict with Chromium base.
# Since certain Cobalt headers now depend on EGL through SbDecodeTarget,
# we define this macro to configure EGL to not pull in these headers.
'defines': [
'MESA_EGL_NO_X11_HEADERS'
],
'default_configuration': 'linux-x64x11-future_debug',
'configurations': {
'linux-x64x11-future_debug': {
'inherit_from': ['debug_base'],
},
'linux-x64x11-future_devel': {
'inherit_from': ['devel_base'],
},
'linux-x64x11-future_qa': {
'inherit_from': ['qa_base'],
},
'linux-x64x11-future_gold': {
'inherit_from': ['gold_base'],
},
}, # end of configurations
},
'includes': [
'../gyp_configuration.gypi',
],
}