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

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

Issue 1258713002: ozone: unify GpuMemoryBufferFactoryOzoneNativePixmap in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: resolve nits Created 5 years, 4 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
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 }, 8 },
9 9
10 'targets': [ 10 'targets': [
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 'include_dirs': [ 143 'include_dirs': [
144 '<(DEPTH)/third_party/khronos', 144 '<(DEPTH)/third_party/khronos',
145 ], 145 ],
146 }], 146 }],
147 ['OS in ("android", "linux")', { 147 ['OS in ("android", "linux")', {
148 'sources': [ 148 'sources': [
149 'gl_implementation_osmesa.cc', 149 'gl_implementation_osmesa.cc',
150 'gl_implementation_osmesa.h', 150 'gl_implementation_osmesa.h',
151 ], 151 ],
152 }], 152 }],
153 ['OS=="linux"', {
154 'sources': [
155 'gl_image_linux_dma_buffer.cc',
156 'gl_image_linux_dma_buffer.h',
157 ],
158 }],
159 ['use_x11 == 1', { 153 ['use_x11 == 1', {
160 'sources': [ 154 'sources': [
161 'gl_bindings_autogen_glx.cc', 155 'gl_bindings_autogen_glx.cc',
162 'gl_bindings_autogen_glx.h', 156 'gl_bindings_autogen_glx.h',
163 'gl_context_glx.cc', 157 'gl_context_glx.cc',
164 'gl_context_glx.h', 158 'gl_context_glx.h',
165 'gl_egl_api_implementation.cc', 159 'gl_egl_api_implementation.cc',
166 'gl_egl_api_implementation.h', 160 'gl_egl_api_implementation.h',
167 'gl_glx_api_implementation.cc', 161 'gl_glx_api_implementation.cc',
168 'gl_glx_api_implementation.h', 162 'gl_glx_api_implementation.h',
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 ], 251 ],
258 'defines': [ 252 'defines': [
259 'GL_GLEXT_PROTOTYPES', 253 'GL_GLEXT_PROTOTYPES',
260 'EGL_EGLEXT_PROTOTYPES', 254 'EGL_EGLEXT_PROTOTYPES',
261 ], 255 ],
262 }], 256 }],
263 ['OS!="android"', { 257 ['OS!="android"', {
264 'sources/': [ ['exclude', '^android/'] ], 258 'sources/': [ ['exclude', '^android/'] ],
265 }], 259 }],
266 ['use_ozone==1', { 260 ['use_ozone==1', {
261 'sources': [
262 'gl_image_ozone_native_pixmap.cc',
263 'gl_image_ozone_native_pixmap.h',
264 ],
267 'dependencies': [ 265 'dependencies': [
268 '../ozone/ozone.gyp:ozone', 266 '../ozone/ozone.gyp:ozone',
269 '../ozone/ozone.gyp:ozone_base', 267 '../ozone/ozone.gyp:ozone_base',
270 ], 268 ],
271 }], 269 }],
272 ], 270 ],
273 }, 271 },
274 { 272 {
275 'target_name': 'gl_unittest_utils', 273 'target_name': 'gl_unittest_utils',
276 'type': 'static_library', 274 'type': 'static_library',
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 ], 339 ],
342 'variables': { 340 'variables': {
343 'jni_gen_package': 'ui/gl', 341 'jni_gen_package': 'ui/gl',
344 }, 342 },
345 'includes': [ '../../build/jni_generator.gypi' ], 343 'includes': [ '../../build/jni_generator.gypi' ],
346 }, 344 },
347 ], 345 ],
348 }], 346 }],
349 ], 347 ],
350 } 348 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698