OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 'ozone_platform_caca%': 0, | 8 'ozone_platform_ozonex%': 1, |
| 9 'use_x11': 1, |
9 }, | 10 }, |
10 'conditions': [ | 11 'conditions': [ |
11 ['<(ozone_platform_caca) == 1', { | 12 ['<(ozone_platform_ozonex) == 1', { |
12 'variables': { | 13 'variables': { |
13 'ozone_platforms': [ | 14 'ozone_platforms': [ |
14 'caca' | 15 'ozonex' |
15 ], | 16 ], |
16 }, | 17 }, |
17 'link_settings': { | 18 'link_settings': { |
18 'libraries': [ | 19 'libraries': [ |
19 '-lcaca', | 20 '-lX11', |
| 21 '-lXi', |
20 ], | 22 ], |
21 }, | 23 }, |
| 24 'dependencies': [ |
| 25 '<(DEPTH)/ui/events/x/events_x11.gyp:events_x11', |
| 26 '<(DEPTH)/ui/gfx/x/gfx_x11.gyp:gfx_x11', |
| 27 '<(DEPTH)/ui/window/window.gyp:window', |
| 28 ], |
22 'sources': [ | 29 'sources': [ |
23 'caca_connection.cc', | 30 'ozone_platform_ozonex.cc', |
24 'caca_connection.h', | 31 'ozone_platform_ozonex.h', |
25 'ozone_platform_caca.cc', | |
26 'ozone_platform_caca.h', | |
27 'caca_event_factory.cc', | |
28 'caca_event_factory.h', | |
29 'caca_surface_factory.cc', | |
30 'caca_surface_factory.h', | |
31 ], | 32 ], |
32 }], | 33 }], |
33 ], | 34 ], |
34 } | 35 } |
OLD | NEW |