Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Side by Side Diff: ui/ozone/platform/drm/gbm.gypi

Issue 1253363004: ozone gbm: whitelist 3 DRM ioctl code for native GpuMemoryBuffer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: define use_vgem_map in single place Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« ui/ozone/ozone.gni ('K') | « ui/ozone/platform/drm/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
15 # TODO(dshwang): remove this flag when all gbm hardware supports vgem map.
16 # crbug.com/519587
17 'use_vgem_map%': 0,
18 }, 14 },
19 'targets': [ 15 'targets': [
20 { 16 {
21 'target_name': 'ozone_platform_gbm', 17 'target_name': 'ozone_platform_gbm',
22 'type': 'static_library', 18 'type': 'static_library',
23 'dependencies': [ 19 'dependencies': [
24 '../../base/base.gyp:base', 20 '../../base/base.gyp:base',
25 '../../build/linux/system.gyp:libdrm', 21 '../../build/linux/system.gyp:libdrm',
26 '../../build/linux/system.gyp:gbm', 22 '../../build/linux/system.gyp:gbm',
27 '../../skia/skia.gyp:skia', 23 '../../skia/skia.gyp:skia',
(...skipping 24 matching lines...) Expand all
52 'gpu/gbm_surfaceless.cc', 48 'gpu/gbm_surfaceless.cc',
53 'gpu/gbm_surfaceless.h', 49 'gpu/gbm_surfaceless.h',
54 'ozone_platform_gbm.cc', 50 'ozone_platform_gbm.cc',
55 'ozone_platform_gbm.h', 51 'ozone_platform_gbm.h',
56 ], 52 ],
57 'conditions': [ 53 'conditions': [
58 ['use_mesa_platform_null==1', { 54 ['use_mesa_platform_null==1', {
59 'defines': ['USE_MESA_PLATFORM_NULL'], 55 'defines': ['USE_MESA_PLATFORM_NULL'],
60 }], 56 }],
61 ['use_vgem_map==1', { 57 ['use_vgem_map==1', {
62 'defines': ['USE_VGEM_MAP'], 58 'dependencies': [
59 '../../build/linux/system.gyp:vgem_map',
60 ],
63 'sources': [ 61 'sources': [
64 'gpu/client_native_pixmap_vgem.cc', 62 'gpu/client_native_pixmap_vgem.cc',
65 'gpu/client_native_pixmap_vgem.h', 63 'gpu/client_native_pixmap_vgem.h',
66 ], 64 ],
67 }], 65 }],
68 ], 66 ],
69 }, 67 },
70 ], 68 ],
71 } 69 }
OLDNEW
« ui/ozone/ozone.gni ('K') | « ui/ozone/platform/drm/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698