blob: e0d840cad03a7e23a6fc955dc94bd32f4914d347 [file] [log] [blame]
# Copyright 2014 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.
{
'sources': [
'display.cc',
'display.h',
'framebuffer.h',
'framebuffer.cc',
'framebuffer_render_target.h',
'graphics_context.cc',
'graphics_context.h',
'graphics_system.cc',
'graphics_system.h',
'pbuffer_render_target.cc',
'pbuffer_render_target.h',
'render_target.h',
'resource_context.cc',
'resource_context.h',
'texture.cc',
'texture.h',
'texture_data.cc',
'texture_data.h',
'texture_data_cpu.cc',
'texture_data_cpu.h',
'texture_data_pbo.cc',
'texture_data_pbo.h',
'utils.cc',
'utils.h',
],
'defines': [
'COBALT_EGL_SWAP_INTERVAL=<(cobalt_egl_swap_interval)',
],
'dependencies': [
'<(DEPTH)/starboard/egl_and_gles/egl_and_gles.gyp:egl_and_gles',
],
'export_dependent_settings': [
'<(DEPTH)/starboard/egl_and_gles/egl_and_gles.gyp:egl_and_gles',
],
'conditions': [
['render_dirty_region_only==1', {
'defines': [
'COBALT_RENDER_DIRTY_REGION_ONLY',
],
}],
],
}