Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Side by Side Diff: trunk/src/ui/ozone/platform/egltest/egltest.gypi

Issue 288013002: Revert 270471 "ozone: Add egltest platform" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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_egltest',
9 ],
10 'internal_ozone_platforms': [
11 'egltest'
12 ],
13 },
14 'targets': [
15 {
16 'target_name': 'ozone_platform_egltest',
17 'type': 'static_library',
18 'defines': [
19 'OZONE_IMPLEMENTATION',
20 ],
21 'dependencies': [
22 '../../base/base.gyp:base',
23 '../events/events.gyp:events',
24 '../gfx/gfx.gyp:gfx',
25 'eglplatform_shim',
26 ],
27 'sources': [
28 'ozone_platform_egltest.cc',
29 'ozone_platform_egltest.h',
30 ],
31 },
32 {
33 'target_name': 'eglplatform_shim',
34 'type': 'static_library',
35 'dependencies': [
36 '../../third_party/khronos/khronos.gyp:khronos_headers',
37 ],
38 'direct_dependent_settings': {
39 'include_dirs': [
40 '<(SHARED_INTERMEDIATE_DIR)',
41 ],
42 },
43 'include_dirs': [
44 '../../../..',
45 ],
46 'hard_dependency': 1,
47 'actions': [
48 {
49 'variables': {
50 'output_h': '<(SHARED_INTERMEDIATE_DIR)/library_loaders/libeglplatfo rm_shim.h',
51 'output_cc': '<(INTERMEDIATE_DIR)/libeglplatform_shim_loader.cc',
52 'generator': '../../tools/generate_library_loader/generate_library_l oader.py',
53 },
54 'action_name': 'generate_libeglplatform_shim_loader',
55 'inputs': [
56 '<(generator)',
57 ],
58 'outputs': [
59 '<(output_h)',
60 '<(output_cc)',
61 ],
62 'action': ['python',
63 '<(generator)',
64 '--name', 'LibeglplatformShimLoader',
65 '--output-h', '<(output_h)',
66 '--output-cc', '<(output_cc)',
67 '--header', '"ui/ozone/platform/egltest/eglplatform_shim.h" ',
68 'ShimQueryString',
69 'ShimInitialize',
70 'ShimTerminate',
71 'ShimCreateWindow',
72 'ShimQueryWindow',
73 'ShimDestroyWindow',
74 'ShimGetNativeDisplay',
75 'ShimGetNativeWindow',
76 'ShimReleaseNativeWindow',
77 ],
78 'message': 'Generating libeglplatform_shim library loader',
79 'process_outputs_as_sources': 1,
80 },
81 ],
82 },
83 {
84 'target_name': 'eglplatform_shim_x11',
85 'type': 'loadable_module',
86 'product_name': 'eglplatform_shim',
87 'product_extension': 'so.1',
88 'include_dirs': [
89 '../../../..',
90 ],
91 'dependencies': [
92 '../../build/linux/system.gyp:x11',
93 ],
94 'sources': [
95 'eglplatform_shim.h',
96 'eglplatform_shim_xeleven.cc',
97 ],
98 },
99 ],
100 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698