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/events.gyp:events',
25 '../events/ozone/events_ozone.gyp:events_ozone_evdev',
30 'ozone_platform_egltest.cc',
31 'ozone_platform_egltest.h',
35 'target_name': 'eglplatform_shim',
36 'type': 'static_library',
38 '../../third_party/khronos/khronos.gyp:khronos_headers',
40 'direct_dependent_settings': {
42 '<(SHARED_INTERMEDIATE_DIR)',
52 'output_h': '<(SHARED_INTERMEDIATE_DIR)/library_loaders/libeglplatform_shim.h',
53 'output_cc': '<(INTERMEDIATE_DIR)/libeglplatform_shim_loader.cc',
54 'generator': '../../tools/generate_library_loader/generate_library_loader.py',
56 'action_name': 'generate_libeglplatform_shim_loader',
66 '--name', 'LibeglplatformShimLoader',
67 '--output-h', '<(output_h)',
68 '--output-cc', '<(output_cc)',
69 '--header', '"ui/ozone/platform/egltest/eglplatform_shim.h"',
76 'ShimGetNativeDisplay',
77 'ShimGetNativeWindow',
78 'ShimReleaseNativeWindow',
80 'message': 'Generating libeglplatform_shim library loader',
81 'process_outputs_as_sources': 1,
87 ['ozone_platform_ozonex == 1', {
90 'target_name': 'eglplatform_shim_x11',
91 'type': 'loadable_module',
92 'product_name': 'eglplatform_shim',
93 'product_extension': 'so.1',
98 '../../build/linux/system.gyp:x11',
101 'eglplatform_shim.h',
102 'eglplatform_shim_xeleven.cc',