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.
7 'internal_ozone_platform_deps': [
8 'ozone_platform_egltest',
10 'internal_ozone_platforms': [
16 'target_name': 'ozone_platform_egltest',
17 'type': 'static_library',
19 'OZONE_IMPLEMENTATION',
22 '../../base/base.gyp:base',
23 '../../third_party/khronos/khronos.gyp:khronos_headers',
24 '../events/devices/events_devices.gyp:events_devices',
25 '../events/events.gyp:events',
26 '../events/ozone/events_ozone.gyp:events_ozone_evdev',
27 '../events/ozone/events_ozone.gyp:events_ozone_layout',
28 '../events/platform/events_platform.gyp:events_platform',
33 'client_native_pixmap_factory_egltest.cc',
34 'client_native_pixmap_factory_egltest.h',
35 'ozone_platform_egltest.cc',
36 'ozone_platform_egltest.h',
40 'target_name': 'eglplatform_shim',
41 'type': 'static_library',
43 '../../third_party/khronos/khronos.gyp:khronos_headers',
45 'direct_dependent_settings': {
47 '<(SHARED_INTERMEDIATE_DIR)',
57 'output_cc': '<(INTERMEDIATE_DIR)/libeglplatform_shim_loader.cc',
58 'output_h': '<(SHARED_INTERMEDIATE_DIR)/library_loaders/libeglplatform_shim.h',
59 'generator': '../../tools/generate_library_loader/generate_library_loader.py',
61 'action_name': 'generate_libeglplatform_shim_loader',
71 '--name', 'LibeglplatformShimLoader',
72 '--output-h', '<(output_h)',
73 '--output-cc', '<(output_cc)',
74 '--header', '"ui/ozone/platform/egltest/eglplatform_shim.h"',
81 'ShimGetNativeDisplay',
82 'ShimGetNativeWindow',
83 'ShimReleaseNativeWindow',
85 'message': 'Generating libeglplatform_shim library loader',
86 'process_outputs_as_sources': 1,
92 ['ozone_platform_ozonex == 1', {
95 'target_name': 'eglplatform_shim_x11',
96 'type': 'loadable_module',
97 'product_name': 'eglplatform_shim',
98 'product_extension': 'so.1',
103 '../../build/linux/system.gyp:x11',
106 'eglplatform_shim.h',
107 'eglplatform_shim_xeleven.cc',