OLD | NEW |
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 if (is_android) { | 6 if (is_android) { |
7 import("//build/config/android/rules.gni") | 7 import("//build/config/android/rules.gni") |
8 } | 8 } |
9 | 9 |
10 gl_binding_output_dir = target_gen_dir | 10 gl_binding_output_dir = target_gen_dir |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 "gl_fence.cc", | 51 "gl_fence.cc", |
52 "gl_fence.h", | 52 "gl_fence.h", |
53 "gl_fence_arb.cc", | 53 "gl_fence_arb.cc", |
54 "gl_fence_arb.h", | 54 "gl_fence_arb.h", |
55 "gl_fence_nv.cc", | 55 "gl_fence_nv.cc", |
56 "gl_fence_nv.h", | 56 "gl_fence_nv.h", |
57 "gl_gl_api_implementation.cc", | 57 "gl_gl_api_implementation.cc", |
58 "gl_gl_api_implementation.h", | 58 "gl_gl_api_implementation.h", |
59 "gl_image.cc", | 59 "gl_image.cc", |
60 "gl_image.h", | 60 "gl_image.h", |
61 "gl_image_android.cc", | 61 "gl_image_memory.cc", |
62 "gl_image_mac.cc", | 62 "gl_image_memory.h", |
63 "gl_image_shm.cc", | 63 "gl_image_ref_counted_memory.cc", |
64 "gl_image_shm.h", | 64 "gl_image_ref_counted_memory.h", |
| 65 "gl_image_shared_memory.cc", |
| 66 "gl_image_shared_memory.h", |
65 "gl_image_stub.cc", | 67 "gl_image_stub.cc", |
66 "gl_image_stub.h", | 68 "gl_image_stub.h", |
67 "gl_image_win.cc", | |
68 "gl_implementation.cc", | 69 "gl_implementation.cc", |
69 "gl_implementation.h", | 70 "gl_implementation.h", |
70 "gl_implementation_android.cc", | 71 "gl_implementation_android.cc", |
71 "gl_implementation_mac.cc", | 72 "gl_implementation_mac.cc", |
72 "gl_implementation_win.cc", | 73 "gl_implementation_win.cc", |
73 "gl_osmesa_api_implementation.cc", | 74 "gl_osmesa_api_implementation.cc", |
74 "gl_osmesa_api_implementation.h", | 75 "gl_osmesa_api_implementation.h", |
75 "gl_share_group.cc", | 76 "gl_share_group.cc", |
76 "gl_share_group.h", | 77 "gl_share_group.h", |
77 "gl_state_restorer.cc", | 78 "gl_state_restorer.cc", |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 } | 154 } |
154 if (use_x11) { | 155 if (use_x11) { |
155 sources += [ | 156 sources += [ |
156 "gl_context_glx.cc", | 157 "gl_context_glx.cc", |
157 "gl_context_glx.h", | 158 "gl_context_glx.h", |
158 "gl_context_x11.cc", | 159 "gl_context_x11.cc", |
159 "gl_glx_api_implementation.cc", | 160 "gl_glx_api_implementation.cc", |
160 "gl_glx_api_implementation.h", | 161 "gl_glx_api_implementation.h", |
161 "gl_image_glx.cc", | 162 "gl_image_glx.cc", |
162 "gl_image_glx.h", | 163 "gl_image_glx.h", |
163 "gl_image_x11.cc", | |
164 "gl_implementation_x11.cc", | 164 "gl_implementation_x11.cc", |
165 "gl_surface_glx.cc", | 165 "gl_surface_glx.cc", |
166 "gl_surface_glx.h", | 166 "gl_surface_glx.h", |
167 "gl_surface_x11.cc", | 167 "gl_surface_x11.cc", |
168 "gl_egl_api_implementation.cc", | 168 "gl_egl_api_implementation.cc", |
169 "gl_egl_api_implementation.h", | 169 "gl_egl_api_implementation.h", |
170 "$gl_binding_output_dir/gl_bindings_autogen_glx.cc", | 170 "$gl_binding_output_dir/gl_bindings_autogen_glx.cc", |
171 "$gl_binding_output_dir/gl_bindings_autogen_glx.h", | 171 "$gl_binding_output_dir/gl_bindings_autogen_glx.h", |
172 ] | 172 ] |
173 | 173 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 | 230 |
231 libs = [ "android" ] | 231 libs = [ "android" ] |
232 | 232 |
233 deps += [ | 233 deps += [ |
234 ":gl_jni_headers", | 234 ":gl_jni_headers", |
235 ] | 235 ] |
236 } | 236 } |
237 if (use_ozone) { | 237 if (use_ozone) { |
238 sources += [ | 238 sources += [ |
239 "gl_context_ozone.cc", | 239 "gl_context_ozone.cc", |
240 "gl_image_ozone.cc", | |
241 "gl_implementation_ozone.cc", | 240 "gl_implementation_ozone.cc", |
242 "gl_surface_ozone.cc", | 241 "gl_surface_ozone.cc", |
243 ] | 242 ] |
244 deps += [ | 243 deps += [ |
245 #"//ui/gfx/ozone", | 244 #"//ui/gfx/ozone", |
246 "//ui/ozone", | 245 "//ui/ozone", |
247 ] | 246 ] |
248 } | 247 } |
249 | 248 |
250 # TODO(GYP) enable this dependency once its written. | 249 # TODO(GYP) enable this dependency once its written. |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 generate_jni("gl_jni_headers") { | 337 generate_jni("gl_jni_headers") { |
339 deps = [ ":surface_jni_headers" ] | 338 deps = [ ":surface_jni_headers" ] |
340 forward_dependent_configs_from = [ ":surface_jni_headers" ] | 339 forward_dependent_configs_from = [ ":surface_jni_headers" ] |
341 sources = [ | 340 sources = [ |
342 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 341 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
343 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 342 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
344 ] | 343 ] |
345 jni_package = "ui/gl" | 344 jni_package = "ui/gl" |
346 } | 345 } |
347 } | 346 } |
OLD | NEW |