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 'target_name': 'ozone_base', |
| 19 'type': '<(component)', |
| 20 'dependencies': [ |
| 21 '<(DEPTH)/base/base.gyp:base', |
| 22 '<(DEPTH)/skia/skia.gyp:skia', |
| 23 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', |
| 24 ], |
| 25 'defines': [ |
| 26 'OZONE_BASE_IMPLEMENTATION', |
| 27 ], |
| 28 'sources': [ |
| 29 'public/cursor_factory_ozone.cc', |
| 30 'public/cursor_factory_ozone.h', |
| 31 'public/event_factory_ozone.cc', |
| 32 'public/event_factory_ozone.h', |
| 33 'public/overlay_candidates_ozone.cc', |
| 34 'public/overlay_candidates_ozone.h', |
| 35 'public/surface_factory_ozone.cc', |
| 36 'public/surface_factory_ozone.h', |
| 37 'public/surface_ozone_canvas.h', |
| 38 'public/surface_ozone_egl.h', |
| 39 ], |
| 40 }, |
| 41 { |
18 'target_name': 'ozone', | 42 'target_name': 'ozone', |
19 'type': '<(component)', | 43 'type': '<(component)', |
20 'dependencies': [ | 44 'dependencies': [ |
21 '<(DEPTH)/base/base.gyp:base', | 45 '<(DEPTH)/base/base.gyp:base', |
22 '<(DEPTH)/ui/events/events.gyp:events', | 46 '<(DEPTH)/ui/events/events.gyp:events', |
23 '<(DEPTH)/ui/events/ozone/events_ozone.gyp:events_ozone', | 47 '<(DEPTH)/ui/events/ozone/events_ozone.gyp:events_ozone', |
24 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', | 48 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', |
25 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', | 49 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', |
26 '<(DEPTH)/ui/gfx/ozone/gfx_ozone.gyp:gfx_ozone', | |
27 '<(DEPTH)/skia/skia.gyp:skia', | 50 '<(DEPTH)/skia/skia.gyp:skia', |
28 '<@(external_ozone_platform_deps)', | 51 '<@(external_ozone_platform_deps)', |
29 '<@(internal_ozone_platform_deps)', | 52 '<@(internal_ozone_platform_deps)', |
| 53 'ozone_base', |
30 ], | 54 ], |
31 'defines': [ | 55 'defines': [ |
32 'OZONE_IMPLEMENTATION', | 56 'OZONE_IMPLEMENTATION', |
33 ], | 57 ], |
34 'variables': { | 58 'variables': { |
35 'platform_list_cc_file': '<(INTERMEDIATE_DIR)/ui/ozone/platform_list.cc'
, | 59 'platform_list_cc_file': '<(INTERMEDIATE_DIR)/ui/ozone/platform_list.cc'
, |
36 'platform_list_h_file': '<(SHARED_INTERMEDIATE_DIR)/ui/ozone/platform_li
st.h', | 60 'platform_list_h_file': '<(SHARED_INTERMEDIATE_DIR)/ui/ozone/platform_li
st.h', |
37 'platform_list_txt_file': '<(SHARED_INTERMEDIATE_DIR)/ui/ozone/platform_
list.txt', | 61 'platform_list_txt_file': '<(SHARED_INTERMEDIATE_DIR)/ui/ozone/platform_
list.txt', |
38 'constructor_list_cc_file': '<(INTERMEDIATE_DIR)/ui/ozone/constructor_li
st.cc', | 62 'constructor_list_cc_file': '<(INTERMEDIATE_DIR)/ui/ozone/constructor_li
st.cc', |
39 'ozone_platforms': [ | 63 'ozone_platforms': [ |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 ['use_udev == 0', { | 139 ['use_udev == 0', { |
116 'sources/': [ | 140 'sources/': [ |
117 ['exclude', '_udev\\.(h|cc)$'], | 141 ['exclude', '_udev\\.(h|cc)$'], |
118 ], | 142 ], |
119 }], | 143 }], |
120 ['chromeos==1', { | 144 ['chromeos==1', { |
121 'dependencies': [ | 145 'dependencies': [ |
122 '<(DEPTH)/ui/display/display.gyp:display_types', | 146 '<(DEPTH)/ui/display/display.gyp:display_types', |
123 ], | 147 ], |
124 }], | 148 }], |
125 ] | 149 ], |
126 }, | 150 }, |
127 { | 151 { |
128 'target_name': 'ozone_unittests', | 152 'target_name': 'ozone_unittests', |
129 'type': '<(gtest_target_type)', | 153 'type': '<(gtest_target_type)', |
130 'sources': [ | 154 'sources': [ |
131 'run_all_unittests.cc', | 155 'run_all_unittests.cc', |
132 ], | 156 ], |
133 'dependencies': [ | 157 'dependencies': [ |
134 'ozone', | 158 'ozone', |
| 159 'ozone_base', |
135 '../../base/base.gyp:base', | 160 '../../base/base.gyp:base', |
136 '../../base/base.gyp:test_support_base', | 161 '../../base/base.gyp:test_support_base', |
137 '../../testing/gtest.gyp:gtest', | 162 '../../testing/gtest.gyp:gtest', |
138 '<@(external_ozone_platform_unittest_deps)', | 163 '<@(external_ozone_platform_unittest_deps)', |
139 '<@(internal_ozone_platform_unittest_deps)', | 164 '<@(internal_ozone_platform_unittest_deps)', |
140 ], | 165 ], |
141 }, | 166 }, |
142 ], | 167 ], |
143 'conditions': [ | 168 'conditions': [ |
144 ['<(ozone_platform_caca) == 1', { | 169 ['<(ozone_platform_caca) == 1', { |
(...skipping 16 matching lines...) Expand all Loading... |
161 'platform/dri/gbm.gypi', | 186 'platform/dri/gbm.gypi', |
162 ], | 187 ], |
163 }], | 188 }], |
164 ['<(ozone_platform_test) == 1', { | 189 ['<(ozone_platform_test) == 1', { |
165 'includes': [ | 190 'includes': [ |
166 'platform/test/test.gypi', | 191 'platform/test/test.gypi', |
167 ], | 192 ], |
168 }], | 193 }], |
169 ], | 194 ], |
170 } | 195 } |
OLD | NEW |