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 }, | 11 }, |
12 'targets': [ | 12 'targets': [ |
13 { | 13 { |
14 'target_name': 'ozone', | 14 'target_name': 'ozone', |
15 'type': '<(component)', | 15 'type': '<(component)', |
16 'dependencies': [ | 16 'dependencies': [ |
17 '<(DEPTH)/base/base.gyp:base', | 17 '<(DEPTH)/base/base.gyp:base', |
| 18 '<(DEPTH)/ui/display/display.gyp:display_types', |
18 '<(DEPTH)/ui/events/events.gyp:events', | 19 '<(DEPTH)/ui/events/events.gyp:events', |
19 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', | 20 '<(DEPTH)/ui/gfx/gfx.gyp:gfx', |
20 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', | 21 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', |
21 '<(DEPTH)/skia/skia.gyp:skia', | 22 '<(DEPTH)/skia/skia.gyp:skia', |
22 '<@(external_ozone_platform_deps)', | 23 '<@(external_ozone_platform_deps)', |
23 ], | 24 ], |
24 'defines': [ | 25 'defines': [ |
25 'OZONE_IMPLEMENTATION', | 26 'OZONE_IMPLEMENTATION', |
26 ], | 27 ], |
27 'variables': { | 28 'variables': { |
28 'platform_list_file': '<(SHARED_INTERMEDIATE_DIR)/ui/ozone/ozone_platfor
m_list.cc', | 29 'platform_list_file': '<(SHARED_INTERMEDIATE_DIR)/ui/ozone/ozone_platfor
m_list.cc', |
29 'ozone_platforms': [ | 30 'ozone_platforms': [ |
30 '<@(external_ozone_platforms)', | 31 '<@(external_ozone_platforms)', |
31 ], | 32 ], |
32 }, | 33 }, |
33 'sources': [ | 34 'sources': [ |
34 '<(platform_list_file)', | 35 '<(platform_list_file)', |
| 36 'common/chromeos/native_display_delegate_ozone.cc', |
| 37 'common/chromeos/native_display_delegate_ozone.h', |
35 'ozone_platform.cc', | 38 'ozone_platform.cc', |
36 'ozone_platform.h', | 39 'ozone_platform.h', |
37 'ozone_switches.cc', | 40 'ozone_switches.cc', |
38 'ozone_switches.h', | 41 'ozone_switches.h', |
39 'platform/dri/ozone_platform_dri.cc', | 42 'platform/dri/ozone_platform_dri.cc', |
40 'platform/dri/ozone_platform_dri.h', | 43 'platform/dri/ozone_platform_dri.h', |
41 'platform/dri/cursor_factory_evdev_dri.cc', | 44 'platform/dri/cursor_factory_evdev_dri.cc', |
42 'platform/dri/cursor_factory_evdev_dri.h', | 45 'platform/dri/cursor_factory_evdev_dri.h', |
43 'platform/test/ozone_platform_test.cc', | 46 'platform/test/ozone_platform_test.cc', |
44 'platform/test/ozone_platform_test.h', | 47 'platform/test/ozone_platform_test.h', |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 } | 92 } |
90 }, { # ozone_platform_test==0 | 93 }, { # ozone_platform_test==0 |
91 'sources/': [ | 94 'sources/': [ |
92 ['exclude', '^platform/test/'], | 95 ['exclude', '^platform/test/'], |
93 ] | 96 ] |
94 }], | 97 }], |
95 ] | 98 ] |
96 }, | 99 }, |
97 ], | 100 ], |
98 } | 101 } |
OLD | NEW |