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 'internal_ozone_platform_deps': [ | 7 'internal_ozone_platform_deps': [ |
8 'ozone_platform_gbm', | 8 'ozone_platform_gbm', |
9 ], | 9 ], |
10 'internal_ozone_platforms': [ | 10 'internal_ozone_platforms': [ |
11 'gbm', | 11 'gbm', |
12 ], | 12 ], |
13 'use_mesa_platform_null%': 0, | 13 'use_mesa_platform_null%': 0, |
14 | 14 |
15 # TODO(dshwang): remove this flag when all gbm hardwares support vgem map. | 15 # TODO(dshwang): remove this flag when all gbm hardwares support vgem map. |
16 'ozone_use_vgem_map%': 0, | 16 'ozone_use_vgem_map%': 0, |
17 }, | 17 }, |
18 'targets': [ | 18 'targets': [ |
19 { | 19 { |
20 'target_name': 'ozone_platform_gbm', | 20 'target_name': 'ozone_platform_gbm', |
21 'type': 'static_library', | 21 'type': 'static_library', |
22 'dependencies': [ | 22 'dependencies': [ |
23 '../../base/base.gyp:base', | 23 '../../base/base.gyp:base', |
24 '../../build/linux/system.gyp:libdrm', | 24 '../../build/linux/system.gyp:libdrm', |
| 25 '../../build/linux/system.gyp:libdrm_intel', |
25 '../../build/linux/system.gyp:gbm', | 26 '../../build/linux/system.gyp:gbm', |
26 '../../skia/skia.gyp:skia', | 27 '../../skia/skia.gyp:skia', |
27 '../../third_party/khronos/khronos.gyp:khronos_headers', | 28 '../../third_party/khronos/khronos.gyp:khronos_headers', |
28 '../base/ui_base.gyp:ui_base', | 29 '../base/ui_base.gyp:ui_base', |
29 '../events/events.gyp:events', | 30 '../events/events.gyp:events', |
30 '../events/ozone/events_ozone.gyp:events_ozone', | 31 '../events/ozone/events_ozone.gyp:events_ozone', |
31 '../events/ozone/events_ozone.gyp:events_ozone_evdev', | 32 '../events/ozone/events_ozone.gyp:events_ozone_evdev', |
32 '../events/ozone/events_ozone.gyp:events_ozone_layout', | 33 '../events/ozone/events_ozone.gyp:events_ozone_layout', |
33 '../gfx/gfx.gyp:gfx', | 34 '../gfx/gfx.gyp:gfx', |
34 ], | 35 ], |
(...skipping 20 matching lines...) Expand all Loading... |
55 ], | 56 ], |
56 'conditions': [ | 57 'conditions': [ |
57 ['use_mesa_platform_null==1', { | 58 ['use_mesa_platform_null==1', { |
58 'defines': ['USE_MESA_PLATFORM_NULL'], | 59 'defines': ['USE_MESA_PLATFORM_NULL'], |
59 }], | 60 }], |
60 ['ozone_use_vgem_map==1', { | 61 ['ozone_use_vgem_map==1', { |
61 'defines': ['OZONE_USE_VGEM_MAP'], | 62 'defines': ['OZONE_USE_VGEM_MAP'], |
62 'sources': [ | 63 'sources': [ |
63 'gpu/client_native_pixmap_vgem.cc', | 64 'gpu/client_native_pixmap_vgem.cc', |
64 'gpu/client_native_pixmap_vgem.h', | 65 'gpu/client_native_pixmap_vgem.h', |
| 66 'gpu/intel_drm_pixmap.cc', |
| 67 'gpu/intel_drm_pixmap.h', |
65 ], | 68 ], |
66 }], | 69 }], |
67 ], | 70 ], |
68 }, | 71 }, |
69 ], | 72 ], |
70 } | 73 } |
OLD | NEW |