OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 'external_ozone_platforms': [], | 8 'external_ozone_platforms': [], |
9 'external_ozone_platform_files': [], | 9 'external_ozone_platform_files': [], |
10 'external_ozone_platform_deps': [], | 10 'external_ozone_platform_deps': [], |
11 'external_ozone_platform_unittest_deps': [], | 11 'external_ozone_platform_unittest_deps': [], |
12 'internal_ozone_platforms': [], | 12 'internal_ozone_platforms': [], |
13 'internal_ozone_platform_deps': [], | 13 'internal_ozone_platform_deps': [], |
14 'internal_ozone_platform_unittest_deps': [], | 14 'internal_ozone_platform_unittest_deps': [], |
15 }, | 15 }, |
16 'targets': [ | 16 'targets': [ |
17 { | 17 { |
| 18 # GN version: //ui/ozone:ozone_base |
18 'target_name': 'ozone_base', | 19 'target_name': 'ozone_base', |
19 'type': '<(component)', | 20 'type': '<(component)', |
20 'dependencies': [ | 21 'dependencies': [ |
21 '<(DEPTH)/base/base.gyp:base', | 22 '<(DEPTH)/base/base.gyp:base', |
22 '<(DEPTH)/skia/skia.gyp:skia', | 23 '<(DEPTH)/skia/skia.gyp:skia', |
23 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', | 24 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', |
24 ], | 25 ], |
25 'defines': [ | 26 'defines': [ |
26 'OZONE_BASE_IMPLEMENTATION', | 27 'OZONE_BASE_IMPLEMENTATION', |
27 ], | 28 ], |
28 'sources': [ | 29 'sources': [ |
29 'public/cursor_factory_ozone.cc', | 30 'public/cursor_factory_ozone.cc', |
30 'public/cursor_factory_ozone.h', | 31 'public/cursor_factory_ozone.h', |
31 'public/event_factory_ozone.cc', | 32 'public/event_factory_ozone.cc', |
32 'public/event_factory_ozone.h', | 33 'public/event_factory_ozone.h', |
33 'public/gpu_platform_support.cc', | 34 'public/gpu_platform_support.cc', |
34 'public/gpu_platform_support.h', | 35 'public/gpu_platform_support.h', |
35 'public/gpu_platform_support_host.cc', | 36 'public/gpu_platform_support_host.cc', |
36 'public/gpu_platform_support_host.h', | 37 'public/gpu_platform_support_host.h', |
37 'public/native_pixmap.h', | 38 'public/native_pixmap.h', |
38 'public/overlay_candidates_ozone.cc', | 39 'public/overlay_candidates_ozone.cc', |
39 'public/overlay_candidates_ozone.h', | 40 'public/overlay_candidates_ozone.h', |
40 'public/surface_factory_ozone.cc', | 41 'public/surface_factory_ozone.cc', |
41 'public/surface_factory_ozone.h', | 42 'public/surface_factory_ozone.h', |
42 'public/surface_ozone_canvas.h', | 43 'public/surface_ozone_canvas.h', |
43 'public/surface_ozone_egl.h', | 44 'public/surface_ozone_egl.h', |
44 ], | 45 ], |
45 }, | 46 }, |
46 { | 47 { |
| 48 # GN version: //ui/ozone |
47 'target_name': 'ozone', | 49 'target_name': 'ozone', |
48 'type': '<(component)', | 50 'type': '<(component)', |
49 'dependencies': [ | 51 'dependencies': [ |
50 '<(DEPTH)/base/base.gyp:base', | 52 '<(DEPTH)/base/base.gyp:base', |
51 '<(DEPTH)/ipc/ipc.gyp:ipc', | 53 '<(DEPTH)/ipc/ipc.gyp:ipc', |
52 '<(DEPTH)/skia/skia.gyp:skia', | 54 '<(DEPTH)/skia/skia.gyp:skia', |
53 '<(DEPTH)/ui/events/events.gyp:events', | 55 '<(DEPTH)/ui/events/events.gyp:events', |
54 '<(DEPTH)/ui/events/ozone/events_ozone.gyp:events_ozone', | 56 '<(DEPTH)/ui/events/ozone/events_ozone.gyp:events_ozone', |
55 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', | 57 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', |
56 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', | 58 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 'ozone_platform.cc', | 94 'ozone_platform.cc', |
93 'ozone_platform.h', | 95 'ozone_platform.h', |
94 'ozone_switches.cc', | 96 'ozone_switches.cc', |
95 'ozone_switches.h', | 97 'ozone_switches.h', |
96 'platform_selection.cc', | 98 'platform_selection.cc', |
97 'platform_selection.h', | 99 'platform_selection.h', |
98 '<@(external_ozone_platform_files)', | 100 '<@(external_ozone_platform_files)', |
99 ], | 101 ], |
100 'actions': [ | 102 'actions': [ |
101 { | 103 { |
| 104 # GN version: //ui/ozone:generate_ozone_platform_list |
102 'action_name': 'generate_ozone_platform_list', | 105 'action_name': 'generate_ozone_platform_list', |
103 'variables': { | 106 'variables': { |
104 'generator_path': 'generate_ozone_platform_list.py', | 107 'generator_path': 'generate_ozone_platform_list.py', |
105 }, | 108 }, |
106 'inputs': [ | 109 'inputs': [ |
107 '<(generator_path)', | 110 '<(generator_path)', |
108 ], | 111 ], |
109 'outputs': [ | 112 'outputs': [ |
110 '<(platform_list_cc_file)', | 113 '<(platform_list_cc_file)', |
111 '<(platform_list_h_file)', | 114 '<(platform_list_h_file)', |
112 '<(platform_list_txt_file)', | 115 '<(platform_list_txt_file)', |
113 ], | 116 ], |
114 'action': [ | 117 'action': [ |
115 'python', | 118 'python', |
116 '<(generator_path)', | 119 '<(generator_path)', |
117 '--output_cc=<(platform_list_cc_file)', | 120 '--output_cc=<(platform_list_cc_file)', |
118 '--output_h=<(platform_list_h_file)', | 121 '--output_h=<(platform_list_h_file)', |
119 '--output_txt=<(platform_list_txt_file)', | 122 '--output_txt=<(platform_list_txt_file)', |
120 '--default=<(ozone_platform)', | 123 '--default=<(ozone_platform)', |
121 '<@(ozone_platforms)', | 124 '<@(ozone_platforms)', |
122 ], | 125 ], |
123 }, | 126 }, |
124 { | 127 { |
| 128 # GN version: //ui/ozone:generate_constructor_list |
125 'action_name': 'generate_constructor_list', | 129 'action_name': 'generate_constructor_list', |
126 'variables': { | 130 'variables': { |
127 'generator_path': 'generate_constructor_list.py', | 131 'generator_path': 'generate_constructor_list.py', |
128 }, | 132 }, |
129 'inputs': [ | 133 'inputs': [ |
130 '<(generator_path)', | 134 '<(generator_path)', |
131 '<(platform_list_txt_file)', | 135 '<(platform_list_txt_file)', |
132 ], | 136 ], |
133 'outputs': [ | 137 'outputs': [ |
134 '<(constructor_list_cc_file)', | 138 '<(constructor_list_cc_file)', |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 'platform/dri/gbm.gypi', | 198 'platform/dri/gbm.gypi', |
195 ], | 199 ], |
196 }], | 200 }], |
197 ['<(ozone_platform_test) == 1', { | 201 ['<(ozone_platform_test) == 1', { |
198 'includes': [ | 202 'includes': [ |
199 'platform/test/test.gypi', | 203 'platform/test/test.gypi', |
200 ], | 204 ], |
201 }], | 205 }], |
202 ], | 206 ], |
203 } | 207 } |
OLD | NEW |