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

Side by Side Diff: ui/gl/BUILD.gn

Issue 1258713002: ozone: unify GpuMemoryBufferFactoryOzoneNativePixmap in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix linux_chromium_gn_dgb build 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
« no previous file with comments | « content/content_common.gypi ('k') | ui/gl/gl.gyp » ('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 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 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/config.gni") 9 import("//build/config/android/config.gni")
10 import("//build/config/android/rules.gni") 10 import("//build/config/android/rules.gni")
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 ] 144 ]
145 } 145 }
146 if (is_android || is_linux) { 146 if (is_android || is_linux) {
147 sources += [ 147 sources += [
148 "gl_implementation_osmesa.cc", 148 "gl_implementation_osmesa.cc",
149 "gl_implementation_osmesa.h", 149 "gl_implementation_osmesa.h",
150 ] 150 ]
151 } 151 }
152 if (is_linux) { 152 if (is_linux) {
153 deps += [ "//third_party/libevent" ] 153 deps += [ "//third_party/libevent" ]
154 sources += [
155 "gl_image_linux_dma_buffer.cc",
156 "gl_image_linux_dma_buffer.h",
157 ]
158 } 154 }
159 if (use_x11) { 155 if (use_x11) {
160 sources += [ 156 sources += [
161 "gl_bindings_autogen_glx.cc", 157 "gl_bindings_autogen_glx.cc",
162 "gl_bindings_autogen_glx.h", 158 "gl_bindings_autogen_glx.h",
163 "gl_context_glx.cc", 159 "gl_context_glx.cc",
164 "gl_context_glx.h", 160 "gl_context_glx.h",
165 "gl_context_x11.cc", 161 "gl_context_x11.cc",
166 "gl_egl_api_implementation.cc", 162 "gl_egl_api_implementation.cc",
167 "gl_egl_api_implementation.h", 163 "gl_egl_api_implementation.h",
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 deps += [ 240 deps += [
245 ":gl_jni_headers", 241 ":gl_jni_headers",
246 "//ui/android:ui_java", 242 "//ui/android:ui_java",
247 ] 243 ]
248 } 244 }
249 if (use_ozone) { 245 if (use_ozone) {
250 sources += [ 246 sources += [
251 "gl_context_ozone.cc", 247 "gl_context_ozone.cc",
252 "gl_egl_api_implementation.cc", 248 "gl_egl_api_implementation.cc",
253 "gl_egl_api_implementation.h", 249 "gl_egl_api_implementation.h",
250 "gl_image_ozone_native_pixmap.cc",
251 "gl_image_ozone_native_pixmap.h",
254 "gl_implementation_ozone.cc", 252 "gl_implementation_ozone.cc",
255 "gl_surface_ozone.cc", 253 "gl_surface_ozone.cc",
256 ] 254 ]
257 deps += [ 255 deps += [
258 "//ui/ozone", 256 "//ui/ozone",
259 "//ui/ozone:ozone_base", 257 "//ui/ozone:ozone_base",
260 ] 258 ]
261 } 259 }
262 } 260 }
263 261
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 deps = [ 346 deps = [
349 ":surface_jni_headers", 347 ":surface_jni_headers",
350 ] 348 ]
351 sources = [ 349 sources = [
352 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", 350 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java",
353 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ", 351 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ",
354 ] 352 ]
355 jni_package = "ui/gl" 353 jni_package = "ui/gl"
356 } 354 }
357 } 355 }
OLDNEW
« no previous file with comments | « content/content_common.gypi ('k') | ui/gl/gl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698