| # 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. |
| |
| { |
| 'targets': [ |
| { |
| 'target_name': 'hardware_rasterizer', |
| 'type': 'static_library', |
| |
| 'sources': [ |
| 'gl_format_conversions.cc', |
| 'hardware_image.cc', |
| 'hardware_image.h', |
| 'hardware_mesh.cc', |
| 'hardware_mesh.h', |
| 'hardware_rasterizer.cc', |
| 'hardware_rasterizer.h', |
| 'hardware_resource_provider.cc', |
| 'hardware_resource_provider.h', |
| 'shader_preload_tree.cc', |
| 'shader_preload_tree.h', |
| 'vertex_buffer_object.cc', |
| 'vertex_buffer_object.h', |
| ], |
| |
| 'dependencies': [ |
| '<(DEPTH)/base/base.gyp:base', |
| '<(DEPTH)/starboard/egl_and_gles/egl_and_gles.gyp:egl_and_gles', |
| '<(DEPTH)/cobalt/renderer/rasterizer/skia/common.gyp:common', |
| '<(DEPTH)/cobalt/renderer/rasterizer/skia/skia/skia.gyp:skia', |
| '<(DEPTH)/third_party/harfbuzz-ng/harfbuzz.gyp:harfbuzz-ng', |
| '<(DEPTH)/third_party/icu/icu.gyp:icuuc', |
| '<(DEPTH)/third_party/ots/ots.gyp:ots', |
| '<(DEPTH)/cobalt/renderer/rasterizer/common/common.gyp:common', |
| ], |
| |
| 'conditions': [ |
| ['skia_preload_shaders==1', { |
| 'defines': [ |
| 'SKIA_PRELOAD_SHADERS' |
| ], |
| }], |
| ], |
| }, |
| ], |
| } |