1 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Use of this source code is governed by a BSD-style license that can be 3 # found in the LICENSE file. 4 5 { 6 'variables': { 7 'internal_ozone_platform_deps': [ 8 'ozone_platform_gbm', 9 ], 10 'internal_ozone_platforms': [ 11 'gbm', 12 ], 13 }, 14 'targets': [ 15 { 16 'target_name': 'ozone_platform_gbm', 17 'type': 'static_library', 18 'dependencies': [ 19 '../../base/base.gyp:base', 20 '../../build/linux/system.gyp:libdrm', 21 '../../build/linux/system.gyp:gbm', 22 '../../skia/skia.gyp:skia', 23 '../../third_party/khronos/khronos.gyp:khronos_headers', 24 '../base/ui_base.gyp:ui_base', 25 '../events/events.gyp:events', 26 '../events/ozone/events_ozone.gyp:events_ozone', 27 '../gfx/gfx.gyp:gfx', 28 ], 29 'defines': [ 30 'OZONE_IMPLEMENTATION', 31 ], 32 'sources': [ 33 'channel_observer.h', 34 'chromeos/display_message_handler.cc', 35 'chromeos/display_message_handler.h', 36 'chromeos/native_display_delegate_proxy.cc', 37 'chromeos/native_display_delegate_proxy.h', 38 'dri_window_delegate_proxy.cc', 39 'dri_window_delegate_proxy.h', 40 'gbm_buffer.cc', 41 'gbm_buffer.h', 42 'gbm_buffer_base.cc', 43 'gbm_buffer_base.h', 44 'gbm_surface.cc', 45 'gbm_surface.h', 46 'gbm_surfaceless.cc', 47 'gbm_surfaceless.h', 48 'gbm_surface_factory.cc', 49 'gbm_surface_factory.h', 50 'gpu_platform_support_gbm.cc', 51 'gpu_platform_support_gbm.h', 52 'gpu_platform_support_host_gbm.cc', 53 'gpu_platform_support_host_gbm.h', 54 'ozone_platform_gbm.cc', 55 'ozone_platform_gbm.h', 56 ], 57 }, 58 ], 59 } 60