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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 "$gl_binding_output_dir/gl_bindings_autogen_glx.h", | 168 "$gl_binding_output_dir/gl_bindings_autogen_glx.h", |
169 ] | 169 ] |
170 | 170 |
171 configs += [ | 171 configs += [ |
172 "//build/config/linux:x11", | 172 "//build/config/linux:x11", |
173 "//build/config/linux:xcomposite", | 173 "//build/config/linux:xcomposite", |
174 "//build/config/linux:xext", | 174 "//build/config/linux:xext", |
175 ] | 175 ] |
176 | 176 |
177 deps += [ | 177 deps += [ |
178 "//ui/gfx/x", | 178 "//ui/gfx:gfx_x11", |
179 ] | 179 ] |
180 } | 180 } |
181 if (is_win) { | 181 if (is_win) { |
182 sources += [ | 182 sources += [ |
183 "gl_context_wgl.cc", | 183 "gl_context_wgl.cc", |
184 "gl_context_wgl.h", | 184 "gl_context_wgl.h", |
185 "gl_egl_api_implementation.cc", | 185 "gl_egl_api_implementation.cc", |
186 "gl_egl_api_implementation.h", | 186 "gl_egl_api_implementation.h", |
187 "gl_surface_wgl.cc", | 187 "gl_surface_wgl.cc", |
188 "gl_surface_wgl.h", | 188 "gl_surface_wgl.h", |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 | 303 |
304 if (is_android) { | 304 if (is_android) { |
305 generate_jni("gl_jni_headers") { | 305 generate_jni("gl_jni_headers") { |
306 sources = [ | 306 sources = [ |
307 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", | 307 "../android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java", |
308 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", | 308 "../android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java
", |
309 ] | 309 ] |
310 jni_package = "ui/gl" | 310 jni_package = "ui/gl" |
311 } | 311 } |
312 } | 312 } |
OLD | NEW |