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 'ozone_platform_egltest.cc',
34 'ozone_platform_egltest.h',
38 'target_name': 'eglplatform_shim',
39 'type': 'static_library',
41 '../../third_party/khronos/khronos.gyp:khronos_headers',
43 'direct_dependent_settings': {
45 '<(SHARED_INTERMEDIATE_DIR)',
55 'output_cc': '<(INTERMEDIATE_DIR)/libeglplatform_shim_loader.cc',
56 'output_h': '<(SHARED_INTERMEDIATE_DIR)/library_loaders/libeglplatform_shim.h',
57 'generator': '../../tools/generate_library_loader/generate_library_loader.py',
59 'action_name': 'generate_libeglplatform_shim_loader',
69 '--name', 'LibeglplatformShimLoader',
70 '--output-h', '<(output_h)',
71 '--output-cc', '<(output_cc)',
72 '--header', '"ui/ozone/platform/egltest/eglplatform_shim.h"',
79 'ShimGetNativeDisplay',
80 'ShimGetNativeWindow',
81 'ShimReleaseNativeWindow',
83 'message': 'Generating libeglplatform_shim library loader',
84 'process_outputs_as_sources': 1,
90 ['ozone_platform_ozonex == 1', {
93 'target_name': 'eglplatform_shim_x11',
94 'type': 'loadable_module',
95 'product_name': 'eglplatform_shim',
96 'product_extension': 'so.1',
101 '../../build/linux/system.gyp:x11',
104 'eglplatform_shim.h',
105 'eglplatform_shim_xeleven.cc',