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

Side by Side Diff: ui/ozone/ozone.gyp

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: fix chromeos_daisy_chromium_compile_only_ng build failure Created 5 years, 2 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
« no previous file with comments | « ui/ozone/ozone.gni ('k') | ui/ozone/platform/drm/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 # Normally, the external_ozone_platform* variables below can be 8 # Normally, the external_ozone_platform* variables below can be
9 # overridden by supplement.gypi which must exist exactly one level 9 # overridden by supplement.gypi which must exist exactly one level
10 # below the top-level src directory. They can now also be set in 10 # below the top-level src directory. They can now also be set in
11 # $GYP_DEFINES 11 # $GYP_DEFINES
12 'external_ozone_platforms%': [], 12 'external_ozone_platforms%': [],
13 'external_ozone_platform_files%': [], 13 'external_ozone_platform_files%': [],
14 'external_ozone_platform_deps%': [], 14 'external_ozone_platform_deps%': [],
15 'external_ozone_platform_unittest_deps%': [], 15 'external_ozone_platform_unittest_deps%': [],
16 'internal_ozone_platforms': [], 16 'internal_ozone_platforms': [],
17 'internal_ozone_platform_deps': [], 17 'internal_ozone_platform_deps': [],
18 'internal_ozone_platform_unittest_deps': [], 18 'internal_ozone_platform_unittest_deps': [],
19
20 # This enables memory-mapped access to accelerated graphics buffers via
21 # the VGEM ("virtual GEM") driver. This is currently only available on
22 # Chrome OS kernels and affects code in the GBM ozone platform.
23 # TODO(dshwang): remove this flag when all gbm hardware supports vgem map.
24 # crbug.com/519587
25 'use_vgem_map%': 0,
19 }, 26 },
20 'targets': [ 27 'targets': [
21 { 28 {
22 # GN version: //ui/ozone:ozone_base 29 # GN version: //ui/ozone:ozone_base
23 'target_name': 'ozone_base', 30 'target_name': 'ozone_base',
24 'type': '<(component)', 31 'type': '<(component)',
25 'dependencies': [ 32 'dependencies': [
26 '<(DEPTH)/base/base.gyp:base', 33 '<(DEPTH)/base/base.gyp:base',
27 '<(DEPTH)/skia/skia.gyp:skia', 34 '<(DEPTH)/skia/skia.gyp:skia',
28 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', 35 '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry',
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 'dependencies': [ 198 'dependencies': [
192 'ozone', 199 'ozone',
193 '../../base/base.gyp:base', 200 '../../base/base.gyp:base',
194 '../../base/base.gyp:test_support_base', 201 '../../base/base.gyp:test_support_base',
195 '../../testing/gtest.gyp:gtest', 202 '../../testing/gtest.gyp:gtest',
196 '../gfx/gfx.gyp:gfx_geometry', 203 '../gfx/gfx.gyp:gfx_geometry',
197 '<@(external_ozone_platform_unittest_deps)', 204 '<@(external_ozone_platform_unittest_deps)',
198 '<@(internal_ozone_platform_unittest_deps)', 205 '<@(internal_ozone_platform_unittest_deps)',
199 ], 206 ],
200 }, 207 },
208 {
209 'target_name': 'vgem_map',
210 'type': 'none',
211 'conditions': [
212 ['use_vgem_map==1', {
213 'direct_dependent_settings': {
214 'defines': [
215 'USE_VGEM_MAP',
216 ],
217 },
218 }],
219 ],
220 },
201 ], 221 ],
202 'conditions': [ 222 'conditions': [
203 ['<(ozone_platform_caca) == 1', { 223 ['<(ozone_platform_caca) == 1', {
204 'includes': [ 224 'includes': [
205 'platform/caca/caca.gypi', 225 'platform/caca/caca.gypi',
206 ], 226 ],
207 }], 227 }],
208 ['<(ozone_platform_cast) == 1', { 228 ['<(ozone_platform_cast) == 1', {
209 'includes': [ 229 'includes': [
210 'platform/cast/cast.gypi', 230 'platform/cast/cast.gypi',
211 ], 231 ],
212 }], 232 }],
213 ['<(ozone_platform_egltest) == 1', { 233 ['<(ozone_platform_egltest) == 1', {
214 'includes': [ 234 'includes': [
215 'platform/egltest/egltest.gypi', 235 'platform/egltest/egltest.gypi',
216 ], 236 ],
217 }], 237 }],
218 ['<(ozone_platform_gbm) == 1', { 238 ['<(ozone_platform_gbm) == 1', {
219 'includes': [ 239 'includes': [
220 'platform/drm/gbm.gypi', 240 'platform/drm/gbm.gypi',
221 ], 241 ],
222 }], 242 }],
223 ['<(ozone_platform_test) == 1', { 243 ['<(ozone_platform_test) == 1', {
224 'includes': [ 244 'includes': [
225 'platform/test/test.gypi', 245 'platform/test/test.gypi',
226 ], 246 ],
227 }], 247 }],
228 ], 248 ],
229 } 249 }
OLDNEW
« no previous file with comments | « ui/ozone/ozone.gni ('k') | ui/ozone/platform/drm/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698