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

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: 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 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 "gl_surface_egl.cc", 142 "gl_surface_egl.cc",
143 "gl_surface_egl.h", 143 "gl_surface_egl.h",
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) {
153 deps += [ "//third_party/libevent" ]
154 sources += [
155 "gl_image_linux_dma_buffer.cc",
156 "gl_image_linux_dma_buffer.h",
157 ]
158 }
159 if (use_x11) { 152 if (use_x11) {
160 sources += [ 153 sources += [
161 "gl_bindings_autogen_glx.cc", 154 "gl_bindings_autogen_glx.cc",
162 "gl_bindings_autogen_glx.h", 155 "gl_bindings_autogen_glx.h",
163 "gl_context_glx.cc", 156 "gl_context_glx.cc",
164 "gl_context_glx.h", 157 "gl_context_glx.h",
165 "gl_context_x11.cc", 158 "gl_context_x11.cc",
166 "gl_egl_api_implementation.cc", 159 "gl_egl_api_implementation.cc",
167 "gl_egl_api_implementation.h", 160 "gl_egl_api_implementation.h",
168 "gl_glx_api_implementation.cc", 161 "gl_glx_api_implementation.cc",
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 deps += [ 237 deps += [
245 ":gl_jni_headers", 238 ":gl_jni_headers",
246 "//ui/android:ui_java", 239 "//ui/android:ui_java",
247 ] 240 ]
248 } 241 }
249 if (use_ozone) { 242 if (use_ozone) {
250 sources += [ 243 sources += [
251 "gl_context_ozone.cc", 244 "gl_context_ozone.cc",
252 "gl_egl_api_implementation.cc", 245 "gl_egl_api_implementation.cc",
253 "gl_egl_api_implementation.h", 246 "gl_egl_api_implementation.h",
247 "gl_image_ozone_native_pixmap.cc",
248 "gl_image_ozone_native_pixmap.h",
254 "gl_implementation_ozone.cc", 249 "gl_implementation_ozone.cc",
255 "gl_surface_ozone.cc", 250 "gl_surface_ozone.cc",
256 ] 251 ]
257 deps += [ 252 deps += [
258 "//ui/ozone", 253 "//ui/ozone",
259 "//ui/ozone:ozone_base", 254 "//ui/ozone:ozone_base",
260 ] 255 ]
261 } 256 }
262 } 257 }
263 258
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 deps = [ 343 deps = [
349 ":surface_jni_headers", 344 ":surface_jni_headers",
350 ] 345 ]
351 sources = [ 346 sources = [
352 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", 347 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java",
353 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ", 348 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java ",
354 ] 349 ]
355 jni_package = "ui/gl" 350 jni_package = "ui/gl"
356 } 351 }
357 } 352 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698