blob: e491c37ff78e1b291f9c540e35532d56b8708ebf [file] [log] [blame]
# Copyright 2017 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.
{
'variables': {
'javascript_engine': 'mozjs',
'cobalt_enable_jit': 0,
# TODO: In theory, there are tools that can combine static libraries into
# thick static libraries with all their transitive dependencies. Using
# shared_library here can have unexpected consequences. Explore building
# this into a thick static library instead.
'final_executable_type': 'shared_library',
'default_renderer_options_dependency': '<(DEPTH)/cobalt/renderer/rasterizer/lib/lib.gyp:external_rasterizer',
'sb_enable_lib': 1,
'angle_build_winrt': 0,
'winrt': 0,
'enable_d3d11_feature_level_11': 1,
},
'includes': [
'../shared/gyp_configuration.gypi',
],
'target_defaults': {
'default_configuration': 'win-lib_debug',
'configurations': {
'win-lib_debug': {
'inherit_from': ['win32_base', 'msvs_debug'],
},
'win-lib_devel': {
'inherit_from': ['win32_base', 'msvs_devel'],
},
'win-lib_qa': {
'inherit_from': ['win32_base', 'msvs_qa'],
},
'win-lib_gold': {
'inherit_from': ['win32_base', 'msvs_gold'],
},
}, # end of configurations
},
}